Module 0 — Access Your ROSA Cluster
In this first lab you will log into your pre-provisioned Red Hat OpenShift Service on AWS (ROSA) cluster, verify your CLI tools are working, and review the overall workshop architecture before getting started.
Your cluster was provisioned before the workshop began — you do not need to create it. This lets you spend your time on what matters: deploying AI infrastructure and building applications.
|
Estimated time: 20 minutes |
Your Lab Credentials
Your instructor will provide the following details. Fill them in now — you will use them throughout the workshop.
| Item | Value |
|---|---|
Cluster Name |
|
OpenShift API URL |
|
OpenShift Web Console |
|
Admin User |
|
Admin Password |
|
AWS Region |
|
Availability Zone (GPU) |
|
Log In via the CLI
-
Save your credentials as environment variables so you can reuse them throughout the workshop:
export GUID={guid} export CLUSTER_NAME=rosa-${GUID} export ADMIN_PASSWORD={rosa_openshift_admin_password} export AWS_AZ={aws_az} echo "GUID=$GUID CLUSTER=$CLUSTER_NAME"Save them to
.bashrcso they persist across terminal sessions:cat >> $HOME/.bashrc << 'EOF' export GUID={guid} export CLUSTER_NAME=rosa-${GUID} export ADMIN_PASSWORD={rosa_openshift_admin_password} export AWS_AZ={aws_az} EOF -
Log into the cluster with the OpenShift CLI:
oc login {rosa_openshift_api_url} \ --username {rosa_openshift_admin_user} \ --password {rosa_openshift_admin_password}Sample OutputLogin successful. You have access to 100 projects, the list is suppressed. You can list all with 'oc projects'. Using project "default". -
Verify you are logged in and have cluster-admin rights:
oc whoami && oc get nodesSample Outputcluster-admin NAME STATUS ROLES AGE VERSION ip-10-0-1-20.eu-west-1.compute.internal Ready control-plane,master 3h v1.29.8 ip-10-0-2-45.eu-west-1.compute.internal Ready worker 3h v1.29.8 ip-10-0-3-12.eu-west-1.compute.internal Ready worker 3h v1.29.8You should see two or three worker nodes. No GPU node yet — you will create it in the next module.
-
Verify the
rosaCLI is available and authenticated:rosa whoamiSample OutputAWS Account ID: 123456789012 AWS Default Region: eu-west-1 OCM API: https://api.openshift.com OCM Account ID: 1abc2defghi3jklmno4 OCM Account Name: Workshop User OCM Account Username: workshop-user@example.com OCM Organization ID: 1ABCDEFG OCM Organization Name: Workshop Org
Log In to the OpenShift Web Console
-
Get your console URL:
oc whoami --show-console -
Open the URL in your browser, select the cluster-admin identity provider, and log in with your credentials.
You should land on the Administrator overview page of the OpenShift Web Console.
-
Familiarize yourself with the left navigation:
-
Home → Overview — cluster health and capacity
-
Compute → Nodes — your current worker nodes
-
Operators → Installed Operators — where installed operators appear (currently empty)
-