How to create a cluster in Red Hat OpenShift Service on AWS with STS

Learn how to set up accounts and clusters with Red Hat® OpenShift® Service on AWS (ROSA) using AWS Security Token Service (STS) to help build container-based applications faster.

Please note, this is the deployment method that Red Hat recommends. For non-STS ROSA deployment, visit this page.

Learn how to set up accounts and clusters with Red Hat® OpenShift® Service on AWS (ROSA) using AWS Security Token Service (STS) to help build container-based applications faster.

Please note, this is the deployment method that Red Hat recommends. For non-STS ROSA deployment, visit this page.

Setting up STS environment for Red Hat OpenShift Service on AWS (ROSA)

30 mins

Using ROSA with the Amazon security token service (STS) requires an environment to be set up before clusters can be deployed. This setup process will include installing the AWS Command Line Interface (CLI), ROSA CLI, and OpenShift CLI. 

What will you learn?

What you need before starting:

Creating a cluster environment:

  1. Sign into your AWS account and enable the ROSA service from the AWS console. 
  2. Install and configure the AWS CLI for your instance. 
  3. Download the latest version of ROSA and install it.
    • Extract the file with the following command: $ tar xvf rosa-linux.tar.gz
    • Add rosa to your path: $ sudo mv rosa /usr/local/bin/rosa
    • Verify rosa CLI is installed: $ rosa version
  4. Sign into your Red Hat account through the ROSA CLI and verify the AWS account quotas.
  5. Run the necessary commands to validate your credentials and prepare your AWS account for cluster deployment. 
  6. Then install OpenShift CLI (oc) to verify your ROSA installation
    • Download (oc) with the following command: $ rosa download openshift-client
  7. Extract with this: $ tar xvf openshift-client-linux.tar.gz
  8. Add (oc) to your path: $ sudo mv oc /usr/local/bin/oc
  9. Verify (oc) is installed correctly with: $ rosa verify openshift-client

Once these steps are complete, your environment is ready to create a cluster.
 

This learning path is for operations teams or system administrators

Developers may want to check out Foundations of OpenShift on developers.redhat.com.

Get started on developers.redhat.com