Tutorial Blog to launch & connect to a windows instance.
Objective:
Learn to launch and connect to a Windows instance.
Learn to remotely connect to the windows instance
Step 1: Log in to AWS Console and go to EC2 services. On the dashboard, click on Launch Instance.
![](https://static.wixstatic.com/media/eed1d9_f0565d40df35458e99275cd8212f17ac~mv2.png/v1/fill/w_907,h_357,al_c,q_85,enc_auto/eed1d9_f0565d40df35458e99275cd8212f17ac~mv2.png)
Step 2: In Name and tags section, type ‘windows-server’ in text field labeled Name.
![](https://static.wixstatic.com/media/0caa51_a575af6aae4b4278bc3eaf14bf8674e7~mv2.jpg/v1/fill/w_645,h_138,al_c,q_80,enc_auto/0caa51_a575af6aae4b4278bc3eaf14bf8674e7~mv2.jpg)
Step 3: Select Windows under Quick Start to choose Microsoft Windows Server AMI.
![](https://static.wixstatic.com/media/0caa51_498578f172b34dfe82b6d65a0d9fdc1e~mv2.jpg/v1/fill/w_647,h_527,al_c,q_80,enc_auto/0caa51_498578f172b34dfe82b6d65a0d9fdc1e~mv2.jpg)
Step 4: In the next Choose an InstanceType section, select the t2.micro.
![](https://static.wixstatic.com/media/0caa51_2f9742dd2e524a0e8d6289b3ef297cf1~mv2.jpg/v1/fill/w_645,h_209,al_c,q_80,enc_auto/0caa51_2f9742dd2e524a0e8d6289b3ef297cf1~mv2.jpg)
Step 5: : In Key pair (login) section, click on dropdown to select an existing KeyPair. If you haven’t createda key, follow the below steps:
Click on Create a new key pair.
Type Key Pair Name of your choice.For e.g. MyKeyPair.
Now Click on Create key pair. This will download a .pem file. Save this file for future use.
Now click on Launch Instance.
![](https://static.wixstatic.com/media/0caa51_aca68ac49d33406da6efc7b5d78fe185~mv2.jpg/v1/fill/w_576,h_613,al_c,q_80,enc_auto/0caa51_aca68ac49d33406da6efc7b5d78fe185~mv2.jpg)
Step 6: In Network settings section, click edit to change the following
Set network subnet
Select security group or create new
Set a subnet for the instance by
Selecting one from the Subnet dropdown menu.
![](https://static.wixstatic.com/media/0caa51_8568cd1a06954198901894c5bb0b4775~mv2.jpg/v1/fill/w_498,h_213,al_c,q_80,enc_auto/0caa51_8568cd1a06954198901894c5bb0b4775~mv2.jpg)
To select security group
Select ‘Create security group’ radio button under Firewall (security group) heading, if you do not have an existing one. This new Security group will be used for allfurther windows server instances.
Type Security group name of your choice. For e.g. ‘Windows-SG’ as shown.
Type Description as ‘Security Group for Windows Server’.
Keep default RDP rule as shown.
![](https://static.wixstatic.com/media/0caa51_c97cbfc457554d318c450ec3f4648201~mv2.jpg/v1/fill/w_379,h_273,al_c,q_80,enc_auto/0caa51_c97cbfc457554d318c450ec3f4648201~mv2.jpg)
Step 7: Let rest all remain as default & Click on Launch instance in the Summary section on the right to launch the instance.
![](https://static.wixstatic.com/media/0caa51_ae9314dae56f49e0bb625032e2f62da4~mv2.jpg/v1/fill/w_245,h_352,al_c,q_80,enc_auto/0caa51_ae9314dae56f49e0bb625032e2f62da4~mv2.jpg)
Step 8:Click On Instances at the top left of your page under Instances. You will be redirected to Instances dashboard. Ensure that your windows instance is running.
![](https://static.wixstatic.com/media/0caa51_1c3543614e094a038d4d4765b9f434e2~mv2.jpg/v1/fill/w_161,h_213,al_c,q_80,enc_auto/0caa51_1c3543614e094a038d4d4765b9f434e2~mv2.jpg)
Now select the instance checkbox and click On Connect. Switch to RDP client and Download Remote Desktop File.
![](https://static.wixstatic.com/media/0caa51_5e3590cfdc4b4c0fb105a1c4ed4dbe6c~mv2.jpg/v1/fill/w_547,h_532,al_c,q_80,enc_auto/0caa51_5e3590cfdc4b4c0fb105a1c4ed4dbe6c~mv2.jpg)
Step 9: Now click on Get Password. In this Get Password window you can Upload private key file which you downloaded in the previous step.
Click On Decrypt Password. You will be provided with the detailsneeded for logging into the Windows Instance.
Copy Password into a file for furthercorrespondence.
![](https://static.wixstatic.com/media/0caa51_09d170654ea94110bacd75f673a2216f~mv2.jpg/v1/fill/w_645,h_492,al_c,q_80,enc_auto/0caa51_09d170654ea94110bacd75f673a2216f~mv2.jpg)
Step 10: Now go to the location where your previously downloaded RDP file with following icon is stored.Double click to open the file.
![](https://static.wixstatic.com/media/eed1d9_a5fc2f320edd48919ef9038ce38ed4e8~mv2.png/v1/fill/w_204,h_204,al_c,q_85,enc_auto/eed1d9_a5fc2f320edd48919ef9038ce38ed4e8~mv2.png)
Step 11: Now followthe steps:
In the new pop up window click on Connect.
Now enter the password we stored in Step 10.
![](https://static.wixstatic.com/media/eed1d9_6849dabe9cbb49a8a3729d0efc6cfa89~mv2.png/v1/fill/w_980,h_359,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/eed1d9_6849dabe9cbb49a8a3729d0efc6cfa89~mv2.png)
Step 12: Congratulation! You have successfully started operating you Windows Instance.
If you no longer need this instance, make sure to terminate the instance.
Was this document helpful? How can we make this document better. Please provide your insights. You can download PDF version for reference.
For your AWS certification needs or AWS learning reach us.
Very helpful !
Easy to understand
it was very easy to understand
Easy understandable tutorial
Good explaination and easy to understand