Welcome to Praful Bhuskute BlackSpy Praful Bhuskute BlackSpy Praful Bhuskute BlackSpy Praful Bhuskute BlackSpy

How to Create EC2 Windows Server

Step 1: log in to AWS Console and go to EC2 home

Amazon Web Services Home

AWS Home

Step 2: Check the Regions where you want to lunch your EC2 instance

Amazon Web Services Home on the top menu bar you can find Regions

AWS Home Regions select option

Check the Regions where you want to lunch your EC2 instance.  in this example we are selecting Mumbai Location

AWS Home Regions drop down option selected

Step 3: Select EC2

Click on search bar 

On the popup, you need to search EC2 then Select EC2 from the result

EC2 Selected from Search

Now you are on EC2 Home page

AWS EC2 Home

Step 4: Create Security Groups

Before moving forward we need to create Security Groups for EC2 Windows Server. Click on Security Groups from the left menu.

Click on Create Security Group
Add a name to the Security group name input field.
Now we need to set inbound rules for our windows server

Follow table is common for all EC2 instance for Linux and Windows server

Type

Protocol

Port range

Source

Source Value

SSH

TCP

22

Anywhere-IPv4

0.0.0.0/0

SSH

TCP

22

Anywhere-IPv6

::/0

SMTP

TCP

25

Anywhere-IPv4

0.0.0.0/0

SMTP

TCP

25

Anywhere-IPv6

::/0

HTTP

TCP

80

Anywhere-IPv4

0.0.0.0/0

HTTP

TCP

80

Anywhere-IPv6

::/0

HTTPS

TCP

443

Anywhere-IPv4

0.0.0.0/0

HTTPS

TCP

443

Anywhere-IPv6

::/0

 

For windows Server we need RDP port that we are going to use for Remote Desktop Protocol to connect EC2 windows server

RDP

TCP

3389

Anywhere-IPv4

0.0.0.0/0

RDP

TCP

3389

Anywhere-IPv6

::/0

 

Save this Security group.

Step 5: Now we are going to Launch an instance click on launch instance

Now you need to added name to server

Now you need to added name to server

“My Windows Server”

After that we need to select Windows

There are different type of windows Amazon Machine Image (AMI) available on Aws.

We are going select latest Microsoft windows server 2022 base AMI

Selecting Instance type

Then we need to create new key pair for our server that we need later to create a password for the ‘Windows server. Click on create new key pair

Then new popup open then add key pair name and Private key file format

We need .pem for windows server.

Now we need to set Network 

In network setting are going to select existing Security groups

We select “MyWindowsServerGroup” that we already created before

Now we selecting our previously created 

Now final step to select Storage for Windows Server 30GiN is minimum space require

Now click on launch instance to lunch our instance

This is Our Created Server

Step 6: Now we need to connect to the Instance

Click on Connect button

Now we need to select RDP Client
Now we need to select RDP Client
Now Click on Download remote desktop file
Then click on Get Password

now upload that key we created before when lunching instance

Now upload private key file to then click on Decrypt password

Then copy that password and save

Drop your queries

Table of Contents

Have A Project In Mind? Let's Get To Work