ELB Implementation
Purpose
To implement a elastic load balancer for 2 web servers
Steps
Creating 2 EC2 instances (how to), and set different contents of index.html for each web server.
Create a load balancer
On EC2 Dashboard page -> left side "LOAD BALANCING" -> "Load Balancers" -> "Create Load Balancer" -> select "Application Load Balancer"
Give name and set at least 2 Availability Zones.
Configure Security Group
Configure Routing, give target name and "set Advanced health check settings"
Register Targets, add instances to for load balancing.
Waiting for the state of ELB become "active"
Browsing to the DNS name of ELB and refresh the page to the result.
Last updated