β Day 4 of My Cloud Journey β β EC2 + Linux + IPs + Ports & Protocols

Welcome to Day 4 of my #30DaysOfCloud series!
Today was packed with hands-on learning. I explored Amazon EC2, Linux basics, and got a clearer understanding of IP addressing, ports, and protocols in the cloud.
πΉ What is EC2?
Amazon EC2 (Elastic Compute Cloud) offers scalable virtual servers in the AWS cloud.
You can run applications without managing physical infrastructure.
π§© Choose from a variety of instance types based on workloads:
General Purpose
Compute Optimized
Memory Optimized
π οΈ How I Launched My First EC2 Instance
Steps via AWS Console:
Go to EC2 β Launch Instance
Choose Amazon Linux 2023
Select t2.micro (Free Tier eligible)
Create/select a key pair
Configure networking with a Public IP
β After launch, connect via SSH:
ssh -i "key.pem" ec2-user@<Public-IP>
π§ What is Linux?
Linux is a powerful, open-source operating system that powers most of the cloud. It's lightweight, secure, and ideal for server environments.
π Why Linux Matters in the Cloud
Lightweight and resource-efficient
CLI-based control over servers
Powers services like EC2, Lambda, Docker
Essential for DevOps, automation, and scripting
π Most EC2 instances use Amazon Linux, optimized for security and cloud performance.
π Understanding IPs in Cloud Networking
Private IP β Internal communication within a VPC
Public IP β Accessible over the internet (e.g., SSH, web apps)
You typically need a public IP to connect to an EC2 instance from your local machine.
πΉ Key Ports & Protocols
Common Ports:
22
β SSH (Secure Shell access to Linux servers)80
β HTTP (Web traffic)443
β HTTPS (Secure web traffic)
Common Protocols:
TCP β Reliable, connection-oriented
UDP β Fast, connectionless (used for streaming, DNS, etc.)
HTTP/HTTPS β Web protocols built on top of TCP
π‘ Final Thoughts
This day laid the groundwork for working with real cloud infrastructure.
From launching EC2 to understanding how Linux, IPs, and ports work β these are essential skills for any cloud engineer.
π
Up Next (Day 5):
I'll explore Security Groups, Inbound/Outbound Rules, and basic EC2 security best practices.
Letβs keep learning and building π
Feel free to follow or comment if you're on this journey too!
Subscribe to my newsletter
Read articles from Pratik Das directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
