Availability and Scalability - Overview Flashcards
What does scalability mean in cloud computing?
Scalability means the ability of a system to handle increased load by adapting. It can be either vertical or horizontal.
What is vertical scalability?
Vertical scalability involves increasing the size of the instance (e.g., upgrading to a larger EC2 instance type).
What is horizontal scalability?
Horizontal scalability involves increasing the number of instances/systems to handle greater load (e.g., adding more EC2 instances).
How do vertical and horizontal scalability differ?
Vertical: Increasing the instance size.
Horizontal: Increasing the number of instances.
Which type of scalability is most common in distributed systems?
Horizontal scalability is common in distributed systems (e.g., web applications).
What does high availability mean?
High availability means running your application in at least two data centers or availability zones to survive a failure in one zone.
What is the difference between passive and active high availability?
Passive: Only one system is active, e.g., RDS Multi-AZ.
Active: Multiple systems are active, e.g., horizontal scaling with multiple instances.
What are Auto Scaling Groups used for in horizontal scaling?
Auto Scaling Groups automatically increase or decrease the number of instances based on traffic/load.
What does scale out and scale in refer to in AWS?
Scale out: Increasing the number of instances.
Scale in: Decreasing the number of instances.
How is high availability achieved in EC2?
By running instances across multiple availability zones using load balancers or auto scaling groups with Multi-AZ enabled.