Chapter 3. Adding cloud integrations to the Hybrid Cloud Console You can connect Amazon Web Services (AWS), Google Cloud, Microsoft Azure, or Oracle Cloud accounts as cloud integrations in the Red Hat Hybrid Cloud Console so that services hosted on the Hybrid Cloud Console can use data from public cloud providers. 3.1. Amazon Web Services (AWS) integrations with the Hybrid Cloud Console You can connect your AWS account to the following services in the Red Hat Hybrid Cloud Console: Cost management Connect your AWS account to cost management to track your cloud costs. You can use the cost management service to perform financially related tasks, such as: Visualizing, understanding, and analyzing the use of resources and costs Forecasting your future consumption and comparing them with budgets Optimizing resources and consumption Identifying patterns of usage for further analysis Integrating with third-party tools that can benefit from cost and resourcing data RHEL management bundle Connect your AWS account to the RHEL management bundle in the Hybrid Cloud Console to use your Red Hat product subscriptions on AWS. The RHEL management bundle grants access to additional capabilities which are useful to deploying Red Hat products on the public cloud, including: Red Hat gold images: You can use Red Hat cloud images in AWS and bring your own subscription instead of paying hourly. Autoregistration: This allows cloud instances to automatically connect to console.redhat.com when provisioned so you can use Red Hat Insights services. Important To use RHEL management, you must enable Simple Content Access. See the Red Hat Knowledge Article Simple Content Access for more information. Launch images Connect your AWS account to build and launch customized images as virtual machines in hybrid cloud environments. This workflow uses the launch images service, which is included in every Red Hat subscription, to deploy and manage Red Hat Enterprise Linux (RHEL) systems in AWS. 3.1.1. Adding an Amazon Web Services (AWS) account as a cloud integration You can connect your AWS account to the Red Hat Hybrid Cloud Console as a cloud integration so that you can use your AWS data with Hybrid Cloud Console services. You can create your integration using the account authorization method and let Red Hat configure and manage your integration for you. If you choose this method, you must provide the access key ID and the secret access key for your AWS account. This is the recommended method. However, if you do not want to provide your AWS account credentials to Red Hat, you can configure your integration manually. After adding your AWS integration, you can view and manage your AWS and other integrations from the Integrations page in the Hybrid Cloud Console. Prerequisites You are logged in to the Red Hat Hybrid Cloud Console as an Organization Administrator or as a user with Cloud Administrator permissions. You have access to an AWS account that you want to use with the Hybrid Cloud Console that has the following Identity and Access Management (IAM) roles: CreatePolicy CreateRole AttachRolePolicy GetPolicy GetRole To create your AWS integration using the account authorization configuration method (recommended), you have the access key ID and the secret access key for your AWS account. To use the launch images service with your AWS integration, your AWS account must have the following permissions and roles: 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 Procedure Go to Settings > Integrations and select the Cloud tab. Click Add integration to open the Add a cloud integration wizard. If this is the first integration you are adding, skip this step. Select Amazon Web Services , and then click . Enter a descriptive name for the integration, for example, my_aws_integration , and then click . Select a configuration mode: Select Account authorization to allow Red Hat to configure and manage the integration for you after you provide your AWS credentials. This is the recommended configuration mode. Enter your AWS access key ID and secret access key and click . The Select applications page appears with Cost Management , Launch images , and RHEL management services selected. Deselect any services that you do not want your integration to connect to, and then click . Note You can choose to deselect all services in this step. You can connect additional Hybrid Cloud Console services after you finish creating the AWS integration. Select Manual configuration and click to configure your integration manually if you do not want to enter your AWS account authorization credentials. Optional: Select a service to connect to your integration. Click . Follow the instructions in the integration wizard. Note If you selected Cost Management , see Integrating Amazon Web Services (AWS) data into cost management for detailed instructions. On the Review details page, review the details of the integration and then click Add . Your AWS integration is added to the Hybrid Cloud Console. Verification Go to the Integrations page and select the Cloud tab. Confirm that your AWS integration is listed and the status is Ready . 3.2. Microsoft Azure integrations with the Hybrid Cloud Console Connect your Microsoft Azure account with the Hybrid Cloud Console to receive the following benefits, depending on the services that you connect with: Gold images Auto-registration of provisioned systems Subscription reporting Red Hat Insights You can connect your Microsoft Azure account to the following services in the Red Hat Hybrid Cloud Console: Cost management Connect your Microsoft Azure account to cost management to track your cloud costs. You can use the cost management service to perform financially related tasks, such as: Visualizing, understanding, and analyzing the use of resources and costs Forecasting your future consumption and comparing them with budgets Optimizing resources and consumption Identifying patterns of usage for further analysis Integrating with third-party tools that can benefit from cost and resourcing data Launch images Connect your Microsoft Azure account to build and launch customized images as virtual machines in hybrid cloud environments. Use the launch images service, which is included in every Red Hat subscription, to deploy and manage Red Hat Enterprise Linux (RHEL) systems in Microsoft Azure. RHEL management bundle Connect your Microsoft Azure account to the RHEL management bundle in the Hybrid Cloud Console to use your existing Red Hat product subscriptions on Microsoft Azure. The RHEL management bundle grants access to additional capabilities which are useful to deploying Red Hat products on the public cloud, including: Red Hat gold images: You can use Red Hat cloud images in Microsoft Azure and bring your own subscription instead of paying hourly. Autoregistration: This allows cloud instances to automatically connect to console.redhat.com when provisioned so you can use Red Hat Insights services. Important To use RHEL management, you must enable Simple Content Access. See the Red Hat Knowledge Article Simple Content Access for more information. Azure Lighthouse Azure Lighthouse is a Microsoft Azure service that provides secure access control and managed services for customers and partners. If you add the launch images service or the RHEL management bundle to your Microsoft Azure integration, the Hybrid Cloud Console cloud integrations wizard takes you to Azure Lighthouse to deploy a custom template to link your Red Hat and Microsoft Azure accounts. In your Azure account, deploying the template sets up two Azure roles for RHEL Management: Reader : This role allows the Hybrid Cloud Console to view all resources, but it cannot make any changes. See the Azure documentation for information about this role. Managed Services Registration assignment Delete : This role enables clean-up of the authorization when you remove the Hybrid Cloud Console integration. See the Azure documentation for information about this role. For more information about the Azure Resource Manager template, see Deploy the Azure Resource Manager template in the Azure documentation. 3.2.1. Adding a Microsoft Azure account as a cloud integration You can connect your Microsoft Azure account to the Red Hat Hybrid Cloud Console as a cloud integration so that you can use your Microsoft Azure data with Hybrid Cloud Console services. After adding your Azure integration, you can view and manage your Azure and other integrations from the Integrations page in the Hybrid Cloud Console. Note To access gold images, create an integration for any Azure tenant subscription ID within an Azure tenant. When a single Azure subscription ID is integrated, Red Hat automatically retrieves the Azure tenant ID and enables gold image access at the tenant level. However, to use auto-registration and launch images you must create an integration for each individual Azure tenant subscription ID. Prerequisites You are logged in to the Red Hat Hybrid Cloud Console as an Organization Administrator or as a user with Cloud Administrator permissions. You have access to a Microsoft Azure account that you want to use with the Hybrid Cloud Console. Your Microsoft Azure user account has the minimum permissions required to use the Red Hat services that you want to add to your integration: To use the RHEL management and launch images services with your Microsoft Azure integration, you must have a non-guest account in your tenant who has a role with the Microsoft.Authorization/roleAssignments/write permission, such as owner , for the Azure subscription you are using. See the following Microsoft Azure documentation for more information: Azure built-in roles Deploy the Azure Resource Manager template To use the launch images service with your Microsoft Azure integration, you have registered the following resource providers in your Microsoft Azure subscription: Microsoft.Compute Microsoft.Storage Microsoft.Network Procedure Go to Settings > Integrations . Select the Cloud tab. Click Add integration to open the Add a cloud integration wizard. If this is the first integration you are adding, skip this step. Select Microsoft Azure , and then click . Enter a descriptive name for the integration, for example, Azure_build , and then click . Optional: Select a service to connect with Microsoft Azure. You can choose to create the integration without selecting a service. You can connect Hybrid Cloud Console services after you create the Microsoft Azure integration. Follow the instructions in the integration wizard. If you selected Cost Management , see Integrating Microsoft Azure data into cost management for detailed instructions. If you selected Launch images or RHEL Management , complete the following steps on the Configure Azure Lighthouse page of the integration wizard: To access your Azure Lighthouse account, click Go to Lighthouse and sign in with your Microsoft Azure account credentials. On the Custom deployment page, click . Review the information on the Custom deployment page and then click Create to run the deployment. This action creates two roles in your Azure account: Reader and Managed Services Registration assignment Delete Role . Note Do not change the values on the Custom Deployment screen. These values are set by Red Hat. After the deployment is complete, click Go to subscription . On the Subscriptions page, copy the Subscription ID. Note All subscription IDs are now included under the tenant ID. If you have already created an integration and enrolled for a subscription ID, the respective tenant IDs are also enrolled. You will not be charged twice. Return to the Red Hat Hybrid Cloud Console Configure Azure Lighthouse screen and click . Paste the subscription ID that you copied previously into the Subscription ID box and click . On the Review details page, review the details of the integration and then click Add . Your Microsoft Azure integration is added to the Hybrid Cloud Console. Verification Go to the Integrations page, and select the Cloud tab. Confirm that your Azure integration is listed and the status is Ready . 3.3. Google Cloud integrations with the Hybrid Cloud Console You can connect your Google Cloud account to the following services in the Red Hat Hybrid Cloud Console: Cost management Connect your Google Cloud account to cost management to track your cloud costs. You can use the cost management service to perform financially related tasks, such as: Visualizing, understanding, and analyzing the use of resources and costs Forecasting your future consumption and comparing them with budgets Optimizing resources and consumption Identifying patterns of usage for further analysis Integrating with third-party tools that can benefit from cost and resourcing data RHEL management bundle Connect your Google Cloud account to the RHEL management bundle in the Hybrid Cloud Console to use your Red Hat product subscriptions on Google Cloud. The RHEL management bundle grants access to additional capabilities which are useful to deploying Red Hat products on the public cloud, including: Red Hat gold images: You can use Red Hat cloud images in Google Cloud and bring your own subscription instead of paying hourly. Autoregistration: This allows cloud instances to automatically connect to console.redhat.com when provisioned so you can use Red Hat Insights services. Important To use RHEL management, you must enable Simple Content Access. See the Red Hat Knowledge Article Simple Content Access for more information. Launch images Connect your Google Cloud account to build and launch customized images as virtual machines in hybrid cloud environments. This workflow uses the launch images service, which is included in every Red Hat subscription, to deploy and manage Red Hat Enterprise Linux (RHEL) systems in Google Cloud. 3.3.1. Adding a Google Cloud account as a cloud integration You can connect your Google Cloud account to the Red Hat Hybrid Cloud Console as a cloud integration so that you can use your Google Cloud data with Hybrid Cloud Console services. After adding your Google Cloud integration, you can view and manage your Google Cloud and other integrations from the Integrations page in the Hybrid Cloud Console. Prerequisites You are logged in to the Red Hat Hybrid Cloud Console as an Organization Administrator or as a user with Cloud Administrator permissions. You have access to a Google Cloud account that you want to use with the Hybrid Cloud Console. To use the launch images service with your Google Cloud integration, you have a Google Cloud project with a default network. Procedure Go to Settings > Integrations and select the Cloud tab. Click Add integration to open the Add a cloud integration wizard. If this is the first integration you are adding, skip this step. Select Google Cloud , and then click . Enter a descriptive name for the integration, for example, my_gcp_integration , and then click . Optional: Select a service to connect with Google Cloud. You can choose to create the integration without selecting a service. You can connect Hybrid Cloud Console services after you create the Google Cloud integration. Click . Follow the instructions in the integration wizard. Note If you selected Cost Management , see Integrating Google Cloud data into cost management for detailed instructions. On the Review details page, review the details of the integration and then click Add . Your Google Cloud integration is added to the Hybrid Cloud Console. Verification Go to the Integrations page, and select the Cloud tab. Confirm that your Google Cloud integration is listed and the status is Ready . 3.4. Oracle Cloud integrations with the Hybrid Cloud Console You can connect your Oracle Cloud account to use with cost management in the Red Hat Hybrid Cloud Console to track your cloud costs. You can use the cost management service to perform financially related tasks, such as: Visualizing, understanding, and analyzing the use of resources and costs Forecasting your future consumption and comparing them with budgets Optimizing resources and consumption Identifying patterns of usage for further analysis Integrating with third-party tools that can benefit from cost and resourcing data 3.4.1. Adding an Oracle Cloud or account as a cloud integration You can connect your Oracle Cloud account to the Red Hat Hybrid Cloud Console as a cloud integration to use your Oracle Cloud data with the Hybrid Cloud Console cost management service. After adding your Oracle Cloud integration, you can view and manage your integrations from the Integrations page in the Hybrid Cloud Console. Prerequisites You are logged in to the Red Hat Hybrid Cloud Console as an Organization Administrator or as a user with Cloud Administrator permissions. You have access to Oracle Cloud Console with access to the compartment you want to add to cost management. Procedure Go to Settings > Integrations and select the Cloud tab. Click Add integration to open the Add a cloud integration wizard. If this is the first integration you are adding, skip this step. Select Oracle Cloud Infrastructure , and then click . Enter a descriptive name for the integration, for example, my_cloud_integration , and then click . The Select application page appears. Cost Management is the only service available and it is selected. Click . Follow the steps in the wizard. Refer to the instructions in Integrating Oracle Cloud data into cost management to complete adding the Oracle Cloud integration to cost management. On the Review details page, review the details of the integration and then click Add . Your Oracle Cloud integration is added to the Hybrid Cloud Console. Verification Go to the Integrations page, and select the Cloud tab. Confirm that your Oracle Cloud integration is listed and the status is Ready .

Commands: