An EC2 is the counterpart of the virtual machine in Azure but the EC2 is deploy by Amazon Web Service.
- Log in to the AWS Management Console
- Go to the AWS Console.
- Search for EC2 in the services search bar and Open the EC2 Dashboard.
- Launch a New Instance
- Choose an Amazon Machine Image (AMI) This defines your OS.
Common choices: Amazon Linux 2, Ubuntu Server, Windows Server

Select an Instance Type
Determines CPU, RAM, and performance.
For testing: t2.micro or t3.micro (Free Tier eligible).

Configure Key Pair (SSH Access)
- Configure Network Settings
Choose a VPC and Subnet.
Enable Auto-assign Public IP if you want internet access.
Configure Security Group: Allow SSH (port 22) for Linux, allow RDP (port 3389) for Windows, allow HTTP (port 80) if hosting a website.

Configure Storage
Default is usually 8GB gp3. Increase if your workload needs more space.

Launch the Instance
Review settings. Click Launch Instance.
Wait for the instance state to become Running.

Connect to Your Instance
- Your EC2 Instance Is Ready You can now install software, deploy apps, or configure it as a server.












Top comments (0)