Configure an External Load Balancer in AWS
Prerequisites
- Create or update Security Group polices of GigaVUE Cloud Suite components. Refer to Security Group Security Group topic for detailed information.
- Create or update routes in various VPCs across participating mirrored AWS accounts so that all mirrored account VPCs can connect to the target account VPC where the AWS Network Load Balancer is deployed. Refer to Amazon VPC for more information.
Note: The target account VPC is considered as the centralized VPC by GigaVUE-FM and the connections towards all other mirrored account VPCs either through 1 : 1 VPC peering or via 1 : M transit gateway (that connects all participating VPCs across mirrored AWS accounts). VPC peering has no bandwidth limitation and no additional cost within the same region (recommended). Transit gateway costs more and it also has a limitation of 50 Gbps burst per VPC.
- Create or update existing IAM role for GigaVUE-FM in the centralized VPC. Additionally trust relationship needs to be created between the mirrored and the target account for GigaVUE-FM to execute the above permissions at the IAM role level. Refer to AMI and Permissions section for detailed information.
Perform the following steps to configure an external load balancer in AWS:
- In the Target Groups page, click Create target group and the Create target group wizard appears. Enter or select the following values and create the target group.
- Select IP addresses as the target type.
- Enter a name for the target group.
- Select the UDP as the Protocol and 4789 as the port number.
- Select the VPC of your target group where the targets are registered.
- Select TCP as the Health check protocol in port number 8889 with 10 seconds health check interval.
Note: For detailed instructions, refer to Create a target group for your Network Load Balancer topic in the AWS Elastic Load Balancing document.
- Navigate to the Load Balancer page and click Create Load Balancer the Create elastic load balancer wizard appears. Enter or select the following values and create the load balancer.
- Select Network Load Balancer as the load balancer type and click Create.
- Enter a name for the Network Load Balancer.
- Select Internal load balancer as the Scheme.
- Select the VPC for your targets (GigaVUE V Series Nodes).
- Select the regions/zones and the corresponding subnets.
- Select UDP as the Listener Protocol with Port number 4789.
Note: For detailed instructions, refer to Create a Network Load Balancer topic in the AWS Elastic Load Balancing document.
- Navigate to the Launch Templates page and click Create launch template the Create launch template wizard appears. Enter or select the following values and create the launch template.
- Enter a name for the launch template.
- Select the AMI of the GigaVUE V Series node.
- Select t3a.xlarge as the instance type.
- Select a Key pair for the instance.
- Select VPC as the Networking platform and don't specify the security group.
- Add 2 Network Interfaces for the GigaVUE V Series Node with device index as 0 and 1 (mgmt and data interface respectively) and for the interfaces, select the appropriate security group.
Note: For detailed instructions, refer to Creating a launch template for an Auto Scaling group topic in the AWS EC2 Auto Scaling document.
- Navigate to the Auto Scaling groups page, and click Create an Auto Scaling group the Create Auto Scaling group wizard appears. Enter or select the following values and create the Auto Scaling group.
- Enter a name for the Auto Scaling group.
- Select an existing launch template.
- Select the VPC and subnet.
- In the Group size section, enter the value for minimum and maximum capacity.
- In the Scaling policies section, select Target tracking scaling policy and choose Average network in (bytes) for the Metric type with 1000000000 (bytes) as target value and 300 seconds warm up value.
- (optional) Add Tags to the instances.
Note: For detailed instructions, refer to Creating an Auto Scaling group using a launch template topic in the AWS EC2 Auto Scaling document.
In the Instances page, you can view the GigaVUE V Series Node instance deployed by the load balancer and use the same