๐Ÿš€ Day 06: Launching My First EC2 Instance and deploy an webserver

Sumith S RaikarSumith S Raikar
1 min read

I finally launched my first virtual server using Amazon EC2 (Elastic Compute Cloud) โ€” one of the most essential AWS services!

What I Did:

  • Created a t2.micro EC2 instance (Free Tier eligible)

  • Selected Amazon Linux 2 AMI

  • Generated a key pair to connect securely

  • Connected to my EC2 instance using PuTTY (on Windows)

  • Installed a basic web server with:

      bashCopyEditsudo yum update -y
      sudo yum install httpd -y
      sudo systemctl start httpd
    

Result:

I accessed my public IP in the browser and saw my custom message live!

What I Learned:

  • EC2 is a virtual server in the cloud โ€” you have full control over it.

  • Security groups work like firewalls. I had to allow HTTP (port 80) for my site to work.

  • You need a .ppk file and PuTTY to SSH into EC2 on Windows.

Final output:

0
Subscribe to my newsletter

Read articles from Sumith S Raikar directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Sumith S Raikar
Sumith S Raikar