DEV Community

Simran Rajoriya
Simran Rajoriya

Posted on

AWS Question That Made Me Think About Cloud Architecture

While learning AWS, I had an interesting question:

Suppose in the Mumbai Region (ap-south-1), there are three Availability Zones:

ap-south-1a

ap-south-1b

ap-south-1c

If I create many EC2 instances and they are launched in ap-south-1a, and many other users also launch instances in the same AZ, then:

❓ Why doesn't AWS automatically move instances to other AZs?
❓ What is the purpose of multiple Availability Zones?

My Understanding

AWS does not automatically shift existing EC2 instances from one AZ to another because the Availability Zone is part of the infrastructure design chosen by the user.

An EC2 instance is launched inside a specific subnet, and that subnet belongs to a specific AZ.

The AWS Solution

For High Availability and Fault Tolerance, AWS provides:

✅ Multiple Subnets across different AZs
✅ Application Load Balancer (ALB)
✅ Auto Scaling Groups (ASG)

Example architecture:

Internet → ALB → Auto Scaling Group → EC2 Instances in AZ-1a, AZ-1b, and AZ-1c

This ensures:

High Availability

Fault Tolerance

Better Traffic Distribution

Automatic Scaling

Key Learning

AWS does not automatically redesign our architecture. As cloud engineers, we must design applications across multiple Availability Zones for reliability and scalability.

Internet
|
↓
ALB
/ | \
1a 1b 1c
| | |
EC2 EC2 EC2

AWS #CloudComputing #EC2 #AutoScaling #LoadBalancer #CloudArchitecture #DevOps #LearningInPublic

Top comments (0)