Load Balancers Flashcards
Load balancer that handles HTTP, HTTPS, TCP
Classic Load Balancer
Load balancer that handles HTTP, HTTPS, WebSocket
Application Load Balancer
Load balancer that handles TCP, UDP, TLS
Network Load Balancer
T/F Load Balancers can scale instantaneously
False
LB that is a great fit for micro services & container-based apps
ALB
Multiple HTTP apps across machines can be referred to as
Target Groups
ALB can route to ___ target groups
Multiple
ALB Health checks are at the ____ level
Target Group
To get true IP of the client from ALB, inspect this header
X-Forwarded-For
To get Port from ALB, inspect this header
X-Forwarded-Port
To get Proto from ALB, inspect this header
X-Forwarded-Proto
Use this load balancer to handle millions of request per second
NLB
Load balancer that has less latency than ALB
NLB
Load balancer used for extreme performance, TCP or UDP traffic
NLB
Way to have same client always redirected to the same instance behind load balancer
Stickiness
Load Balancer Stickiness works for ___ & ___ load balancers
Classic; Application
Load balancer instance distributes evenly across all registered instances in all AZ
Cross-Zone
CLB has Cross-Zone load balancing ___ by default
Disabled
ALB has Cross-Zone load balancing _____
Always On
NLB has Cross-Zone load balancing ___ by default
Disabled
Solves the problem of loading multiple SSL certificates onto one web server
Server Name Indication
SNI works on ___ & ___ load balancers
ALB; NLB
Time to complete “in-flight requests” while the instance is de-registering or unhealthy
Connection Draining
To update an ASG:
Provide new launch config/launch template
IAM roles attached to an ASG will:
Get assigned to EC2 instances
This type of scaling is an example of “I want the average ASG CPU to stay at around 40%”
Target Tracking Scaling
This type of scaling is an example of “When a CW alarm is triggered (CPU > 70%), then add 2 units”
Simple/Step Scaling
This type of scaling is an example of “Increase the min capacity to 10 at 5pm on Fridays”
Scheduled Actions Scaling