Once you've created an Amazon Elastic Load Balancer, follow these steps to add Amazon EC2 instances to it.
- Log in to the Amazon Web Services Management Console and click EC2.
- Click Load Balancers.
The Load Balancers section of the console is divided into upper and lower panes. When you choose a load balancer from the upper pane, details about the load balancer appear in the lower pane.
- In the upper pane, click the box next to your load balancer.
- In the lower pane, click the Instances tab.
- Click Edit Instances.
- Check the boxes next to the instances you want to add to your load balancer and click Save.
It's recommended that 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 load balancer distributes traffic equally across availability zones.