Load Balancers / High Availability 101 Flashcards
At a very high level, what does a Load Balancer do?
Balance your incoming request load (network or otherwise) across web servers / applications
What are the 3 types of Load Balancers offered by AWS?
- Application Load Balancers
- Network Load Balancers
- Classic Load Balancers
What does ALB stand for?
Application Load Balancer
What does NLB stand for?
Network Load Balancer
What does an Application Load Balancer do?
- Best suited for load balancing HTTP/HTTPS traffic
- application-aware (e.g. can sense when you change languages)
- you can create advanced request routing, sending specific requests to specific web servers.
What does TCP stand for?
Transmission Control Protocol
What does a Network Load Balancer do?
- best-suited for load balancing TCP traffic where extreme performance is required
- capable of handling millions of requests per second, while maintaining ultra-low latencies
At what layer do ALBs operate?
Layer 7
At what layer do NLBs operate?
Layer 4
What are Classic Load Balancers?
- Legacy Elastic Load Balancers
- You can load balance HTTP/HTTPs Apps
- Has some Layer 7 features and you can use some Layer 4 features
What will your load balancer return if your application is having issues?
A 504 Gateway timeout
What is the purpose of an X-Forwarded-For header?
If you need the IPv4 address of your end user
What are the two report out statuses for ELBs?
- InService
- OutofService
Do you get an IP address for your Load Balancers?
No; Load Balancers have their own DNS name
What do Sticky Sessions do?
They allow you to bind a user’s session to a specific EC2 instance, so that all requests from the user during the session are sent to the same instance.