DEV Community

emmilly immaculate
emmilly immaculate

Posted on

Create a Windows Instance using AWS EC2.

So if you ever want to have a windows computer in the cloud.How would you set it up.

We shall use Remote Desktop Client to log into our instance in this article.

Step 1: Log into your AWS Account and search for EC2 service.

Search ec2

Step 2: Click the orange "launch instance" button.

click launch instance

Step 3: Fill in the name of your instance, say "testInstance".

click create key pair

  • Create a key pair and download it.

create key pair

  • Add name of key pair and click "Create key pair".This will download the key pair file to your computer.

add nae of key pair and click create

Step 4: Now head over to the bottom and click "Launch Instance"

click launch instance

Success message for launch instance.

success launch

Step 5: Click on the instance link and it should lead you to the Instance page.

Click instance link provided

Step 6: Click the "connect" button.

connect button

Step 7: Choose Connect with "RDP Client" and download the remote desktop file.

Choose RDP client

Step 8: Double click the downloaded rdp file to launch your local RDP Client in my case Remmina on ubuntu.

  • Copy and paste the public DNS into the input and Click Enter.

copy public DNS

  • Click Yes to Accept certificate.
    Yes to accept certificate

  • Next, we need to enter the fields for username and password.

rdp fields to fill

  • Go back to AWS console and copy the username provided usually "Administrator" then click the get password button.

copy username and get password

  • Upload your key pair that was downloaded to your pc.

upload key pair

  • Choose key pair. choose key pair
  • Click decrypt key.

decrypt lkey pair

Step 9: Copy the password into the RDP client.
copy password into rdp

copy password

Step 10: Click "ok" or "Connect" depending on your client.

Click ok

Voila! We have set up a Windows Instance and logged into it.

Top comments (0)