Launch an EC2 Linux instance in AWS

Learn how to launch an EC2 Linux instance in AWS

Launch an EC2 Linux instance in AWS

In this tutorial you will learn how to create and run a new EC2 linux instance in AWS.

Prerequisite:

We’ll be using all the options which are eligible under the AWS Free tier account. To follow along this tutorial please create a Free tier eligible account in AWS.

Steps to create a new EC2 instance:

1. In the AWS console click on Services -> EC2.

2. Click on Launch instance.

3. Choose any Amazon Machine Image for Linux (Ex – Amazon Linux 2 AMI (HVM)) and click on Select.

4. Choose any Instance Type (Ex – General Purpose, t2.micro) and click on Next.

5. Don’t change anything on the Configure Instance Details page and click on Next.

6. In Add Storage page, enter the volume size (Ex – 16 GB) and click on Next.

7. Click on Add Tag, enter Key = Name and Value = Demo EC2 Server. Click on Next.

8. In Configure Security Page, enter a Security group name: demo-security-group and add the following Rules.

9. Click on Review and Launch.

10. In Review Instance Launch page, review all the details entered for ec2 instance and click on Launch.11. Choose Create a new key pair, enter a new key pair name “aws-demo-key” and click on Download Key Pair.

12. Click on Launch Instances.

13. Go back to your EC2 dashboard and a new Linux EC2 instance will be in running status.

Bijan Patel
Full Stack Test Automation Expert | Selenium Framework Developer | Certified Tosca Automation Specialist | Postman | DevOps | AWS | IC Agile Certified | Trainer | Youtuber | Blogger|

Launch your GraphyLaunch your Graphy
100K+ creators trust Graphy to teach online
𝕏
QASCRIPT 2024 Privacy policy Terms of use Contact us Refund policy