AWS Loadbalancers Flashcards
What types of load balancers can you have in AWS?
- Classic LB
- Network NLB
- Application ALB
- Gateway loadbalancer
Explain how AWS load balancers achieve high availability?
AWS load balancers distribute incoming traffic across multiple targets (like EC2 instances) in different Availability Zones to ensure redundancy. They automatically detect unhealthy targets and reroute traffic to healthy ones. This fault-tolerant architecture helps maintain high availability and resiliency.
When using an AWS ELB with an autoscaling group, what has the autoscaling group to do as it adds and removes nodes?
The autoscaling group has to add and remove the registration of the nodes with the ELB target group.
Can you use an AWS elastic load balancer without an Autoscaling group?
Yes, you just have to register the instances with the ELB target group.
What is an AWS ELB target group used for?
A target group is used to group instances the ELB will distribute traffic to.
Should, I use AWS classic elastic load balancer?
No, they are moving away from this LB, you should use NLB or ALB.
What transports does AWS classic load balance support?
TCP, SSL, HTTP, HTTS
In a classic load balancer, do I get a security group for my AWS elastic load balancer?
Yes, when you create an ELB you create or assign a security group.
What are AWS elastic load balancer health checks?
ELB performs a check on the backend instance, by performing one of the following,
- Checking the instance status
- Sending an HTTP/HTTPs request and checking th response code.
If the software running on my webserver holds state and requires thet any returning request be sent to the same server node, is this possible with an elastic load balancer
Use elastic load balancer client sticky session; you have two options,
- LB generates cookies
- Application generated cookies
I the classic AWS ELB a layer seven device?
No
What is an AWS ALB?
It is an application load balancer and operates at layer 7 with a wider set of services,
- EC2
- Contaners
- Lambda
I require the ability to route HTTP traffic based on the path, what load balancer should I use?
AWS ALB
I require an LB that can route based on path and can be internal facing, what type of ELB should I choose?
AWS ALB
I require an LB that will work for both IPv4 and IPv6, what ELB should I use?
AWS ALB
What is the target group?
It is a collection of instances in which the Lord balances her roots.
I am using a lambda function and I wnat to have an LB in front of it so I can control the traffic going to different function and also to enable blue/green deployments, what is my best option?
Use an AL, ALB support Lambda functions.
Does Network load balancers support WebSockets?
No, you will need an ALB
I have a multiple application that needs an LB, what LB can I used the also can do rooting at L7?
You cna use the ALB, it enables you to route based on pat and domain.
Can I use multiple certs on an ALB?
Yes.
I want to understand who is hitting my LB, how and I architect this?
LB’s support access logs and enable you to capture th logs.
I want to understand who is hitting my LB, how and I architect this?
LB’s support access logs and enable you to capture the logs.
I wnat to redirect on my LB, is this possible?
Yes you can do it on your ALB
What is a network LB?
It is an LB that operates at L4 or the OSI model.