Elastic Load Balancing & Auto Scaling Groups Section Flashcards

1
Q

Scalability

A

Abillity to handle a large load by making the hardware stronger (scale up) or by adding nodes (scale out).

There are two types of Scalability:
1. Vertical
2. Horizontal

(Page 113 & 118)

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

Vertical Scalability?

A

Increase de SIZE OF THE INSTANCE.
It’s limited by Hardware.
It’s not common in distributed systems

(Page 114)

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

Horizontal Scalability?

A

Increase THE NUMBER OF INSTANCES.
Implies Distributed Systems.
Common on Web and modern applications.

(Page 115)

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

High Availability?

A

Capacity to survive disasters.
To have a High UpTime of working.
In AWS, means to run your App on at least two different AZ.
Works well with Horizontal Scaling.

In Nute Shells: Run the same instance across multiple AZ.

(Page 117)

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

Auto scaling on AZ and Load Balancing across AZ are characteristics of High Availability on AWS?

A

YES

(Page 117)

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

Elasticity?

A

Depends on a Scalable System
This means that it (system) has the capacity of “auto-scale” according to the load.

(Page 118)

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

Agility?

A

The capacity of creating new IT resources is only one click away, for example.

How easy it’s to create new IT resources in few time.

Don’t get confused with SCALABILITY.

(Page 118)

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

Load Balancers?

A

The server that forwards internet traffic to multiple servers.

It provides a single DNS endpoint and HTTPS; handles failures, and checks the servers’ health where traffic is forwarded.

(Page 119 & 120)

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

In AWS, is AZ available on Load Balancer?

A

Yes, you can implement an LB along several AZ.

(Page 120)

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

ELB?

A

Elastic Load Balancer (ELB) that is a Managed Load Balancer.
Warranty Elasticity and Scalability.
Helps to get low costs, reducing the amount of EC2 Instances according to the workload.

(Page 121)

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

What are the three types of ELB?

A

Application LB
Network LB
Classic/Hybrid LB, which is deprecated

(Page 121)

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

Enum from higher to lower the three different LB according to their performance

A
  1. Network LB (Layer 4), used for High performance
  2. Application/HTTP LB (Layer 7)
  3. Classic LB, the slowest but work with layers 4 and 7.

(Page 121)

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

Auto Scaling Group (ASG)?

A

Perform the next actions according to the load:

  1. Add out (increase the number of instances) automatically.
  2. Add in (decrease the number of instances) automatically.
  3. Ensure having the minimum and maximum numbers of EC2 instances
  4. Register the EC2 into the LB.
  5. Replace unhealthy instances.

(Page 122)

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

What are the Scaling Strategies?

A
  1. Manual Scaling
  2. Dynamic Scaling by Simple/Step Scaling
  3. Dynamic Scaling by Target Tracking Scale
  4. Dynamic Scaling by Scheduling
  5. Predictive Scaling

(Page 125 & 126)

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

What is the ASG Manual Scaling Strategy?

A

Update the size of and ASG manually.

(Page 125)

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

What is the ASG Dynamic Scaling by Simple/Step Scaling?

A

Adjust the instnances according to some thresholds or CloudWatch, like Processor pass some percent of use, in both ways.

(Page 125)

17
Q

What is the ASG Dynamic Scaling by Target Tracking Scaling?

A

To set some indicators into a specific range, for example, to keep the CPU processor around 40% of usage

(Page 125)

18
Q

What is the ASG Dynamic Scaling by Scheduled Scaling?

A

Useful when you know the amount of work around some schedule. So this means that ELB increase or decrease EC2 instances around that schedule.

(Page 125)

19
Q

What is the ASG Predictive Scaling?

A

Based on Machine learning, adjust the amount of EC2 Instances according to the behavior of the load.

“Predict the Feature”

Useful when the load meets some pattern.

(Page 126)