Adding EC2 instances to an Elastic Load Balancer

Once you've created an Amazon Elastic Load Balancer (ELB), follow these steps to add EC2 instances to it.

Steps:
  1. Log in to the AWS Management Console and click Load Balancers.

    The Load Balancers section of the console is divided into an upper and lower panel. When you choose a load balancer from the upper panel, details about the load balancer appear in the lower panel.

  2. In the upper panel, check the box next to your load balancer.
  3. In the lower panel, click the Instances tab.
  4. Find the box titled Instances and look for a small plus/minus sign (+/-) icon in the upper right corner of this box (you may have to scroll to the right to see it). Click the icon.
  5. Check the boxes next to the instances you want to add to your load balancer and click Save.
TipTip:

It's recommended you add instances from a variety of availability zones. This way you still have a running instance if a zone becomes weakened or disabled for any reason. Amazon recommends maintaining the same number of instances in each availability zone because the ELB distributes traffic equally across availability zones.


1/30/2013