Table of Contents
This tip is about the how to install Rocky Linux 8 on Amazon AWS Ec2 Instance. So read this free guide, How to install Rocky Linux 8 on Amazon AWS Ec2 Instance step by step. If you have query related to same article you may contact us.
How to install Rocky Linux 8 on Amazon AWS Ec2 Instance – Guide
Rocky Linux 8 is the latest Linux operating system to replace CentOS 8, but with long-term support that has been dropped by its RedHat controller. So if you’re an Amazon cloud user and want to get started with Rocky Linux, then here they are the steps to install it on the AWS Ec2 instance
Requirements:
Installing Rocky Linux 8 on AWS EC2 instance
The steps provided here are simple, however you must have an AWS account, without it we will not be able to install anything on this cloud computing service.
1. Log in to AWS and access EC2 Dashboard
Here I’m assuming you’ve already created an Amazon Web Services account, so now go to Ec2 Dashboard. Alternatively you can use this link. https: // ap-south-
1.console.aws.amazon.com/ec2/v2/home.
2. Start a new instance
Once you are on the AWS Ec2 dashboard, click on the Instances option in the provided left-hand menu, then click on “Start Instances” button.
Ec2 panel to access instances
3. Choose Rocky Linux 8 Amazon Machine Image
Now select “AWS Marketplace” and in the search box type – Rocky Linux. You will soon see the official Rocky Linux 8 Amazon Machine image to select from.
This AMI is also eligible to run on the AWS free tier, so just click the “Select” button button.
After that, click “Continue” button.
Select Rocky Linux Amazon Machine Image
4. Choose the Ec2 instance type
In this step, we will select the hardware resources we want to assign to our Rocky Linux instance. You can go for the free trial to start and later scale the feature. However, if you want this Linux to start providing commercial services, select the resources – CPU, RAM and other things as per the requirements. Here we go to the Free Trail.
After selecting, click “Review and Launch“.
Select instance hardware type
5. Review the Rocky Linux instance release
Here we can edit any current hardware resources we want. As those who want to increase the storage space which is by default will be -10 GB, they need to click the Edit button button given in front of him. However, if you are already satisfied with the default settings, just click the “Start” button button.
Analyze the Rocky Linux Ec2 instance
6. Download an existing key pair or create a new one
To connect the Rocky Linux Ec2 instance created remotely via SSH, we need a key pair. So for that use the existing one or simply select “Create a new key pair” and then give your key some name, for example here we are giving “Rocky”. After that, click on “Download Key Pair” and then on “Launch Instances” button.
Download SSH Key Pair
7. Connect to Rocky Linux instance
Open the command terminal or local system prompt and use the following command syntax:
ssh -i “path to downloaded keypair” rocky @ server-public-ip-address
Replace downloaded keypair path with the path where your real key is located.
Or else you can use SSH client like MobaXterm. For more details, you can see our article. How to AWS ec2 Linux SSH instances remotely.
Install Rocky Linux 8 on AWS EC2 instance
Please share this article if you like it!
Final note
I hope you like the guide How to install Rocky Linux 8 on Amazon AWS Ec2 Instance. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.