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.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.