Thursday, August 3, 2023

How to provision Red Hat Linux EC2 Instance in AWS | How to create EC2 instance in AWS console | Launch Red Hat Instance in AWS

How to create a Red Hat Linux EC2 instance in AWS console using new UI experience?

What is EC2 instance? 

It is virtual server provided by AWS.  Please follow the below steps to create an Red Hat Linux EC2 instance.


1: Login to AWS console by clicking this link -->
click on All services, Click on Compute -->  Click on EC2

2. Click on Launch instance

3. Enter Name as EC2 and enter 1 as number of instance

4. Select Red Hat and choose Red Hat Enterprise Linux

5. Enter t2.small as instance type
6. Click on Create new Key Pair

7. Choose the existing key pair if you have one, otherwise create new one, give some name as myJenkinsKey. Make sure you download the key in your local machine. Please do NOT give space or any character while naming the key.

8. Under Network settings, Click Edit

Add port range as 8080 and select AnyWhere as Source Type, that should enter as Source

9. Configure Storage
Enter 15 GB as root volume 

And then make sure in Summary, values appear as below:

10. Click on Launch Instance.

Click on View instances

Now you should be able to view instance in AWS console. 

Please follow steps below to connect to EC2 instance from your local machine.

Connect to EC2 instance from local machine:
Please click the below link to understand the steps for connecting to EC2 instance from your local machine - windows or Apple laptop.

Watch Steps in YouTube channel:

No comments:

Post a Comment

Automate Azure App Service setup using Ansible and Azure DevOps pipeline | How to integrate Ansible with Azure DevOps | How to Create WebApp in Azure Cloud using Ansible

Ansible is an open-source, configuration management tool that automates cloud provisioning, configuration management, and application deploy...