Now that we have taken a look at our load balancer options, we will create a simple application on EC2 instances and present it through a CLB.
Building an ELB for EC2 instances
Prerequisite
Before we start, we need to spin up two instances running Amazon Linux and put them in two availability zones. This way, we will demonstrate how to make an application highly available:
- We can follow the procedure to build an EC2 instance from the Building an EC2 instance in AWS section in Chapter 5, Managing Servers on AWS with Elastic Compute Cloud. Once created, we should see two instances running in two availability zones:
- We will also create a new security group to open port 80 on those instances, as we will be serving a simple...