Table of Contents | ||||
---|---|---|---|---|
|
Requirements:
AWS account
Internet connection
Overview
The steps given here are simple and is to help installing Rocky Linux on AWS and installation of CCE, however, you must have an AWS account, without it, we won’t be able to install anything on this cloud computing service.
AWS account
Internet connection
.
AWS Instance Setup Steps
Log in to AWS and access the EC2 Dashboard
Here I am assuming that you already have created an account on Amazon Web services, hence now go to Ec2 Dashboard. Alternatively, you can use this link. https://ap-south-1.console.aws.amazon.com/ec2/v2/home.
...
Launch a New Instance
Once you are on the AWS Ec2 Dashboard, click on the Instances option from the left side given menu, and then hit the “Launch Instances” button.
...
After that this screen will open:
...
Put instance Name:
...
Choose Rocky Linux 8 Amazon Machine Image
Now, select “AWS Marketplace” and then in the search box type – Rocky Linux. Soon, you will see the official Rocky Linux 8 Amazon Machine Image to select.
...
After that hit the “Continue” button.
...
Chose an amazon machine image (AMI) and Click on AWS marketplace AMIs (304)
...
Choose Ec2 Instance Type
In this step, we will select the hardware resources we want to assign to our Rocky Linux Instance. You can use the free trial for the initial start and later scale the resource. However, if you want this Linux to start providing commercial services then select the resources- CPU, RAM, and other things as per the requirements. Here we are going for the Free Trail one.
Once you have selected, click on the “Review and Launch“.
...
Download an existing key pair or create a new one
To connect the created Rocky Linux Ec2 Instance remotely via SSH, we need a Key Pair. So, for that either use the existing one or simply select “Create a new key pair” and then give some name to your key, for example here we are giving “Rocky”. After that click on the “Download Key Pair” and the “Launch Instances” button.
Note: Save the Key pair somewhere safe…
Create Network setting
...
Configure storage
...
Review Rocky Linux Instance Launch
Here we can edit any present hardware resources, we want. Such as those who want to increase the Storage space that is by default will be – 10 GB, need to hit the Edit button given in front of it. However, if you are already satisfied with the default settings then simply click on the “Launch” button.
...
After the above setting click on the lunch instance button which is shown in the above screenshot.
After that this screen will show:
...
After that click on connect button:
...
Setup Rocky Linux Instance
Open your local system command terminal or prompt and go where you keep pem file and use the following command syntax:
...
Ensure that you become root instead of rocky user. You will do that by running the command “sudo su”
After that run this command for seceon server setup
curl https://si.seceon.com:8444/repos/env/8.0.0/seceon-env-setup.txt --output ./seceon-env-setup.sh -k && bash ./seceon-env-setup.sh
...