EC2 is an AWS service that provides resizable compute capacity in the cloud. It allows users to create and manage virtual servers.
In this tutorial, we will be going through the process of launching an EC2 (Elastic Compute Cloud) instance on AWS.
Prerequisites:
- An AWS account
- Basic knowledge of AWS services
Step 1: Sign in to the AWS Management Console
- Login to your AWS account by going to the AWS Management Console - console.aws.amazon.com
- Enter your credentials to log in.
Step 2: Launching an EC2 Instance
- From the AWS Management Console, search "EC2" and click it.
- Now, click on the "Launch Instance" button to begin the instance creation process.
Step 3: Choose an Amazon Machine Image (AMI)
- Select an AMI based on your requirements such as Amazon Linux 2, Ubuntu, Windows Server, etc.
- Click on the "Select" button after choosing.
Step 4: Choose an Instance Type
There are different instance types which differ in terms of computing power, memory, storage, and network performance.
- Select the instance type as required (e.g., t2.micro, m5.large, etc.)
Step 5: Configure Instance Details
- Next, we will configure the instance settings, such as the number of instances, network settings, etc.
Step 6: Add Storage
- Next, you can specify the storage requirements for your EC2 instance such as size, type, and other storage options, etc.
Step 7: Configure Security Group
- Now you can create a security group or select an existing one.
- Choose rules to control traffic access to your instance.
Step 8 Review Instance Launch
- Review the configuration details of your EC2 instance and if everything is as desired then click on the "Launch" button.
Step 9: Create a Key Pair
A key pair basically allows you to securely connect to your EC2 instance by using SSH.
- Now you can choose an existing key pair or create a new one.
Step 10: Launch Instance
- Click on the "Launch Instances" button to launch the instance.
Step 11: Connecting to Your EC2 Instance
- Once the instance is launched, you can choose it from the EC2 dashboard and now copy or note down the Public IP address of it.
Step 12: Connect via Remote Desktop
- Search "Remote Desktop" in the Start menu and open it on your Windows machine.
- Enter the Public IP address of your EC2 instance in the popup.
- Provide your username and password if asked and connect.
Top comments (8)
You explained how to launch EC2 in AWS. Nice Blog
Thanks a lot !
Great Work
Thank you !
Well u explained pretty well to a non AWS user like me......its a nice blog writing and very impressive.
Thank you ! Happy to know.
Thank you Jyoti bhasin for your blog. You explained how to launch EC2 in AWS very well. It was very straightforward. I will try it soon.
Thanks a lot !