Create Your First Amazon EC2 Instance (Windows)

Lab Steps

Logging in to the Amazon Web Services Console
Creating a Windows EC2 Instance
Retrieving the Administrator Password Using the Keypair
Connecting to a Windows EC2 Instance Using a Remote Desktop Connection
Viewing the EC2 instance metadata (Windows)

The hands-on lab is part of these learning paths

Certified Developer – Associate Certification Preparation for AWS
course-steps 29 certification 5 lab-steps 22 description 2
AWS Cloud Practitioner Certification Preparation
course-steps 11 certification 2 lab-steps 5
Fundamentals of AWS
course-steps 6 certification 6 lab-steps 6 description 2

Ready for the real environment experience?

Time Limit1h 15m
star star star star star-half


Amazon EC2 allows you to launch different types of cloud instances and pay for them with a pay-per-use approach. With Amazon EC2 you can create new servers in a few minutes and use different images (AMI) to personalize them. AWS provides several Microsoft Windows Server AMIs that enable you to run almost any compatible Windows-based solution. You can use Windows-based applications, websites, and web-services written in .NET, for data processing, media transcoding, and any other task requiring Windows software.

By completing this Hands-on Lab, you will be able to launch and access your first Amazon EC2 instance running Microsoft Windows Server.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Use the AWS Management Console to create an EC2 instance using the Windows operating system
  • Use the AWS Management Console to work with EC2 Key Pairs
  • Access the EC2 instance using Remote Desktop

Lab Prerequisites

You should be familiar with:

  • Some familiarity with Windows and Remote Desktop Connection is helpful but not required
  • Some familiarity with the AWS Management Console is helpful but not required


June 14th, 2019 - Updated the format of the Lab to improve quality

December 4th, 2018 - Added a validation Lab Step to check the work you perform in the Lab

Environment before
Environment after

About the Author

Learning paths1

Matt has worked for multiple Fortune 500 companies as a DevOps Engineer and Solutions Architect. He is an AWS Certified Solution Architect - Associate, AWS Certified SysOps Administrator - Associate and an AWS Certified Developer - Associate. He enjoys reading and learning new technologies.