🚀 Steps to Launch a Virtual Machine (EC2 Instance) in AWS
-
Log in to AWS Management Console
- Go to AWS Console and sign in with your account.
-
Navigate to EC2 Service
- In the search bar, type EC2 and select it. This opens the EC2 dashboard.
-
Launch Instance
- Click Launch Instance.
- Give your instance a name (e.g., "feb30ec2").
-
Choose an Amazon Machine Image (AMI)
- Select the operating system you want (e.g., Ubuntu, Amazon Linux, Windows Server).
-
Select Instance Type
- Choose hardware configuration (CPU, memory).
- For beginners, t2.micro or t3.micro is Free Tier eligible.
-
Configure Key Pair
- Create or select a key pair for SSH/RDP access.- _feb20key _
- Download the
.pemfile (for Linux) or.ppk(for Windows with PuTTY).
-
Configure Network Settings (use default)
- Place the VM in a VPC and subnet.
- Allow inbound rules (e.g., SSH on port 22 for Linux, RDP on port 3389 for Windows).
-
Add Storage (use default)
- Define the size of your root volume (e.g., 8 GB for Linux).
- You can add extra volumes if needed.
-
Review and Launch
- Double-check settings, then click Launch Instance.
-
Connect to Your VM
- For Linux: use SSH with your key file.
- For Windows: use RDP with the administrator password (retrieved from AWS console).
Please like, share and comment.









Top comments (1)
Beautiful. Welldone