Chp 8: High Availability + Scalability --> ELF and ASG Flashcards
What is scalability? What are the types
- apps/system can handle greater loads by adapting
- types: horizontal/vertical
What is vertical scalability?
- increasing the size
- scale up/down
what is horizontal scalability
increase the # of instances
high availability goes hand in hand with what?
horizontal scalability
what does high availability mean?
- run app/system in at least 2 data centers (= AZ)
- can be active or passive
What is a load balancer?
- servers that forward traffic to multiple servers downstream
Why use a load balancer?
- spread load across multiple downstream instances
- expose a single point of access
- regular health checks
- provide SSL termination
- enforce stickiness with cookies
- high availability
- separate public traffic from private traffic
- AWS takes care of everything
what are health checks?
is a clone on a port/route
What are the types of load balancers?
- classic
- application
- network
- gateway
classic load balancer/
http, https, tcp, ssl
Application load balancer
- http, https, websocket
- good for microservices and container
- port mapping
ALB target groups
- ec2 instances
- ec2 tasks
- lambda function
- ip address
How many groups can ALB be routed to?
many
Health checks are at what level
target group level
ALB– hostnames or IPs
fixed hostname. it doesnt see IP of the client