ELB Flashcards
Types of load balancers on AWS
- APL (Apllication Load Balancer)
- Network Load Balancer
- Gateway Load balancer
The load balancer is used as a front server it a balances the requests somewhere, what do we call that thing?
A target group, it can be EC2 instances…
I have multiple instances of EC2, how do I configure the Load balancer?
We create a target group to group those instances
What protocols do NLB support for healthcheck
HTTP, HTTPS and TCP
Difference between ALB and NLB
ALB is for layer 7 (HTTP, HTTPS) and NLB can forward lower layer like TCP/UDP
What is session stickiness
It’s a mechanism that an ELB uses to “tie” a client to a specific EC2 instance for a time
How stickiness is implemented?
It’s done by using cookies: Application cookie and Duration cookie
What is EFS IA and why use it?
EFS Infrequent Access, it’s cheaper to store there when data is not accessed regularly
EFS is only for linux based EC2 AMI? True of false
True
With GP2 disk size and IOPS are linked, true or false? Give two types where size can vary independently of IOPS
True; Io2 and GP3
Explain de-registration delay? What is the default value?
Time to complete requests while the instance is being terminated, deregistrated or marked unhealthy. Default is 300 seconds
Do NLB have static IP?
Network Load Balancer has one static IP address per AZ and you can attach an Elastic IP address to it. Application Load Balancers and Classic Load Balancers as a static DNS name.
Give the 3 cookies name reserved by ALB
AWSALB, AWSALBAPP, AWSALBTG