Elastic Load Balancing & Auto Scaling Groups Section Flashcards
Scalability
Abillity to handle a large load by making the hardware stronger (scale up) or by adding nodes (scale out).
There are two types of Scalability:
1. Vertical
2. Horizontal
(Page 113 & 118)
Vertical Scalability?
Increase de SIZE OF THE INSTANCE.
It’s limited by Hardware.
It’s not common in distributed systems
(Page 114)
Horizontal Scalability?
Increase THE NUMBER OF INSTANCES.
Implies Distributed Systems.
Common on Web and modern applications.
(Page 115)
High Availability?
Capacity to survive disasters.
To have a High UpTime of working.
In AWS, means to run your App on at least two different AZ.
Works well with Horizontal Scaling.
In Nute Shells: Run the same instance across multiple AZ.
(Page 117)
Auto scaling on AZ and Load Balancing across AZ are characteristics of High Availability on AWS?
YES
(Page 117)
Elasticity?
Depends on a Scalable System
This means that it (system) has the capacity of “auto-scale” according to the load.
(Page 118)
Agility?
The capacity of creating new IT resources is only one click away, for example.
How easy it’s to create new IT resources in few time.
Don’t get confused with SCALABILITY.
(Page 118)
Load Balancers?
The server that forwards internet traffic to multiple servers.
It provides a single DNS endpoint and HTTPS; handles failures, and checks the servers’ health where traffic is forwarded.
(Page 119 & 120)
In AWS, is AZ available on Load Balancer?
Yes, you can implement an LB along several AZ.
(Page 120)
ELB?
Elastic Load Balancer (ELB) that is a Managed Load Balancer.
Warranty Elasticity and Scalability.
Helps to get low costs, reducing the amount of EC2 Instances according to the workload.
(Page 121)
What are the three types of ELB?
Application LB
Network LB
Classic/Hybrid LB, which is deprecated
(Page 121)
Enum from higher to lower the three different LB according to their performance
- Network LB (Layer 4), used for High performance
- Application/HTTP LB (Layer 7)
- Classic LB, the slowest but work with layers 4 and 7.
(Page 121)
Auto Scaling Group (ASG)?
Perform the next actions according to the load:
- Add out (increase the number of instances) automatically.
- Add in (decrease the number of instances) automatically.
- Ensure having the minimum and maximum numbers of EC2 instances
- Register the EC2 into the LB.
- Replace unhealthy instances.
(Page 122)
What are the Scaling Strategies?
- Manual Scaling
- Dynamic Scaling by Simple/Step Scaling
- Dynamic Scaling by Target Tracking Scale
- Dynamic Scaling by Scheduling
- Predictive Scaling
(Page 125 & 126)
What is the ASG Manual Scaling Strategy?
Update the size of and ASG manually.
(Page 125)