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-25T03:02:57.979+0000.
Simple CLI guide - Getting started with ROSA | Tutorials | Red Hat OpenShift <strong>service</strong> 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