top of page
  • Linkedin
Search

Getting Started with AWS ROSA: Red Hat OpenShift Service on AWS - Part 2

Updated: Mar 16, 2025




🚀 Deploying Your First AWS ROSA Cluster: Part 2

Introduction 🌟

Welcome back! In our first blog, we covered all the necessary pre-requisites for deploying AWS ROSA (Red Hat OpenShift Service on AWS). Now, it's time to install and set up your first ROSA cluster step by step! 🎉

This guide will walk you through the process of deploying ROSA, configuring users, and validating your installation.

🔧 Step 1: Authenticate and Configure ROSA CLI

Before deploying a ROSA cluster, you must log in and set up your AWS and Red Hat authentication.

🔑 Authenticate with AWS

Run the following command to authenticate the AWS CLI:

aws configure

Provide your AWS Access Key, Secret Key, Region, and Output format as prompted.

🔴 Authenticate with ROSA CLI

Now, log in to your Red Hat account with the ROSA CLI:

rosa login

This command will prompt you to authenticate via a web browser.

Ensure your account is linked to the Red Hat Organization Account as covered in Part 1.

🏗️ Step 2: Enable ROSA and AWS IAM Integration

To deploy a ROSA cluster, ensure that ROSA services are enabled on AWS.

✅ Enable ROSA

rosa enable

Follow the prompts to accept the service agreements and enable ROSA on AWS.

✅ Create ROSA Admin IAM Roles

rosa create account-roles --mode auto

This command automatically creates and configures IAM roles required for ROSA.

🚀 Step 3: Deploy Your ROSA Cluster

Now, let's create your first ROSA cluster! 🎉

📌 Create a Cluster

rosa create cluster --cluster-name=my-rosa-cluster --sts

Replace my-rosa-cluster with your desired cluster name.

The CLI will ask you to confirm the cluster settings and proceed with the installation.

📌 Verify the Cluster Deployment

rosa describe cluster --cluster=my-rosa-cluster

Wait for the status to change to "Ready" before proceeding.

🔄 Step 4: Configure the OpenShift CLI (oc)

Once your ROSA cluster is ready, configure the OpenShift CLI (oc) to interact with your cluster.

🔑 Retrieve Admin Credentials

rosa create admin --cluster=my-rosa-cluster

This command provides a one-time login token and the console URL.

🔗 Log in to OpenShift

oc login https://your-cluster-url:6443 --username=admin --password=<your-password>

Replace your-cluster-url and <your-password> with the actual credentials provided.

📌 Step 5: Verify the Cluster Status

🔍 List Nodes

oc get nodes

Ensure all nodes are in a Ready state.

🔍 Check Cluster Operators

oc get co

All components should show AVAILABLE=True.

🎯 Conclusion

Congratulations! 🥳 You have successfully deployed your AWS ROSA cluster and connected to it using the OpenShift CLI. Now you can start deploying applications on your OpenShift environment.

If you prefer Infrastructure as Code (IaC), you can also deploy your ROSA cluster using Terraform scripts. Terraform allows you to automate cluster provisioning and management efficiently. Stay tuned for our next blog, where we’ll provide a dedicated guide on deploying ROSA using Terraform! 🚀

 
 
 

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating

Contact Us

Thanks for submitting!

 Address. Wellington, New Zealand 6012

Tel. 64-27414-1650

© 2035 by ITG. Powered and secured by Wix

bottom of page