Load Balancers Flashcards
What are the three types of load balancers?
Application Load Balancers
Network Load Balancers
Classic Load Balancers
What are the components of an Application Load Balancer?
Listener - Checks for connection requests.
Target group - collection of running target instances
Load Balancer - Point of concat for the clients
What are the properties of an ALB rule?
Target Group
Condition
Priority
ALB Health Checks are configure per:
Target Group
At what layer does an ALB operate?
7th
What bitmask is required for an ALB to scale properly?
/27
How many free IP addresses are required for an ALB to scale properly?
At least 8
What is the default idle timeout for an ALB?
60 seconds
What protocols are supported by an ALB listener?
HTTP/HTTPS
Are websockets supported by ALB?
Yes
What are the default ALB listener rules?
Default Action - If requests otherwise not routed
What are the ALB Rule Action Types
authenticate-cognito authenticate-oidc fixed-reponse forward redirect
Which ALB rule action sends request to a target group?
Forward
What ALB rule should be used for a custom http response
Fixed Response Rules
What are the ALB rule condition types?
host-header http-header http-request-method path-pattern query-string source-ip
What ALB rule condition should be used for filtering user agents?
http-header (user-agent header)
What are the 3 target types for an ALB target group
instance
ip
lambda
What kinds of IPs can you specify for ALB target groups with type IP?
The subnets of the VPC for the target group.
A bunch of RFC ips
NOT publicly routable IP addresses.
What ALB target group type can be used for scaling?
Instance IDs can be used with Auto scaling groups.
What is the default timeout for ALB to wait before deregistering a target?
300s
What is the default slow start (ie: delay before sending a share of the traffic) for a new target?
0 seconds
What is the default sticky cookie duration for an ALB?
1 day
What is the state of a deregistering target in ALB?
draining