Section 8: High Availability and Scalability: ELB & ASG

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

Vertical Scalability

means increasing the size of the instance. (t2.micro to t2.large is an example of this)

2
New cards

There is a hardware limit on how much you can scale Vertically

True

3
New cards

Horizontal Scalability

means increasing the number of instances/systems for your applications.

4
New cards

Its easier to scale horizontal thanks to cloud offering services like

Amazon EC2

5
New cards

High Availability

means running your application/system in at least 2 data centers. (Run instances on same applications across multiple AZs)

6
New cards

Load Balancers

Are servers that forward traffic to multiple servers.

7
New cards

An Elastic Load balancer is a

Managed load balancer

8
New cards

ELB (Elastic Load Balancer)

AWS guarantees it will be working; takes care of upgrades, maintenance, highly available; integrated with many AWS services

9
New cards

Health Checks

crucial for load balancers. enables load balancers to know if instances it forwards traffic to are available to reply to requests.

10
New cards

4 Types of Load Balancers on AWS

-Classic Load Balancer (CLB) (NOT on EXAM)

-Application Load Balancer

-Network Load Balancer

-Gateway Load Balancer

11
New cards

Application Sec Group

Allows traffic only from Load Balancer

12
New cards

Application Load Balancer (ALB)(V2)

-Layer 7 only (HTTP)

-Support for HHTP/2 and Websocket

-Are a great fit for micro-services and container based applications

-has a port mapping feature to redirect to a dynamic port in ECS

-Fixed Hostname

13
New cards

ALB can route to multiple target groups

True

14
New cards

Network Load Balancer (NLB)

-Layer 4 Load Balancer that allows you to forward TCP and UDP traffic to your instances

-High performance, low latency

-Has one static IP per AZ and supports assigning Elastic IP

15
New cards

NLB target groups

-Can be EC2 Instances

-IP addresses must be private

-Application Load Balalncer

16
New cards

Health checks support

TCP, HTTP, and HTTPS protocols

17
New cards

Gateway Load Balancer (GWLB)

-Operates at level 3 network layer (IP packets)

-deploys, scales, and manages a fleet of 3rd party network virtual appliances in AWS

-Combines functions of a transparent network gateway, distributes traffic to virtual appliances, and uses the GENEVE protocol on port 6081

18
New cards

GLB Target Groups

-EC2 Instances

-IP addresses - must be private IPs

19
New cards

ELB stickiness

same client is always redirected to the same instance behind a load balancer. (works for classic application, and network load balancers.(done by the use of “cookies”)

20
New cards

Applicated-based cookies

-custom cookie (generated by the target)

-application cookie (generated by the load balancer)

-duration-based cookie (generated by the load balancer)