The following are the steps to deploy an Aamzon EC2 instance:
Procedure
- Access Amazon Web Services (AWS) using https://aws.amazon.com and log in using your AWS credentials.
- Go to the NSX Advanced Load Balancer page on AWS Marketplace. Click Continue to start the AMI deployment process.
- You can either perform a 1-Click launch or a Manual Launch via the EC2 console, API, or CLI.
- The subsequent steps discuss the Manual Launch (EC2 Console) process:
- Based on the deployment scale considerations, choose an appropriate instance type.
Note:
Starting with NSX Advanced Load Balancer 22.1.3, AWS IMDSv2 is supported for the deployment.
- Refer to the Deployment Considerations section for minimum requirements and recommendations.
- Select the appropriate VPC from the Network drop-down menu and select the network from the Subnet drop-down menu. This is the subnet in which the Controller will get the IP address for the management NIC.
- Also, select the Enable termination protection option.
- If installing with an IAM role instead of an AWS customer account key, select IAM role if you have created as explained in Credential Method. In this example, the IAM Role AviController-Refined-Role is used.
- Based on the deployment scale considerations, choose an appropriate instance type.
- In the Size (G/B) field, enter 128 to allocate 128 GB to the Controller instance, and go to the “Next:Tag Instance” option.
- Enter a name for this Controller instance and create a security group that allows traffic through the firewall, to allow communication between the Controller and the Service Engines (SEs). To know more, see Security Groups in AWS.
- Select SSD as the storage type. (This enhances the responsiveness of the Controller web interface).
- Review your EC2 instance, and click Launch.
- Select the Key Pair Settings and select Launch Instance.
- If you do not have key pair, create new key pair. After downloading the key pair, change the permissions to “400” (chmod 400 “.pem”) to do SSH.
- If you have key pair, select a key pair for AMI authentication.
- If you do not have key pair, create new key pair. After downloading the key pair, change the permissions to “400” (chmod 400 “.pem”) to do SSH.
- The deployment status of the NSX Advanced Load Balancer Controller EC2 instance into AWS is displayed. When the instance is ready (status as running), you can access the instance using a private or public IP address. Wait for all checks to pass before setting up the Controller.