Site icon DesignLinux

How to Setup CentOS Stream from AWS Marketplace

In the current trend of IT Infrastructure, Cloud Computing occupies a tremendous role. Most of the top companies are looking for Cloud Providers to have their Infrastructure. As per our requirement, we can provision our servers at any time. According to the server configuration, we will be charged per usage.

Amazon Marketplace is the place where you can find software from qualified third-party vendors. It is like an online software store where you can buy software and use it as per your need.

In this article, we will see the detailed steps to launch CentOS-Stream from AWS Marketplace.

Set Up CentOS Stream on AWS

1. Log in to AWS Console, click the ‘Services‘ tab from the right top, and select EC2. Also, you will be shown ‘recently visited services‘.

AWS Management Console
Choose EC2 Service

2. Click ‘Launch Instance to launch an Amazon EC2 instance.

Launch Amazon EC2

3. Click ‘AWS Marketplace‘.

AWS Marketplace

4. Search ‘centos stream‘ in the search bar.

Search CentOS Stream

5. You can get CentOS Stream Images. Select as per your requirement. Here I am selecting the first option. From here, there are 7 steps to Launch the Instance.

Select CentOS Stream

6. Once selected the Image, you will get details of the release with price details. Click ‘Continue’.

CentOS Stream Pricing

7. According to the Instance type, the price will get vary. Here I am selecting ‘t2 – Free Tier‘ for demonstration.

Choose Instance Type

8. Configure the Instance Details. You can launch multiple Instances in a single shot.

Set Number of Instances

9. Add Storage if you require more. By default, 8GB will be provided.

Add Storage Space

10. Add tag for Instance identification. Here, I have named as ‘tecmint‘.

Add Tag for Instance
Enter Instance Name

11. Configure the Security Group by selecting a new security group and configure it according to your requirement. By default, ssh and its port would be opened.

Add Security Group

12. You can review all the configuration details of the Instance. Click ‘Launch‘ to proceed.

Review Instance Launch

13. You will be asked to create or select a key pair for connecting the server from ssh client. Select ‘Create a new key pair‘, name your key pair, and download. Click ‘Launch Instance‘ to launch.

Create New SSH Pair
Initiating Instance Launches

14. Once launched, an instance ID will be created. You can click the Instance ID to get into the Instance page.

Instance ID

15. You can view the Instance that you launched.

View Instance

16. To connect to the CentOS-Stream server through Putty, you have to create a private key using the .pem (tecmint_instance) file downloaded from AWS while launching the instance. Open ‘Putty Key Generator’ and Load ‘tecmint_instance‘ from your local system.

Create Private SSH Key

17. Click ‘OK’ and save the private key.

Save Private SSH key
Related Read: Useful PuTTY Configuration Tips and Tricks

18. Copy the Public IP address of the CentOS-Stream Instance from the AWS Instances page.

Get IP Address

19. Open PuTTy and enter the IP address. Expand SSH by clicking + symbol.

Connect to CentOS Stream

20. Click ‘Auth’, browse the private key that you created and click ‘Open’ to connect the server.

Set Auth SSH Key

21. You will be connected, ‘centos‘ is the default username to connect using AWS key.

CentOS SSH Connection

22. You can verify the OS release using the below cat command.

$ cat /etc/os-release
Check CentOS Stream Version
Conclusion

In this article, we have seen detailed steps to launch CentOS-Stream from AWS Marketplace. We will see other services of AWS in upcoming articles.

Exit mobile version