This tutorial describes the process for activating Red Hat OpenShift Service on AWS (ROSA) with hosted control planes (HCP) and linking to an AWS account, before deploying the first cluster.
If you have received a private offer for the product, make sure to proceed according to the instructions provided with the private offer before following this tutorial. The private offer is designed either for a case when the product is already activated, which replaces an active subscription, or for first time activations. |
Make sure to log in to the Red Hat account that you plan to associate with the AWS account where you have activated ROSA with HCP in previous steps.
The AWS account used for service billing can only be associated with a single Red Hat account. Typically an AWS payer account is the one that is used to subscribe to ROSA and used for account linking and billing.
All team members belonging to the same Red Hat organization can use the linked AWS account for service billing while creating ROSA with HCP clusters.
Activate the ROSA with HCP product at the AWS console page by clicking the Get started button:
If you have activated ROSA before but did not complete the process, you can click the button and complete the account linking as described in the following steps.
Confirm that you want your contact information to be shared with Red Hat and enable the service:
You will not be charged by enabling the service in this step. The connection is made for billing and metering that will take place only after you deploy your first cluster. This could take a few minutes.
After the process is completed, you will see a confirmation:
Other sections on this verification page show the status of additional prerequisites. In case any of these prerequisites are not met, a corresponding message is shown. Here is an example of insufficient quotas in the selected region:
click the Increase service quotas button or use the Learn more link to get more information about the about how to manage service quotas. In the case of insufficient quotas, note that quotas are region-specific. You can use the region switcher in the upper right corner of the web console to re-run the quota check for any region you are interested in and then submit service quota increase requests as needed.
If all the prerequisites are met, the page will look like this:
The ELB service-linked role is created for you automatically. You can click any of the small Info blue links to get contextual help and resources.
click the orange Continue to Red Hat button to proceed with account linking:
If you are not already logged in to your Red Hat account in your current browser’s session, you will be asked to log in to your account:
Your AWS account must be linked to a single Red Hat organization. |
You can also register for a new Red Hat account or reset your password on this page.
Make sure to log in to the Red Hat account that you plan to associate with the AWS account where you have activated ROSA with HCP in previous steps.
The AWS account used for service billing can only be associated with a single Red Hat account. Typically an AWS payer account is the one that is used to subscribe to ROSA and used for account linking and billing.
All team members belonging to the same Red Hat organization can use the linked AWS account for service billing while creating ROSA with HCP clusters.
Complete the Red Hat account linking after reviewing the terms and conditions:
This step is available only if the AWS account was not linked to any Red Hat account before. This step is skipped if the AWS account is already linked to the user’s logged in Red Hat account. If the AWS account is linked to a different Red Hat account, an error will be displayed. See Correcting Billing Account Information for HCP clusters for troubleshooting. |
Both the Red Hat and AWS account numbers are shown on this screen.
click the Connect accounts button if you agree with the service terms.
If this is the first time you are using the Red Hat Hybrid Cloud Console, you will be asked to agree with the general managed services terms and conditions before being able to create the first ROSA cluster:
Additional terms that need to be reviewed and accepted are shown after clicking the View Terms and Conditions button:
Submit your agreement once you have reviewed any additional terms when prompted at this time.
The Hybrid Cloud Console provides a confirmation that AWS account setup was completed and lists the prerequisites for cluster deployment:
The last section of this page shows cluster deployment options, either using the rosa
cli or through the web console:
Make sure that you have the most recent ROSA command line interface (cli) and AWS cli installed and have completed the ROSA prerequisites covered in the previous section. See Help with ROSA cli setup and Instructions to install the AWS cli for more information. |
Initiate the cluster deployment using the rosa create cluster
command. You can click the copy button on the Set up Red Hat OpenShift Service on AWS (ROSA) console page and paste the command in your terminal. This launches the cluster creation process in interactive mode:
To use a custom AWS profile, one of the non-default profiles specified in your ~/.aws/credentials
, you can add the –profile <profile_name>
selector to the rosa create cluster command so that the command looks like rosa create cluster –profile stage
. If no AWS cli profile is specified using this option, the default AWS cli profile will determine the AWS infrastructure profile into which the cluster is deployed. The billing AWS profile is selected in one of the following steps.
When deploying a ROSA with HCP cluster, the billing AWS account needs to be specified:
Only AWS accounts that are linked to the user’s logged in Red Hat account are shown.
The specified AWS account is charged for using the ROSA service.
An indicator shows if the ROSA contract is enabled or not enabled for a given AWS billing account.
If you select an AWS billing account that shows the Contract enabled label, on-demand consumption rates are charged only after the capacity of your pre-paid contract is consumed.
AWS accounts without the Contract enabled label are charged the applicable on-demand consumption rates.
The detailed cluster deployment steps are beyond the scope of this tutorial. See Creating ROSA with HCP clusters using the default options for more details about how to complete the ROSA with HCP cluster deployment using the cli.
A cluster can be created using the web console by selecting the second option in the bottom section of the introductory Set up ROSA page:
Complete the prerequisites before starting the web console deployment process. The |
The first step when creating a ROSA cluster using the web console is the control plane selection. Make sure the Hosted option is selected before clicking the Next button:
The next step Accounts and roles allows you specifying the infrastructure AWS account, into which the ROSA cluster is deployed and where the resources are consumed and managed:
click the How to associate a new AWS account, if you don not see the account into which you want to deploy the ROSA cluster for detailed information on how to create or link account roles for this association.
The rosa
cli is used for this.
If you are using multiple AWS accounts and have their profiles configured for the AWS cli, you can use the --profile
selector to specify the AWS profile when working with the rosa
cli commands.
The billing AWS account is selected in the immediately following section:
Only AWS accounts that are linked to the user’s logged in Red Hat account are shown.
The specified AWS account is charged for using the ROSA service.
An indicator shows if the ROSA contract is enabled or not enabled for a given AWS billing account.
If you select an AWS billing account that shows the Contract enabled label, on-demand consumption rates are charged only after the capacity of your pre-paid contract is consumed.
AWS accounts without the Contract enabled label are charged the applicable on-demand consumption rates.
The following steps past the billing AWS account selection are beyond the scope of this tutorial.
For information on using the cli to create a cluster, see Creating a ROSA with HCP cluster using the cli.
See this learning path for more details on how to complete ROSA cluster deployment using the web console.