Tech with Jonathan
← AWS

Project 02

Run a web app on EC2 in your own VPC

Build your own network on AWS, run a web app on EC2 in private subnets, and put it behind a load balancer that scales with traffic.

Status
Coming soon
Level
beginner
Time
1 weekend
Tools
VPC, EC2, Application Load Balancer, Auto Scaling, IAM, CloudWatch

What you’ll build

A classic, production-style setup that almost every AWS job expects you to understand:

  1. A VPC with public and private subnets across two Availability Zones.
  2. An Application Load Balancer in the public subnets, the only thing the internet can reach.
  3. EC2 instances in the private subnets, set up automatically at launch with a user data script.
  4. An Auto Scaling group that adds instances when traffic grows and replaces any that fail.
  5. Security groups so only the load balancer can talk to your instances.

What you’ll be able to show

  • An architecture diagram of your VPC, subnets and traffic flow
  • The load balancer’s URL serving your app
  • A short write-up explaining why the instances live in private subnets

What you need

  • The AWS account from the “Set up AWS safely” step, with a budget alert on
  • Project 01 done, so the console feels familiar

Cost: a load balancer and NAT gateway aren’t fully free. Delete everything at the end of each session (the guide shows how) and this should cost a few dollars at most.

The step-by-step guide and videos are coming soon.