Chapter 3. Configuring integrations to launch RHEL images
You can launch your customized RHEL images in a public cloud environment. To do so you must connect your public cloud account with the Hybrid Cloud Console by adding your account to Integrations. While adding your public cloud account, you may need to log in to that account and perform some actions depending on your cloud provider.
3.1. Connecting an AWS account to the Red Hat Hybrid Cloud Console
You can add your Amazon Web Services (AWS) account to the Red Hat Hybrid Cloud and configure it to launch your RHEL images in the AWS environment.
Prerequisites
- You have a RHEL subscription.
- You are an Organization Administrator or you have a non-admin user with the "Launch administrator" and the "Cloud administrator" roles assigned. See how to assign a role to a user.
-
You installed the
awscli
and thejq
packages. - Optional: If you follow automatic access configuration, you have the Access key ID and the Secret access key for your AWS account.
Procedure
- Access Hybrid Cloud Console.
- Click the Settings icon, then click Settings > Integrations.
-
Click
Add integrations
wizard opens. . The - Select Select integration type page and click . in the
- On the Integration name page, name the integration for your AWS account in the Name field and click .
On the Select configuration page, choose between the following two options:
If you select Account authorization, provide your
Access key ID
andSecret access key
for your ID from your AWS account. Click and complete the following steps:- On the Select application page, select the Launch images option. Click .
- On the Review details page, verify the details about your AWS account and click . The console connects to your AWS account with the credentials you provided and creates an Identity and Access Management (IAM) role with necessary permissions in your AWS account.
If you select Manual configuration, click and complete the following steps:
- On the Select application page, select the Launch images option. Click .
- On the Create IAM policy page in Enable account access, copy the command with the and run it in your terminal. Click .
- On the Create IAM role page in Enable account access, follow the instructions on the wizard window. Click .
- On the Enter ARN page in Enable account access, fill the ARN into the text field. Click .
- On the Review details page, verify the details about your AWS account and click to finish adding it to the Integrations.
3.2. Connecting Microsoft Azure account to the Red Hat Hybrid Cloud Console
You can add your Microsoft Azure account to the Red Hat Hybrid Cloud Console and configure it to launch your RHEL images in the Azure environment.
Prerequisites
- You have a RHEL subscription.
- You are an Organization Administrator or you have a non-admin user with the "Launch administrator" and the "Cloud administrator" roles assigned. See how to assign a role to a user.
- You have a Microsoft Azure account.
You have registered the following resource providers in your Microsoft Azure subscription:
-
Microsoft.Compute
; -
Microsoft.Storage
; -
Microsoft.Network
.
-
Procedure
- Access Hybrid Cloud Console.
- Click the Settings icon, then click Settings > Integrations.
-
Click
Add integration
wizard opens. . The - Select Select integration type page and click . in the
- On the Name integration page, name the integration for your Microsoft Azure account in the Integration name field and click .
- On the Select application page, select the Launch images option and click .
-
On the Configure Azure Lighthouse page, click and complete configuration steps in Azure Lighthouse according to the Microsoft instructions. Return to the
Add integation
wizard and click . - On the Set subscription ID page, fill in the Subscription ID field and click .
- On the Review details page, verify the details about your Microsoft Azure account and click to finish adding it to the Integrations.
3.3. Connecting GCP project to the Red Hat Hybrid Cloud Console
You can add your Google Cloud Platform (GCP) project to the Red Hat Hybrid Cloud and configure it to launch your RHEL images in the AWS environment.
Prerequisites
- You have a RHEL subscription.
- You are an Organization Administrator or you have a non-admin user with the "Launch administrator" and the "Cloud administrator" roles assigned. See how to assign a role to a user.
-
You have a GCP project with a
default
network.
Procedure
- Access Hybrid Cloud Console.
- Click the Settings icon, then click Settings > Integrations.
-
Click
Add integration
wizard opens. . The - Select Select integration type page and click . in the
- On the Integration name page, name the integration for your GCP project in the Name field and click .
- On the Select application page, select the Launch images option and click .
On the Enable account access page:
- On the Enter Project ID page, fill in your GCP project name that you want to add in the Project field. Click .
- On the Create custom role page, follow the instructions on the page. Click .
- On the Review details page, verify the details about your GCP project and click to finish adding it to the Integrations.
Verification
- The console validates the data for your GCP project and shows a message Configuration successful.