Elastic Load Balancing & Auto Scaling Groups Flashcards
1
Q
Scalability
A
- App/system can handle greater loads
- Accommodate larger load by making the hardware stronger (scale up), or adding nodes (scale out)
2
Q
Vertical Scalability
A
Increase the size of the instance
3
Q
Horizontal Scalability
A
Increase number of instances / systems
4
Q
High Availability
A
- Associated with Horizontal Scalability
- Run in at least two AZs
- Survive a data center loss/disaster
5
Q
Elasticity
A
- Sone “auto-scaling” so the system can scale based on the load
- “cloud-friendly”
- pay-per-use
- match demand
- Optimize costs
6
Q
Agility
A
- Not related to scalability
- New resources are only a click away
- Reduce time to make those resources available from weeks to minutes
7
Q
Load Balancing
A
Server forwards internet traffic to multiple servers (EC2 Instances) down stream
8
Q
Why use a Load Balancer
A
- Spread load
- Expose a single point of access
- Seamlessly handle failures
- Do regular health checks
- Use across AZ
9
Q
Elastic Load Balancer use case
A
- Managed service AWS will:
Guarantee it will be working
Take care of upgrades, maintenance, high availability
Provide a few configuration knobs - Cost less to setup than your own, and with much less effort.
10
Q
Types of Elastic Load Balancers
A
- Application -Layer 7
- Network (ultra-high performance, TCP/UDP) - Layer 4
- Gateway - Layer 3
- Classic (retired 2023) - Layer 4 & 7
11
Q
Application Load Balancer
A
- HTTP / HTTPS
- gRPC
- Layer 7
- HTTP routing features
- Static DNS (URL)
12
Q
Network Load Balancer
A
- TCP / UDP
- High performance
- Static IP with Elastic IP
13
Q
Gateway Load Balancer
A
- GENEVE Protocol on IP Packets
- Layer 3
- Route traffic to firewalls managed on EC2 Instances
- Routes to 3rd party security virtual appliances
14
Q
Auto Scaling Groups
A
- Add/Rem EC2 instances with volume
- Have a min/max # of machines
- Auto reg/dereg instances to load balance
- Replace unhealthy instances
- Cost Saving, run at optimal capacity
15
Q
Manual Scaling
A
Update size of ASG manually