From DNS to Containers: How AWS Routes Traffic Using Route 53 and Application Load Balancer
dev.to·1d·
Discuss: DEV
🔒Caddy
Preview
Report Post

Introduction

Why modern apps don’t expose EC2 directly

In theory, you can deploy an application on an EC2 instance, grab its public IP, and let users hit it directly. In practice, this fails almost immediately in real-world systems because:

We want users to be able to access the web application with a human-readable domain name such as google.com, etc. The public IP keeps changing when instances are stopped, scaled, or replaced. Users also won’t be able to establish a secure HTTPS connection to the website reliably.

As traffic on our web application grows, a single server becomes a bottleneck. You need a mechanism to add or remove backend instances without letting users know about the change.

Another challenge when making EC2 instances available directly to the int…

Similar Posts

Loading similar posts...