High Availability Architecture Flashcards
What are the 3 different types of Load Balancer in AWS?
The 3 different types of Load Balancer are:
- Application Load Balancer
- Network Load Balancer
- Classic Load Balancer
What are Application Load Balancers best suited for?
Application Load Balancers are best suited for the load balancing of http and https traffic
What are Network Load Balancers best suited for?
Network Load Balancers are best suited for the load balancing of TCP traffic where extreme performance is required.
What are Classic Load Balancers best suited for?
Classic Load Balancers are best suited for when costs need to be kept low.
What would you do if the ELB (Classic) responds with a 504 error?
If your ELB has a 504 error this means the application is having issues. This could be either the web server or db layer.
What is X-forwarded-for?
X-forwarded-for is used to identify the original IPv4 address of the client after the traffic has come through an ELB
How do ELBs validate whether an instance is healthy or not?
ELBs conduct health checks to define whether instances are reported as Inservice or OutofService
Are ELBs given default IP addresses?
ELBs do not have IP addresses instead they are given their own DNS names.
What are sticky sessions?
Sticky sessions allow you to bind a users session to a specific EC2 instance. This ensures that responses to user requests are sent back to the same user.
With which type of ELBs would you use sticky sessions?
You would use sticky sessions with Classic Load Balancers
What would you do if one of your instances behind a Classic Load Balancer was not receiving any traffic?
If one instance was receiving no traffic then you should disable sticky sessions.
What is cross-zone load balancing?
Cross-zone load balancing is the ability to balance traffic across regions.
What are Path Patterns?
Path Patterns is when you forward-on traffic based on the url path. So for example, one type of request can go to one target group and another type of request go to another.
What is auto-scaling?
Auto Scaling monitors your applications and automatically adjusts capacity to maintain steady, predictable performance at the lowest possible cost.
The service provides a simple, powerful user interface that lets you build scaling plans for resources including Amazon EC2 instances and Spot Fleets.
What are the 3 components of auto-scaling?
The 3 components of auto-scaling are:
- Groups
- Configuration Templates
- Scaling Options
What are the auto-scaling options?
Auto-scaling options are:
- Maintain current instance levels at all times
- Scale manually
- Scale based on a schedule
- Scale based on demand
- Use predictive scaling