Section 7: AWS Fundamentals: ELB + ASG Flashcards
What is ELB?
ELB (Elastic Load Balancer) is a managed load balancer. They are servers that forward traffic to multiple servers.
What are the v2 (new generation) Load Balancers?
Application Load Balancer (ALB) compatible with HTTP, HTTPS, WebSocket
Network Load Balancer (NLB) compatible with TCP, TLS, UDP.
What is the Load Balancer that allows to deal with TCP and UDP traffic to your instances?
Gateway Load Balancer (GWLB) which operates at layer 4 - IP Protocol
How many ways can ELBs can be set up?
- Internal (Private)
- External (Public)
What are Security Groups for ELBs?
- HTTP (80)
- HTTPS (443)
- Users will be able to hit Load Balancer with classic HTTP, HTTPS
- EC2 instances will only allow traffic from load balancer (security group)
What type of Load Balancer would you pick to handle millions of requests per second?
Network Load Balancer
Which Load Balancer should be chosen when is important to analyze the network traffic?
Gateway Load Balancer
Which Load Balancer has less latency (~100ms)?
Network Load Balancer.
Which Load Balancer has one static IP per Availability Zone?
Network Load Balancer.
What are target groups for Network Load Balancers?
Target groups are a group of EC2 instances.
Which Load Balancer uses the GENEVE protocol?
Gateway Load Balancer
Which port does the GENEVE protocol implement?
Port 6081
What are the target groups for Gateway Load Balancers?
- Group of EC2 instances
- IP Addresses (Must be private IPs).
What are Sticky Sessions?
Also known as Session Affinity, a client is always redirected to the same instance behind a load balancer. Available for Application Load Balancer and Network Load Balancer.
How Sticky Sessions are implemented?
Cookie is sent from client to load balancer. The cookie used for stickiness has an expiration date that can be controlled.