Compute - Using ELB and Auto Scaling Together Flashcards

1
Q

What is the relationship between ELBs and EC2 auto scaling?

A
  • ELBs and EC2 auto scaling go hand in hand to provide optimal efficiency.
  • ELBs allow dynamic load management across resources based on target groups and rules.
  • EC2 auto scaling allows elastic scaling of target groups based on infrastructure demand.
  • Combining ELBs and auto scaling helps manage and automatically scale EC2 compute resources.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What happens if you have an ELB configured without auto scaling?

A
  • Manual addition and removal of targets based on demand.
  • Manual monitoring and adjustment of instances as required.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What happens if you have EC2 auto scaling configured without an ELB?

A
  • Uneven distribution of traffic to EC2 fleet.
  • Lack of load balancing capabilities.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does attaching an ELB to an auto scaling group benefit operations?

A
  • ELB automatically detects instances and distributes traffic to the auto scaling group.
  • Application load balancer or network load balancer is associated with the auto scaling group through the target group.
  • Classic load balancer directly registers the EC2 fleet.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you associate an existing load balancer with an auto scaling group?

A
  • Go to the EC2 dashboard and select “Auto Scaling Groups” under Compute.
  • Select the desired auto scaling group and click on “Actions” and then “Edit”.
  • Under “Classic Load Balancers and Target Groups” section, select the appropriate load balancer or target group.
  • Save the changes to associate the load balancer with the auto scaling group.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly