Cloud networking · Completed

VPC & EC2 Web Server

I built a custom AWS network and launched a Linux EC2 instance inside it. The instance hosts a basic Apache website.

Goal

My goal was to learn how internet traffic reaches an EC2 web server and how AWS controls that access.

Implementation

I created a VPC and public subnet. Then I attached an internet gateway and configured the route table. I allowed HTTP and SSH through the security group. After launching EC2, I connected with PuTTY, installed Apache, and opened the website in my browser.

What I practiced

I practiced VPC addressing, subnetting, routes, security groups, EC2 setup, SSH, and basic Linux administration.

Operational validation

  • Confirmed EC2 received the intended network configuration
  • Verified SSH connectivity with the converted key file
  • Validated HTTP access from a public browser
  • Checked that security-group rules matched required ports

Future improvements

  • Provision the environment with Terraform
  • Add a private subnet and load balancer
  • Use HTTPS and a custom domain
  • Add CloudWatch monitoring and automated deployment