Section 7: ELB & ASG Flashcards

1
Q

Scalability is

A

the ability to accommodate a larger load by making the hardware stronger (scale up), or by adding nodes (scale out)

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

Vertical Scalability is

A

The increasing in size of an instance.

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

Horizontal Scalability is the same as

A

Elasticity

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

What is Horizonal Scalability?

A

It is the increase of the number of instances/systems for an application.

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

Vertical scalability is useful for

A

Distributed systems such as a database

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

High availability is the ability to

A

Run instances for the same application across multi AZ

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

Load Balancers are

A

Servers that forward internet traffic to multiple
servers (EC2 Instances) downstream

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
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
9
Q

ELB is

A

An AWS managed load balancer

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

Application Load Balancer

A
  • HTTP / HTTPS / gRPC
    protocols (Layer 7)
  • HTTP Routing features
  • Static DNS (URL)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Network Load Balancer

A
  • TCP / UDP protocols
    (Layer 4)
  • High Performance: millions of
    request per seconds
  • Static IP through Elastic IP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Gateway Load Balancer

A
  • GENEVE Protocol on
    IP Packets (Layer 3)
  • Route Traffic to Firewalls that
    you manage on EC2 Instances
  • Intrusion detection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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
14
Q

Manual Scaling

A

Update the size of an ASG manually

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

Dynamic Scaling

A

Respond to changing demand

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

Simple / Step Scaling

A

Scales based on alarms

17
Q

Target Tracking Scaling

A

Scales based on set targets

18
Q

Scheduled Scaling

A

Anticipate a scaling based on known usage patterns

19
Q

Predictive Scaling

A
  • Uses Machine Learning
    to predict future traffic
    ahead of time
  • Automatically
    provisions the right
    number of EC2
    instances in advance