This article describes how to deploy Versa Director on AWS


 Prerequisite

§  Should have knowledge on AWS 


 

Topology

 

cid:image020.png@01D4B1DD.9A738DE0

 

Configuration

  1. Login to the AWS Console, it will navigate to the dashboard. Before deploying EC2 instance , we need to create the VPC.

 

cid:image012.jpg@01D4B24B.352D7590 

 

  1. For VPC Creation, Select the services at left end top most corner, Search VPC > Choose VPC.

 

cid:image013.jpg@01D4B24B.352D7590

 

 

  1. Select the region where we want to deploy the VPC

 

SNAGHTMLf8ab0e

 

 

  1. click on Launch VPC Wizard.

 

cid:image015.jpg@01D4B24B.352D7590

 

 

  1. Select the VPC based on topology. Here we are using Single Public Subnet.

 

cid:image007.png@01D4B19F.99F08460

  1. Once the VPC type is selected , it will create the VPC and will show below message, click OK to proceed further.

 

SNAGHTMLfd9b37

 

  1. Next step is to create the subnet , which will used for internetworking and for management. In VPC Dashboard >select Subnets >click on create subnet

 

SNAGHTML1294bf8

 

 

  1. Select the Name Tag of the subnet and VPC which we created earlier and choose availability zone and IPV4 address range>click on create.

 

cid:image018.jpg@01D4B24B.352D7590

  1. Create at least 3 subnets
  • Management subnet
  • Control subnet
  • Internal control subnet

 

cid:image030.png@01D4B1B0.22562B60

 

  1. Once subnet is created, it will be shown as below

 

cid:image019.png@01D4B1AC.4C011E60

 

  1. Select the created subnet, and click on edit route table association.

 

cid:image029.png@01D4B1B0.E6DADAD0

 

  1. Add New default route to connect to internet.

 

cid:image036.png@01D4B1B0.E6DADAD0

 

  1. Go to Security Groups and create the security group.

 

cid:image035.jpg@01D4B24B.352D7590

 

 

  1. 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.

 

cid:image031.png@01D4B1AC.FD9070E0

 

 

Here is example of inbound rule for allowing required port.

  • Allowing SSH

cid:image032.png@01D4B1AD.548E56A0

  • Allowing BGP-IPSEC

 

cid:image033.png@01D4B1AD.C259A360

  • Outbound rules should allow all.

cid:image034.png@01D4B1AD.C259A360

 

  1. To create Versa Director , we need to launch EC2 instance, Click on Services>select EC2.

 

cid:image038.png@01D4B1B3.F88EAFB0

 

 

  1. Click on launch instance

 

cid:image039.png@01D4B1B4.A8BD87D0

 

 

  1. Select the AMI from My AMI

 

cid:image040.png@01D4B1B4.A8BD87D0

 

  1. After selecting the AMI>Choose appropriate instance type (It is recommended to use C4-XLarge or higher compute type)

 

cid:image041.png@01D4B1B5.10189370

 

 

cid:image044.jpg@01D4B24B.352D7590

 

  1. Select the VPC and subnet in network and subnet.

 

 

SNAGHTML18feaa9

 

  1. Choose the storage size and select option delete on termination.

 

cid:image050.png@01D4B1B7.2C7ABDC0

 

  1. For login purpose we required key-pair, enter the key and value select the instance.

 

cid:image051.png@01D4B1B7.2C7ABDC0

 

  1. Select the security group which was created during VPC creation.

 

cid:image052.png@01D4B1B7.2C7ABDC0

 

  1. Before launching the EC2 instance , please review all parameter.

 

 

cid:image048.png@01D4B1B7.BF7F27A0

 

  1. Click on Launch>dialog box will open>Create a new key pair>download the file and save it locally and select Launch Instances

 

cid:image049.png@01D4B1B7.BF7F27A0

 

  1. Once EC2 instance created , it will display below message

 

cid:image053.png@01D4B1B8.D6CA2DA0

 

  1. Go to newly created instance and edit the name for identification purpose.

 

cid:image054.png@01D4B1B8.D6CA2DA0

 

cid:image055.png@01D4B1B8.D6CA2DA0

 

  1. Public IP address is allocated, after the Initialization

 

cid:image056.png@01D4B1B8.D6CA2DA0

 

  1. There are different ways to connect to this instance. Select EC2 instance>click on connect, it will display all option for login.

 

 

cid:image057.png@01D4B1B8.D6CA2DA0

  1. 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.

 

cid:image063.png@01D4B1D3.4D000610

 

  • Open putty and select auth browse the <Key-pair>.ppm file and enter public ip address/dns public add of EC2 instance.

 

cid:image062.png@01D4B1D2.9A976A90

 

  1. 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.
  2. Select the VPC, Subnet and Security group.

 

cid:image058.png@01D4B1B9.99011C80

 

  1. Before adding interface, we need to stop the Instance and add the interface.

 

cid:image059.png@01D4B1BA.647D8C90

 

  1. Select the instance>right click on it>select the networking and attach network interface.

 

cid:image060.png@01D4B1BA.647D8C90

 

 

cid:image061.png@01D4B1BA.647D8C90