3.14 Ensure App Tier Auto-Scaling Group has an associated Elastic Load Balancer


Elastic Load Balancing automatically distributes incoming application traffic across multiple Amazon EC2 instances within a VPC.

It enables greater levels of fault tolerance in your applications, seamlessly providing the required amount of load balancing capacity needed to distribute application traffic across 1 or more Availability Zones within a VPC.

Elastic Load Balancing must be integrated with Auto Scaling Groups to ensure that you have availability of compute resources in the event of a failure.
Integrating Auto Scaling Groups with an Elastic Load Balancer will help provide high availability and back-end EC2 instance scaling.

Through Auto-Scaling Group configuration you can define:

* minimum / maximum number of EC2 instances to be launched by the Auto-Scaling Group
* Availability Zones / subnets used


Using the Amazon unified command line interface:

* List existing load balancers:

aws elb describe-load-balancers --query 'LoadBalancerDescriptions[*].{ELBName:LoadBalancerName}'


* Create new load balancer:

aws elb create-load-balancer --load-balancer-name <app_tier_elb> --scheme internal --listeners <_listener_config_> --subnets _<app_tier_subnet1> <app_tier_subnet2>_ --security-groups <app_tier_elb_security_group>

* Attached load balancer from previous steps to autoscaling group:

aws autoscaling attach-load-balancers --load-balancer-names <app_tier_elb> --auto-scaling-group-name <app_tier_autoscaling_group_name>

See Also


Item Details


References: 800-53|CM-8

Plugin: amazon_aws

Control ID: 991deb755f038c3bb291e2f9e76e6e281448a48c092e7470115804f10ee5dbd8