Using Elastic Load Balancers
One of the key elements of running applications on an IAAS platform is to ensure that work can be balanced between many nodes. This offers an increased resiliency, but also allows you to offset one of the weaknesses of an IAAS platform, performance issues caused by contention. Unless you have a compelling reason not to, you should use load balancing for any production instance of an application.
This recipe shows that you how to set up an Elastic Load balancer group that directs web traffic between two different nodes.
For this recipe, you will require an AWS account and at least a single EC2 instance.
How to do it…
The following steps show you how to create a new EC2 Elastic Load Balancer and assign both ...