Create a Windows EC2 Instance and Connect Using RDP
Last Updated :
28 Mar, 2023
EC2 stands for Elastic Compute Cloud. EC2 is an on-demand computing service on the AWS cloud platform. Under computing, it includes all the services a computing device can offer to you along with the flexibility of a virtual environment. In this article, we will see how to create an EC2 instance on AWS and how we can access that instance using RDP applications.
Creating an EC2 Instance:
Step 1 - Search for EC2 in Services.
Step 2 - Click on Launch Instance.
Step 3 - Now we will fill in the configurations for creating an EC2 Instance. Give a name to your Instance or remain its default. Then select the Windows AMI (Amazon machine Image). We are selecting Microsoft Windows server 2022 base.
Now select the Instance type.
Select the key pair or create your own by clicking on Create new Key pair.
In the Network setting, make sure RDP traffic is allowed.
Set your storage up to your need. Now we are ready to launch our instance by clicking on Launch Instance on the right side.
After some time your instance will be ready and in next step, we are ready to connect with our EC2 instance using RDP Client application.
Step 4 - The First download and install RDP client app to your instance list, select your instance and click on Connect. There are three ways to connect to the instance, click on RDP Client.
Now click on Download remote desktop file.
We also need a password to connect for that, click on Get Password and browse your key pair and click on Decrypt Password. After this, your password will be shown on the screen, copy it and save it somewhere.
Now double-click on the remote desktop file you downloaded earlier. Paste the password and press Continue. (If your RDP connection client application asks you for a username, type Administrator.)
You are connected to your Windows server.
Similar Reads
Creating an EC2 Instance with AWS CLI: A Simple Tutorial Amazon EC2 (Elastic Compute Cloud) is a core service in AWS that allows users to launch and manage virtual machines in the cloud. While the AWS Management Console is commonly used to create and manage EC2 instances, the AWS Command Line Interface (CLI) offers a powerful way to automate the process,
7 min read
Amazon RDS Instance Types Amazon RDS (Relational Database Service) offers different instance types that take care of various execution and asset necessities. Remember that Amazon Web Services (AWS) as often as possible updates its services, so there may be extra occasion types or changes after my last update. Continuously al
15+ min read
How to Create a Flask API with MariaDB on AWS EC2 In this article, We are going to create an ec2 instance, install a MySQL database using MariaDB on the ec2 instance, and create an API of Login using the flask python framework. Flask is a micro web framework written in Python. MariaDB is one of the most popular open-source relational database manag
6 min read
RDS Vs EC2: Which is Better? Choosing between Amazon RDS and Amazon EC2 for database hosting is crucial for businesses looking for high-performance, scalable, and cost-effective cloud solutions. Amazon EC2 offers complete control over configurations, making it ideal for high-traffic websites, custom applications, and big data p
8 min read
Run Commands on EC2 Instance Remotely This article explores the process of running commands on EC2 instance remotely. AWS Systems Manager is a Management Tool that enables you to gain operational insights and take action on AWS resources safely and at scale. AWS Systems Manager is an always free tier product. The EC2 instance you create
4 min read