Install Windows Server or Instance on Amazon EC2

In this post, I will be showing you how to spin-up a Windows Server machine on Amazon Elastic Compute Cloud (EC2). This post will get you started on how to use Amazon Elastic Compute Cloud (Amazon EC2) Windows instances.

Step 1: Launch Instance

– Sign into the AWS Management Console at and click on EC2


– Click on ‘Launch Instance’


– Select ‘Quick Launch Wizard’ → Enter Instance Name → Select your Public/Private key pairs (Checkout my post on how to create a key pair) → Scroll down and click on ‘Microsoft Windows Server 2012 Base‘ which is the base image I will be using for this post → Click Continue


– Review your settings → then click Launch to launch the instance


Note: The default security group created authorizes all IP addresses to access your instance over the specified ports (i.e. 3389=RDP). In a production, you need to authorize only specific IP address or range of IP addresses by clicking on the Edit details → Security Settings and create a new Security Group


– You should get a notification page letting you know your instance is been launched


– Close the screen and wait for the status checks to complete initialization….


– You should see this when initialization is completed


Step 2: Connect to Instance

– To connect to the server → Right-click on the instance and click Connect


– In the Console Connect dialog box → click Retrieve Password


– Click Browse and navigate to the private key file → Select the file and click OK (the private key content should appear in content box)


– Click Decrypt Password → The administrator password should now be displayed in the console. Write than or copy both the Public DNS address and the password in a save location


– Click on Start\Run on your machine, type ‘mstsc’ and click OK


– Enter the Public DNS address of the instance, click OK and you will prompted for username and password → Enter the username and password and you should now gain access to the instance


Note: If you are accessing this from a domain machine, add .\ to the username (.\Administrator)


I hope I have made these steps easy to follow and that it has been useful to someone…

comments powered by Disqus