Elastic Load Balancing (ELB) & Auto Scaling Groups (ASG) Flashcards

1
Q

What is Scalability?

A
  • Scalability: application / system can handle greater loads by adapting
  • Vertical and Horizontal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Vertical Scalability?

A
  • increasing the size of the instance
  • zb. von t2.micro auf t2.large upgraden
  • für non-distributed systems (database)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Horizontal Scalability?

A
  • increasing the number of instances for your application (easier in AWS)
  • for distributed systems (web apps)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is High Availability?

A
  • running your application in at least 2 Availability Zones (AZ)
  • goes hand in hand with horizontal scaling
  • goal = survive data center loss (disaster)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

High Availability & Scalability For EC2

A
  • Vertical Scaling: Increase instance size
  • Horizontal Scaling: Increase number of instances (ASG and ALB)
  • High Availability: instances for same app across multi AZ (ASG and ALB multi AZ)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Elasticity?

A
  • Auto-scaling based on load to optimize costs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Agility?

A

Rapid provisioning of IT resources in minutes instead of weeks

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

What is load balancing?

A
  • forwards internet traffic to multiple servers (EC2 Instances) downstream
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Elastic Load Balancer (ELB)

A
  • a managed load balancer
  • 3 kinds of load balancers (ALB, NLB, GWLB)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Application Load Balancer (ALB)

A
  • for Layer 7
  • HTTP(S), gRPC, Static DNS (URL)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Network Load Balancer (NLB)

A
  • for Layer 4
  • TCP/UDP, high performance, static IP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Gateway Load Balancer (GWLB)

A
  • for Layer 3
  • GENEVE, Route Traffic to Firewalls, Intrusion detection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What’s an Auto Scaling Group (ASG)?

A
  • scale out/in to match in/decreased load
  • ensures min and max 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
14
Q

Auto Scaling Groups – Scaling Strategies

A
  • Manual Scaling
  • Dynamic Scaling (Simple/Step, Target Tracking, Scheduled and Predictive Scaling)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly