High availability Flashcards

1
Q

Types of load balancers

A

application
network
classic

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

application load balancer

A

HTTP and HTTPs traffic
Layer 7
application aware
very intelligent

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

network load balancer

A

best suited for balancing TCP where extreme performance is required

layer 4

can handle millions of requests a second w/ ultra low latency

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

classic load balancer

A

old school load balancer

can load balance HTTP/HTTPS apps and use layer-7 specific features

can also use strict layer 4 load balancing

Where you want to do just basic round robin

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

X-Forwarded-For Header

A

to get the clients actual IPv4 address when it’s been passed through a load balancer

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

Sticky sessions

A

allows you to bind a user’s session to specific ec2 instance for duration of the session

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

Cross zone load balancing

A

allows load balancer to send load to another AZ

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

path patterns

A

allows you to send traffic to a different EC2 instances based on the request URL

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

Auto scaling components

A

groups - logical component; webserver group, db group, etc

config templates - instructions on what type ec2 instances to launch

scaling options - specify scaling type

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

scaling options

A

maintain current instance levels at all times

scale manually

scale based on schedule

scale based on demand

predictive scaling

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

Maintain current instance levels at all times

A

perform periodic health check on running instances.

If unhealthy -> terminate and launch new instance

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

manual scaling

A

specify the change in max, min, or desired capacity

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

scale based on a schedule

A

scaling actions performed automatically based on date and time

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

scale based on demand

A

Lets you define parameters that control the scaling process

using scaling policies

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

predictive scaling

A

help you maintain optimal availability and performance

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

scaling out vs scaling up

A

scaling out - use auto scaling groups and add additional EC2 instances
scaling up - increase resources in EC2 instances

17
Q

Elastic beanstalk

A

allows you to quickly deploy/manage apps in the cloud

beanstalk handles

  • load balancing
  • capacity provisioning
  • scaling
  • app health monitoring
  • etc
18
Q

HA w/ Bastion hosts

A

w/ NLB
two hosts in separate AZs
Use an NLB w/ health checks to fail over from one host to another

w/ Auto-scaling group
One host in one AZ w/ health checks to fail over from one host to another in a different AZ
Some downtime but cheaper

19
Q

On-prem AWS services

A
  • Database migration service (DMS)
  • Server migration service (SMS)
  • AWS application discovery service
  • VM import/export
  • Download amazon linux 2 as an ISO
20
Q

DMS - acronym

A

database migration service

21
Q

DMS - definition

A

allows you to move DBs to and from AWS

supports homogenous and heterogeneous migrations

22
Q

SMS - acronym

A
23
Q

SMS - definition

A

supports incremental replication of on prem servers into AWS

Can be used as a backup or DR tool

24
Q

AWS application discovery service

A

gathers info about on-prem data centers
builds a server utilization map and dependency map

helps you plan migration to AWS

25
Q

VM import/export

A

migrate existing apps in to EC2
can be used for DR strategy on AWS
can export AWS VMs to on-prem data center

26
Q

Load balancer IP vs Domain name

A

load balancers have their own DNS address, you are not given an IP