This article describes how to deploy Versa Director on AWS
Prerequisite
§ Should have knowledge on AWS
Topology
Configuration
- Login to the AWS Console, it will navigate to the dashboard. Before deploying EC2 instance , we need to create the VPC.
- For VPC Creation, Select the services at left end top most corner, Search VPC > Choose VPC.
- Select the region where we want to deploy the VPC
- click on Launch VPC Wizard.
- Select the VPC based on topology. Here we are using Single Public Subnet.
- Once the VPC type is selected , it will create the VPC and will show below message, click OK to proceed further.
- Next step is to create the subnet , which will used for internetworking and for management. In VPC Dashboard >select Subnets >click on create subnet
- Select the Name Tag of the subnet and VPC which we created earlier and choose availability zone and IPV4 address range>click on create.
- Create at least 3 subnets
- Management subnet
- Control subnet
- Internal control subnet
- Once subnet is created, it will be shown as below
- Select the created subnet, and click on edit route table association.
- Add New default route to connect to internet.
- Go to Security Groups and create the security group.
- Once Security group is created , Select the created Security group>click on edit rules>allow all created subnets and port required for Versa Headend deployment.
Here is example of inbound rule for allowing required port.
- Allowing SSH
- Allowing BGP-IPSEC
- Outbound rules should allow all.
- To create Versa Director , we need to launch EC2 instance, Click on Services>select EC2.
- Click on launch instance
- Select the AMI from My AMI
- After selecting the AMI>Choose appropriate instance type (It is recommended to use C4-XLarge or higher compute type)
- Select the VPC and subnet in network and subnet.
- Choose the storage size and select option delete on termination.
- For login purpose we required key-pair, enter the key and value select the instance.
- Select the security group which was created during VPC creation.
- Before launching the EC2 instance , please review all parameter.
- Click on Launch>dialog box will open>Create a new key pair>download the file and save it locally and select Launch Instances
- Once EC2 instance created , it will display below message
- Go to newly created instance and edit the name for identification purpose.
- Public IP address is allocated, after the Initialization
- There are different ways to connect to this instance. Select EC2 instance>click on connect, it will display all option for login.
- Login via putty on EC2 instance:
- Open putty Key Generator>load the key-pair.pem>click on load>change to all files >select key-pair.pem.
- Once it is loaded, click on save private key>save the file.
- Open putty and select auth browse the <Key-pair>.ppm file and enter public ip address/dns public add of EC2 instance.
- Next step is to add more network interface, By default EC2 has one interface , we need to add more to connect with control network and to internet.
- Select the VPC, Subnet and Security group.
- Before adding interface, we need to stop the Instance and add the interface.
- Select the instance>right click on it>select the networking and attach network interface.