liveBook · Manning

Cloud elasticity

As explained in Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

Elasticity is the ability of a system to increase or decrease resource capacity in response to changing demand.

Cloud elasticity is the ability to increase or decrease resource capacity as demand changes. On AWS, on-demand scaling reduces the need to purchase infrastructure for uncertain future capacity. section 17.0

Elasticity applies to both growth and reduction: an application can scale from one EC2 instance to thousands, expand storage from gigabytes to petabytes, and remove unused capacity when demand falls. section 17.0

AWS implements elastic compute capacity with:

  • Auto Scaling groups, which manage a fleet of similar EC2 instances. section 17.0
  • Scaling policies, which adapt the fleet size to the system's current load. section 17.0

A web shop's changing traffic

A web shop may need more instances during the day, on weekdays, or before Christmas, then remove capacity at night, on weekends, or after seasonal demand declines. section 17.0

Figure 17.1 Typical traffic patterns for a web shop

Use the traffic-pattern figure to compare recurring demand with the capacity changes elasticity enables. section 17.0

How Amazon Web Services in Action, Third Edition: An in-depth guide to AWS covers it

How deep it goes
Explains the motivation and AWS implementation with EC2 Auto Scaling groups and policies, without detailing policy configuration.
Examples
Uses a web shop's daytime, weekend, weekday, and seasonal traffic to illustrate adding and removing EC2 capacity.
What you can do after
Operate/configure EC2 Auto Scaling groups and scaling policies to adjust a virtual-machine fleet to current demand.
How it connects
Connects cloud elasticity with capacity planning, EC2 instances, Auto Scaling groups, scaling policies, and traffic patterns.

Also explained in

Compare how 4 books explain cloud elasticity →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Amazon Web Services in Action, Third Edition: An in-depth guide to AWS. The section links point to the parts of the book it draws on.