Skip to Main Content
Amazon EC2 Cookbook
book

Amazon EC2 Cookbook

by Sekhar Reddy, Aurobindo Sarkar
November 2015
Intermediate to advanced content levelIntermediate to advanced
194 pages
4h 16m
English
Packt Publishing
Content preview from Amazon EC2 Cookbook

Configuring Elastic Load Balancing

The Elastic Load Balancer (ELB) works within a single AWS region. You can scale both horizontally (adding more EC2 instances) and vertically (increasing EC2 instance size) within AWS, but it's best practice to scale horizontally. It can, however, load balance across several instances in multiple availability zones. If you don't want to load balance instances across multiple availability zones, then you can also disable it. If we want to load balance the instances across multiple regions, then we have to use Route 53 (instead of an ELB). ELB continuously checks the health of the instances, and only routes traffic to healthy instances. The health check frequency and the URL parameters are configurable.

If a healthy ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming Amazon EC2

Programming Amazon EC2

Jurg van Vliet, Flavia Paganelli
AWS SysOps Cookbook - Second Edition

AWS SysOps Cookbook - Second Edition

Eric Z. Beard, Rowan Udell, Lucas Chan

Publisher Resources

ISBN: 9781785280047Supplemental Content