How to create an EC2 instance step by step

How to create an EC2 instance step by step

How to create an EC2 instance step by step

Hello everyone

Welcome to CloudAffaire and this is Debjeet.

In the last post, we have covered how to create an AWS account. You can create your own by following the below link.

https://cloudaffaire.com/create-aws-account/

In this blog, we will learn how to create an EC2 instance step by step.

AWS provides different services to leverage features of AWS cloud and today we will create our 1st server using AWS EC2 service. We can create a server (In AWS servers are called instance and we will refer server as an instance for remaining of this blog series) using AWS EC2 service. EC2 or Elastic Compute Cloud is one of the core services of AWS cloud offering and is used to create an instance in the cloud.

To create one EC2 instance one needs an activated AWS account.

How to create an EC2 instance step by step

Step 1: Open your browser and go to below link and click ‘Sign In to the Console’.

https://aws.amazon.com/console/

how to create an EC2 instance step by step

Step 2: Provide your email id and password and click ‘Sign In’.

how to create an EC2 instance step by step

Once successfully logged in you will be redirected to AWS console

how to create an EC2 instance step by step

Step 3: Click ‘EC2’ under Compute.

how to create an EC2 instance step by step

Step 4: Click ‘Launch Instance’.

how to create an EC2 instance step by step

Step 5: Select an AMI for your instance.

AMI or Amazon Machine Image serves as a template to your instance with OS and Application preconfigured. We will cover AMI in details in later posts. For now, select an AMI that is free tier eligible. In this post, we are going to use Amazon Linux AMI. Click ‘Select’.

how to create an EC2 instance step by step

Step 6: Select instance type and click ‘Next: Configure Instance Details’. Again we are going to select free tier eligible one.

how to create an EC2 instance step by step

Step 7: We are not going to configure any details on this page.¬†Click ‘Next: Add Storage’.

AWS EC2 provides tons of customization options for your instance. We will cover those options in future blogs.

how to create an EC2 instance step by step

Step 8: Click ‘Next: Add Tags’.

AWS EC2 provides 30 GB of free storage and there are different storage options as well. We are not going to change any setting on this page.

how to create an EC2 instance step by step

Step 9: Click ‘Next: Configure Security Group’.

You can add a tag to your resources in AWS for better management. We are not going to add any tag for this blog,

how to create an EC2 instance step by step

Step 10: Security group acts as a firewall for your EC2 instance. Give a name to your security group and click ‘Review and Launch’.

how to create an EC2 instance step by step

Step 11: All the configuration will be displayed for review, click ‘Launch’ to launch your instance.

how to create an EC2 instance step by step

Step 12: AWS EC2 instance uses a Key pair for password-less connection to an instance. We are going to create one new Key Pair in this section. Select ‘Create a new Key pair’ from the drop down and give it a name then click ‘Download Key Pair’. Once downloaded click Launch Instances.

Note: Keep the Key pair in a safe location. Without Key Pair, you will not be able to connect to your instance. This is a one-time operation.

how to create an EC2 instance step by step

Step 13: Your instance will launch, to view your instance scroll down and click ‘View Instance’.

how to create an EC2 instance step by step

Step 14: If everything is ok, you will get your new EC2 instance.

how to create an EC2 instance step by step

Hope you have enjoyed this article. EC2 has tons of features and we will try to cover all of them in future blogs. In the next blog post, we are going to connect to this newly built instance.

 

Leave a Reply

Close Menu