ELB & ASG Flashcards
What is Vertical Scalability?
Means increasing the size of an instance.
Example: 4 GB RAM instance to 8 GB RAM instance.
What is Horizontal Scalability?
Means increasing the number of instances / systems for your application.
Example: Having a single 4 GB RAM instance and then spinning up three more 4 GB RAM instances.
What is High Availability?
High Availability means running your application / system in at least 2 availability zones.
Define Scalability.
The ability to accommodate a larger workload by scaling up or scaling out.
Define Elasticity.
The ability for a system to scale based on load.
Define Agility.
The ability to reduce the time to make resources available to users (minutes).
What is a load balancer?
Servers that forward internet traffic to multiple servers downstream.
Why use a load balancer?
Name at least 3 points.
Spread load across multiple downstream instances.
Expose a single point of access (DNS) to your application.
Seamlessly handle failures of downstream instances.
Do regular health checks to your instances.
Provide SSL termination for your websites.
HA across zones.
What is an ELB (Elastic Load Balancer)?
A managed load balancer.
What are the 3 types of load balancers offered by AWS?
Application Load Balancer
Network Load Balancer
Classic Load Balancer
What is an Auto Scaling Group (ASG)?
Allows you to create and get rid of servers very quickly based on load.
What are the 5 goals of an Auto Scaling Group?
- Scale out to match increased load
- Scale in to match decreased load
- Ensure we have a min./max. # of machines
- Auto register new instances to a load balancer
- Replace unhealthy instances
Which AWS offered Load Balancer should you use to handle hundreds of thousands of connections with low latency?
A Network Load Balancer can handle millions of requests per second with low-latency. It operates at Layer 4, and is best-suited for load-balancing TCP, UDP, and TLS traffic with ultra high-performance.
Changing an EC2 Instance Type from a t3a.medium to a t3a.2xlarge is an example of?
Vertical scaling.
What can you use to handle quickly and automatically the changing load on your websites and applications by adding compute resources?
An Auto Scaling Group (ASG)