3.13 Ensure Web 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 <web_tier_elb> --listeners _<listener_config>_ --subnets <web_tier_elb_subnet1> <web_tier_elb_subnet2> --security-groups <web_tier_elb_security_group>

* Attached load balancer from previous steps to autoscaling group:

aws autoscaling attach-load-balancers --load-balancer-names <web_tier_elb> --auto-scaling-group-name <web_tier_autoscaling_group_name>

See Also


Item Details


References: 800-53|CM-8

Plugin: amazon_aws

Control ID: fd444199426925834451f15a6293185a7516b1308e1743cb7b771d8b865979d4