ELB & Auto Scaling Group Flashcards

1
Q

What are the servers that forward internet traffic to multiple servers (EC2 Instances) downstream called?

A

Elastic load balancers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why use a load balancer?

A
  • Spread load across multiple downstream instances
  • Expose a single point of access (DNS) to your application
  • Seamlessly handle failures of downstream instances
  • Do regular health checks to your instances
  • Provide SSL termination (HTTPS) for your websites
  • High availability across zones
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why should you use an elastic load balancer?

A
  • An ELB (Elastic Load Balancer) is a managed load balancer
  • AWS guarantees that it will be working
  • AWS takes care of upgrades, maintenance, high availability
  • AWS provides only a few configuration knobs

It costs less to setup your own load balancer but it will be a lot more effort on your end (maintenance, integrations)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the kinds of load balancers offered by AWS?

A
  • Application Load Balancer (HTTP / HTTPS only) – Layer 7
  • Network Load Balancer (ultra-high performance, allows for TCP) – Layer 4
  • Classic Load Balancer (slowly retiring) – Layer 4 & 7
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the goal of an Auto Scaling Group (ASG) is to:?

A
  • Scale out (add EC2 instances) to match an increased load
  • Scale in (remove EC2 instances) to match a decreased load
  • Ensure we have a minimum and a maximum number of machines running
  • Automatically register new instances to a load balancer
  • Replace unhealthy instances
How well did you know this?
1
Not at all
2
3
4
5
Perfectly