01. Scalability & High Availability & Elasticity
🧩 A. Scalability
Scalability is the ability of a system to handle increased load by adjusting resources.
🔸 Two Types of Scalability
| Type | Description | Example |
|---|---|---|
| Vertical Scalability | Increase the capacity of an existing instance (scale up/down) | Upgrading from t2.micro → t2.large |
| Horizontal Scalability | Increase the number of running instances (scale out/in) | Multiple EC2 instances behind a Load Balancer |
🏗️ A1. Vertical Scalability
- Also called scale up (or scale down when reducing resources).
- Involves increasing CPU, memory, or I/O of a single instance.
- Best suited for non-distributed systems (for example, traditional databases).