EC2 is where AWS and Linux actually meet. An EC2 instance is nothing but a Linux server running inside AWS.
EC2 (Elastic Compute Cloud) is a virtual machine. You control the OS. AWS controls the hardware.
For beginners, Ubuntu or Amazon Linux is best.
Instance type decides CPU & RAM.
t2.micro # Free tier (practice only)
t3.small # Light production
AWS does not use passwords by default. It uses SSH keys.
ssh -i key.pem ubuntu@PUBLIC_IP
whoami
uname -a
uptime
df -h
This server is public. Anything open is a risk. Linux responsibility starts now.
Next: Users, Permissions & SSH Security →