This is a cache of https://docs.openshift.com/rosa/cloud_experts_tutorials/cloud-experts-getting-started/cloud-experts-getting-started-deploying/cloud-experts-getting-started-simple-cli-guide.html. It is a snapshot of the page at 2024-11-24T03:02:34.879+0000.
Simple <strong>cli</strong> guide - Getting started with ROSA | Tutorials | Red Hat OpenShift Service on AWS
×

This page outlines the minimum list of commands to deploy a Red Hat OpenShift Service on AWS (ROSA) cluster using the command line interface (cli).

While this simple deployment works well for a tutorial setting, clusters used in production should be deployed with a more detailed method.

Prerequisites

  • You have completed the prerequisites in the Setup tutorial.

Creating account roles

Run the following command once for each AWS account and y-stream OpenShift version:

rosa create account-roles --mode auto --yes

Deploying the cluster

  1. Create the cluster with the default configuration by running the following command substituting your own cluster name:

    rosa create cluster --cluster-name <cluster-name> --sts --mode auto --yes
  2. Check the status of your cluster by running the following command:

    rosa list clusters