High Availability and Scalability: ELB & ASG Flashcards
What is scalability?
Means your application can adapt to accommodate for greater loads
What are the 2 kinds of scalability
Vertical
Horizontal (elasticity)
Vertical Scalability
Increasing the Size of the instance
Common use case of Vertical scalability?
Non distributed systems such as database
RDS, Elasticache
What is the limit of Vertical Scalability?
Hardware limit
Horizontal Scalability
Increase the number of instances/systems for your app
What does horizontal scaling implies?
That you have distributed systems
What is horizontal scalability most common for?
Web apps / modern apps
What is High Availability?
Means running your app / system in at leas 2 data centres (AZ)
Goal of HA?
Survive a data centre loss
HA can be passive and also active. Give 2 examples
Passive - RDS Multi AZ
Active - Horizontal Scaling
What type of scalability is Auto Scaling Group & Load balancer part of?
Horizontal Scaling
What is Auto Scaling Group multi AZ & Load Balancer multi AZ part of?
High Availability
What is a Load Balancer (ELB)
servers forward traffic to multiple servers (EC2 instances) down stream
What can provide Spreading of load across multiple downstream instances?
ELB
What can expose single point of access (DNS) to your app?
ELB
What can seamlessly handle failures of downstream instances?
ELB
What can do regular health checks to your instances?
ELB
What can provide SSL termination (HTTPS) for your websites?
ELB
What can enforce stickiness with cookies?
ELB
What can provide HA across zones?
ELB
What can separate public traffic from private traffic?
ELB
ELB is integrated with
EC2, EC2 Auto Scaling Groups, Amazon ECS
AWS Certificate Manager (ACM), CloudWatch
Route 53, AWS WAF, AWS Global Accelerator
How do ELB do health checks of EC2 instances?
Have a dedicated port and a route. Its important to know when to not send traffic to an instance if its down