M10: Automatic Scaling and monitoring Flashcards

Module 10

1
Q

Elastic load balancing

A

Distributes incoming application or network traffic across multiple targets in a single availability zone or across multiple availability zones
Offers several monitoring tools for continuous monitoring and logging for auditing and analytics

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

Three types of elastic load balancing

A
  1. Application load balancer: level 7, ideal for HTTP/S traffic including containers, ensures latest SSL/TLS used.
  2. Network load balancer: layer 4, transport, routing connections to targets based on IP protocol data
  3. Classic load balancer: load balancing across multiple EC2 instances, older.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Configuring load balancer

A
  1. Listener

2. Optional health checks

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

Configuring load balancer types

A

Application and network load balancers register targets in target groups and route traffic to target groups
Classic, register instances with load balancer

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

Reasons to use load balancer

A
  1. Achieve high availability and better fault tolerance for your application
  2. Automatically load balance your containerised applications
  3. Automatically scale your applications
  4. Use elastic load balancing in your VPC
  5. Enable hybrid load balancing
  6. Invoking lambda functions over HTTP/S
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Amazon CloudWatch

A

Monitoring and observability service

Can respond to changes and take corrective action ss necessary

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

CloudWatch alarm

A
Single metric
Maths expression based on CloudWatch metrics
Static threshold
Anomaly detection
Metric maths expression
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Specification needed for a static threshold alarm

A
  1. Namespace: metric wanted, eg EC2
  2. Metric: variable to measure
  3. Statistic: average, sum, percentile…
  4. Period: evaluation period
  5. Conditions: metric greater, greater equal…
  6. Additional configuration information: number of data points that need to be breached
  7. Actions: send notification to SNS topic, perform auto scaling, EC2 action
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

EC2 auto scaling

A

Maintains application availability and enables the automatic addition or removal of EC2 instances according to conditions you define

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

Ways to use auto scaling

A

EC2 Instances can be added / deleted:

  • manually
  • on a schedule
  • in response to demand
  • in combination with auto scaling
  • dynamic and predictive scaling can be used together to scale faster
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Auto scaling group

A

Collection of EC2 instances treated as a logical grouping for purposes of automatic scaling and management
Minimum, desired and maximum size

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

Launch configuration

A

Instance configuration template

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

Implement dynamic scaling

A

EC2 auto scaling, Amazon CloudWatch and elastic load balancing

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

AWS auto scaling

A

Separate service that monitors your application, automatically adjusting for the following resources :

  • amazon EC2 instances and spot fleets
  • amazon ECS tasks
  • amazon DynamoDB tables and indexes
  • amazon aurora replicas
How well did you know this?
1
Not at all
2
3
4
5
Perfectly