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.
- Optional: If you follow automatic access configuration, you have the Access key ID and the Secret access key for your AWS account.
Optional: If you follow manual access configuration, ensure you have the following permissions for your AWS account:
-
cloudformation:CreateStack
; -
cloudformation:DescribeStacks
; -
cloudformation:DeleteStack
; -
cloudformation:UpdateStack
; -
iam:CreateRole
; -
iam:PutRolePolicy
; -
iam:AttachRolePolicy
; -
iam:PassRole
; -
iam:GetRole
; -
iam:DeleteRole
; -
iam:ListRolePolicies
; -
iam:GetRolePolicy
; iam:DeleteRolePolicy
.On the information about AWS permissions, see the AWS documentation.
-
Procedure
-
Access Hybrid Cloud Console, click
. - Click Cloud option. The Add a cloud integration wizard opens. and choose the
- On the Select cloud provider page, select and click .
- On the Name integration page, name the integration for your AWS account in the Integration 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 .
If you select Manual configuration, click and complete the following steps:
- On the Select application page, select the Launch images option. Click .
- On the Enable account access page in the AWS account number, provide your AWS account number in the Account number field and click .
- On the Create IAM role page, follow the instructions on the wizard window. Click .
- On the Enter ARN page, paste the ARN into the text field. Click .
- On the Review details page, verify the details about your AWS account and click to finish the AWS integration process.
3.2. Connecting a 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 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 which is a non-guest account in your tenant who has a role with the
Microsoft.Authorization/roleAssignments/write
permission, such asowner
, for the Azure subscription you are using. See the Microsoft Azure documentation for more information. You have registered the following resource providers in your Microsoft Azure subscription:
-
Microsoft.Compute
; -
Microsoft.Storage
; -
Microsoft.Network
.
-
Procedure
-
Access Hybrid Cloud Console, click
. - Click Cloud option. The Add a cloud integration wizard opens. and choose the
- Select click .
- 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 integration
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 to your Integrations.
Additional resources
- For more information about using Microsoft Azure with the Red Hat Hybrid Cloud Console, see Microsoft Azure integrations with the Hybrid Cloud Console.
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
. - Click Cloud option. The Add a cloud integration wizard opens. and choose 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.