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
AWS Management Console
Choose EC2 Service
Choose EC2 Service

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

Launch Amazon EC2
Launch Amazon EC2

3. Click ‘AWS Marketplace‘.

AWS Marketplace
AWS Marketplace

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

Search CentOS Stream
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
Select CentOS Stream

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

CentOS Stream Pricing
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
Choose Instance Type

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

Set Number of Instances
Set Number of Instances

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

Add Storage Space
Add Storage Space

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

Add Tag for Instance
Add Tag for Instance
Enter Instance Name
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
Add Security Group

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

Review Instance Launch
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
Create New SSH Pair
Initiating Instance Launches
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
Instance ID

15. You can view the Instance that you launched.

View Instance
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
Create Private SSH Key

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

Save Private SSH key
Save Private SSH key

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

Get IP Address
Get IP Address

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

Connect to CentOS Stream
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
Set Auth SSH Key

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

CentOS SSH Connection
CentOS SSH Connection

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

$ cat /etc/os-release
Check CentOS Stream Version
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.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Mohan Sivam
A Solution Architect and Bigdata infrastructure with over 10 years of experience in Information technology.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.