Sie sind auf Seite 1von 11

Elastic Load Balancing (ELB)

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Elastic Load Balancing
Put simply, Elastic Load
Balancing automatically
distributes incoming application
traffic across multiple Amazon
EC2 instances.

Application scalability
Application availability
Cost-effective

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
What is an ELB?
Elastic Load Balancing Mechanisms
DNS round-robin resolution spreads
traffic between all ELB endpoint IPs
across all enabled AZs.

Each ELB endpoint IP spreads HTTP(S)


requests between instances in the
same AZ.

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Elastic Load Balancing Mechanisms
DNS RR spreads inbound TCP
connections between ELB endpoint’s
IPs

TCP listeners distribute TCP


connections between back end
instances in the same AZ

HTTP listeners spread HTTP requests in


same TCP connection between all back
ends in same AZ

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
How does ELB scale resources?
By adding more IPs behind the ELB’s
endpoint DNS.

With instances run from CloudWatch


alarms + AutoScaling triggers

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Additional features?
SSL termination for TCP and HTTP

SSL encryption to backend instances

Sticky HTTP sessions

HTTP header pass-through, adding X-


Forwarded-For, and X-Proto

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
What is the ELB HealthCheck?
HealthCheck is either:

•  A TCP connection

•  An HTTP request receiving status 200

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
What CloudWatch metrics are available?
•  RequestCount
•  Latency
•  HealthyHostCount
•  UnHealthyHostCount

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Only Pay for What You Use
You are charged for each hour or partial hour your
Elastic Load Balancer is running and for each GB of
data processed through your Elastic Load Balancer.

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
For more information about
Elastic Load Balancing…
"   http://aws.amazon.com/elasticloadbalancing/

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.

Das könnte Ihnen auch gefallen