What is ELB?
Elastic Load Balancing automatically distributes incoming application traffic across multiple targets, such as Amazon EC2 instances. This can be done across multiple AZs.
What are the 4 different types of ELB in AWS.
Describe ALB.
Application Load Balancer:
- Best suited for load balancing of HTTP and HTTPS traffic.
- They operate at Layer 7 and are application-aware.
- Intelligent Load Balancer
Describe NLB.
Network Load Balancer
- Operating at the connection level (Layer4)
Network Load Balancers are capable of handling millions of requests per
second, while maintaining ultra-low latencies.
- Performance Load Balancer
Describe CLB.
Classic/Test/Dev Load Balancer.
LB and health checks.
All AWS load balancers can be configured with health checks.
- Health checks periodically send requests to load balancers’ registered instances to test their status.
- The status of the instances that are healthy at the time of the health check is InService.
- The status of any instances that are unhealthy at the time of the health check is OutOfService. The load balancer performs health checks on all
registered instances, whether the instance is in a healthy state or an unhealthy state.
Describe Gateway Load Balancer
Choose a Gateway Load Balancer when you need to deploy and manage a fleet of third-party virtual appliances that support GENEVE. These appliances enable you to improve security, compliance, and policy controls.
What are the listeners in ALB?
How does Elastic Load Balancing work?
What are the target groups in ALB?
Each target group routes requests to one or more registered targets, such as EC2 instances, using the protocol and port number you specify.
What are the Limitations of ALB?
What are the listeners in NLB?
What is a TLS listener in NLB?
You can use a TLS listener to offload the work of encryption and decryption to your load balancer so your applications can focus on their business logic. If the listener protocol is TLS, you must deploy exactly one SSL server certificate on the listener.
What are some use cases of NLB?
How the X-Forwarded-For request header is used in CLB?
When traffic is sent from a load balancer, the server access logs contain the IP address of the proxy or load balancer only.
To see the original IP address of the client, the X-Forwarded-For request header is used.
What are the Gateway Timeouts in CLB?
If your application stops responding, the Classic Load Balancer responds with a 504 error.
This means the application is having issues. This could be either at the web server layer or the database layer.
What Are Sticky Sessions?
Classic Load Balancers route each request independently to the registered EC2 instance with the smallest load.
- Sticky sessions allow you to bind a user’s session to a specific EC2 instance.
- You can enable sticky sessions for Application Load Balancers as well,
but the traffic will be sent at the target group level.
What Is Deregistration Delay?
What are the main differences between Internet-Facing Load Balancers (ILBs) and Internal Load Balancers (ILBs) in AWS?
What is the recommended minimum subnet size for Amazon Elastic Load Balancers (ELBs) in AWS?
What is the minimum number of Availability Zones required for an Amazon Elastic Load Balancer (ELB) in AWS?
The minimum number of Availability Zones required for an ELB in AWS is Two. Multi-AZ configuration ensures high availability and fault tolerance.
What is Cross-Zone Load Balancing in AWS?
What limitation is associated with Classic Load Balancers (CLBs) in AWS for handling HTTPS traffic with multiple domains?
Can ALBs and NLBs in AWS have static IP addresses?