Basic ELB

1. Launch second EC2 instance

Naming the first EC2 instance Web Server 1 cloud.vn

Click Action / Image & templates / Launch more like this cloud.vn

Click Launch cloud.vn

Launch instances cloud.vn

Launching… cloud.vn

Naming Web Server 2 cloud.vn

The Web Server 2 is up. cloud.vn

Try to access the website by using the public IP address cloud.vn

2. Create an Elastic LB

On the EC2 dashboard, click on Load Balancers / Click Create Load Balancer cloud.vn

Click Create on HTTP/HTTPS cloud.vn

Enter the name of the ELB. Eg: elb-demo cloud.vn

Select the Availability Zones cloud.vn

Click Next: Configure Security Settings cloud.vn

Click Next: Configure Security Groups cloud.vn

Click Select an existing security group / Your default security group / Click Next: Configure Routing cloud.vn

Configure Target Group

Name: demo-tg

Click Next: Register Targets cloud.vn

Select two EC2 instances and click Add to registered cloud.vn

Click Next: Review cloud.vn

Click Create cloud.vn

cloud.vn

Provisioning… cloud.vn

Copy DNS Name and try to open from your web browser cloud.vn

Basic website with local hostname on the content by using userdata. cloud.vn

It is randomly to switch between two EC2 instances. cloud.vn

Target Groups demo-tg cloud.vn

Targets cloud.vn Congratulations! You have created the Elastic Load Balancer successfully.