Hardware failures, out-of-memory crashes, or Availability Zone disruptions will eventually happen. What happens next depends entirely on your cloud architecture.
Scenario A: Single EC2 Instance (No Redundancy)
Your website is down until an engineer notices, logs into AWS, and manually restarts or recreates the server. Local instance store data is permanently lost. EBS volumes survive but require manual re-attachment. Outage duration: hours.
Scenario B: Auto Scaling Group Behind an ALB
- The instance stops responding to health checks.
- The Load Balancer immediately stops routing new traffic to it. Active users land on remaining healthy instances.
- The Auto Scaling Group terminates the unhealthy instance and launches a replacement instance from the launch template/AMI.
- The replacement instance boots, passes health checks, and registers with the load balancer pool.
Outage duration: virtually zero impact to end users.
Prerequisites for Scenario B
- Stateless application servers (Sessions in Redis, Uploads on S3)
- Instances distributed across multiple Availability Zones
- Automated bootstrapping via pre-baked AMIs or cloud-init scripts
- Sufficient spare capacity to handle temporary node loss
When did you last kill a server on purpose?
LinkedIn Post Snippet & Hashtags
Share this key insight directly with your LinkedIn network: