Search

Chapter 3. Configuring integrations to launch RHEL images

download PDF

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 the jq packages.
  • Optional: If you follow automatic access configuration, you have the Access key ID and the Secret access key for your AWS account.

Procedure

  1. Access Hybrid Cloud Console.
  2. Click the Settings icon, then click Settings > Integrations.
  3. Click Add integration. The Add integrations wizard opens.
  4. Select Amazon Web Service in the Select integration type page and click Next.
  5. On the Integration name page, name the integration for your AWS account in the Name field and click Next.
  6. On the Select configuration page, choose between the following two options:

    1. If you select Account authorization, provide your Access key ID and Secret access key for your ID from your AWS account. Click Next and complete the following steps:

      1. On the Select application page, select the Launch images option. Click Next.
      2. On the Review details page, verify the details about your AWS account and click Add. 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.
    2. If you select Manual configuration, click Next and complete the following steps:

      1. On the Select application page, select the Launch images option. Click Next.
      2. On the Create IAM policy page in Enable account access, copy the command with the Copy to clipboard and run it in your terminal. Click Next.
      3. On the Create IAM role page in Enable account access, follow the instructions on the wizard window. Click Next.
      4. On the Enter ARN page in Enable account access, fill the ARN into the text field. Click Next.
  7. On the Review details page, verify the details about your AWS account and click Add 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

  1. Access Hybrid Cloud Console.
  2. Click the Settings icon, then click Settings > Integrations.
  3. Click Add Integration. The Add integration wizard opens.
  4. Select Microsoft Azure in the Select integration type page and click Next.
  5. On the Name integration page, name the integration for your Microsoft Azure account in the Integration name field and click Next.
  6. On the Select application page, select the Launch images option and click Next.
  7. On the Configure Azure Lighthouse page, click Take me to Lighthouse and complete configuration steps in Azure Lighthouse according to the Microsoft instructions. Return to the Add integation wizard and click Next.
  8. On the Set subscription ID page, fill in the Subscription ID field and click Next.
  9. On the Review details page, verify the details about your Microsoft Azure account and click Add 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

  1. Access Hybrid Cloud Console.
  2. Click the Settings icon, then click Settings > Integrations.
  3. Click Add integration. The Add integration wizard opens.
  4. Select Google Cloud in the Select integration type page and click Next.
  5. On the Integration name page, name the integration for your GCP project in the Name field and click Next.
  6. On the Select application page, select the Launch images option and click Next.
  7. On the Enable account access page:

    1. On the Enter Project ID page, fill in your GCP project name that you want to add in the Project field. Click Next.
    2. On the Create custom role page, follow the instructions on the page. Click Next.
  8. On the Review details page, verify the details about your GCP project and click Add to finish adding it to the Integrations.

Verification

  • The console validates the data for your GCP project and shows a message Configuration successful.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.