Solution Architecture Journey: Scaling a Simple Web Application

Introduction

In this architecture discussion, we explore how a simple web application, WhatIsTheTime.com, evolves from a basic single-instance setup to a highly available, scalable, and cost-optimized cloud architecture using AWS EC2, Elastic Load Balancing (ELB), Route 53, and Auto Scaling Groups (ASG).


Phase 1: Basic Setup

1. Initial Proof of Concept (PoC)

🟢 Pros: Simple and functional.

🔴 Cons: Limited capacity, potential downtime if the instance stops.


Phase 2: Vertical Scaling

2. Upgrading to a Larger Instance

🟢 Pros: More powerful instance, better performance.

🔴 Cons: Downtime during upgrade, limited by the largest instance available.


Phase 3: Horizontal Scaling

3. Adding Multiple EC2 Instances