Elastic Load Balancing (ELB) Flashcards
What is Elastic Load Balancing?
Elastic Load Balancing automatically distributes incoming traffic across multiple targets, such as Amazon EC2 instances. This can be done across multiple AZs.
What are the three different types of Load Balancers in ELB?
- Application Load Balancer
- Network Load Balancer
- Classic Load Balancer
What is Application Load Balancing in ELB?
Load balancing of HTTP/S traffic, operating at Layer 7 and are application aware.
Intelligent load balancing
What is Network Load Balancing in ELB?
Operates at the connection level (Layer 4). Network Load Balancers are capable of handling millions of requests per second while maintaining ultra-low latencies.
Performance load balancing
What is Classic Load Balancing in ELB?
Legacy load balancers (which operate between Layer 4 and Layer 7). You can balance HTTP/S applications and use Layer 7-specific features, such as X-Forwarded and sticky sessions.
Classic/dev/test load balancing
Can AWS Load Balancing be configured with health checks?
Yes, health checks periodically send requests to load balancers’ registered instances to test their status. The load balancer performs the health check on all registered instances, whether the the instance is in a health state or an unhealthy state. The load balancer only routes request to healthy instances; it will resume routing request to the instance once it has been restored to a healthy state.
What is the status of instances that are healthy at the time of a health check in ELB?
InService
What is the status of an instance that is unhealthy at the time of a health check in ELB?
OutOfService
What is Layer 7 load balancing?
An Application Load Balancer functions at the application layer – the seventh layer of the Open Systems Interconnection (OSI) model. After the load balancer receives a request, it evaluates the listener rules in priority order to determine which rule to apply, and then selects a target from the target group for the rule action.
What are Listeners in ELB?
Listeners check for connection requests from clients, using the protocol and port you configure. You define rules that determine how the load balancer routes requests to its registered targets.
What does a rule consist of in load balancing in ELB?
Each rule consists of a priority, one or more actions, and one or more conditions.
How do rules work in ELB?
When the conditions of a rule are met, then its actions are performed. You must define a default rule for each listener, and you can optionally define additional rules.
What are Target Groups in ELB?
Each Target Group routes request to one or more registered targets, such as EC2 instances, using the protocol and port number you specify.
If you are given an example where you have a user and they are browsing to a URL that hits Route 53 and that is sending traffic to an application load balancer, and the application load balancer needs to send traffic to the web servers in us-east-1, but if they have a path that says myurl.com/images, then the application load balances needs to send traffic to other EC2 instances in another target group in another availability zone. How do you enable that?
Enable path patterns
What is the limitation of application load balancers in ELB?
They only support HTTP and HTTPS, no other listeners