Skip to Content
Mobile DevOps
book

Mobile DevOps

by Rohin Tak, Jhalak Modi
March 2018
Intermediate to advanced content levelIntermediate to advanced
376 pages
7h 25m
English
Packt Publishing
Content preview from Mobile DevOps

Elastic Load Balancer

An ELB automatically distributes a load/traffic across multiple instances in a part of different availability zones (AZs). The member instances can be part of single AZ or multiple AZs. An ELB becomes the single point of contact for the DNS and the end users. An ELB also monitors the instance via a health check; if the instance is healthy, then only the requests will be routed to the instance.

As we have already created instances, we will create an ELB using CLI. The command to do so is as follows:

$ aws elb create-load-balancer --load-balancer-name my-test-elb --listeners "Protocol=HTTP,LoadBalancerPort=80,InstanceProtocol=HTTP,InstancePort=80" --availability-zones us-west-2a us-west-2b

Add the newly created instance ...

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

Implementing Modern DevOps

Implementing Modern DevOps

David Gonzalez, Danny Varghese
Java Security

Java Security

Scott Oaks

Publisher Resources

ISBN: 9781788296243Supplemental Content