Chapter 7. Launching customized RHEL images to the cloud platforms with Insights image builder 7.1. Launching a customized RHEL image on AWS You can launch a customized RHEL image on the AWS cloud environment. Prerequisites You have a RHEL subscription. You have an AWS account created . You successfully built a customized RHEL image and shared it with the region you want to launch the new instance in. The customized RHEL image you built was shared with the same AWS integration account. You added an AWS integration account to the Hybrid Cloud Console. You have the "Launch on AWS User" role assigned. See how to assign a role to a user . Procedure Access Hybrid Cloud Console , click Services Red Hat Enterprise Linux Inventory Images . Find an image you want to launch in the public cloud environment and click Launch in the Instance column. The Launch wizard opens. On the Account and customization page, complete the following steps: From the Select account drop-down menu, select the account you want to use. From the Select region drop-down menu, select the region to run the instance. Optionally: From the Select template drop-down menu, select the template you want to use. If you do not specify the template, you launch the image under the default security group. Ensure that the default security group allows SSH traffic. From the Select instance type drop-down menu, select the instance type configuration. In the Count field, select the number of images you want to launch. Click . The wizard notifies you if you try to launch too many images. Make sure you have enough resources in your AWS account. Note You must have the default Virtual Private Cloud (VPC) and Security Group on your AWS account. If you do not have them, contact the AWS support to re-create them. On the SSH key authentication page, select one of the options: Select existing SSH public key . From the Select public key drop-down menu, add an existing SSH public key. Add and save a new SSH public key . Enter a name for your new SSH public key and drag or upload a new SSH public key file. Click . On the Review page, review the details about the image launch process and click Launch . Verification The Launch wizard shows the green checkmark with a message System launched successfully . To verify the instance is running, copy the ssh command displayed on the screen to your terminal and connect to the instance. To stop the running instance, see the AWS console documentation. 7.2. Launching a customized RHEL image on Microsoft Azure Prerequisites You have a RHEL subscription. You have a Microsoft Azure account created . You successfully built a customized RHEL image. The customized RHEL image you built was shared with the same Microsoft Azure integration account. You added a Microsoft Azure integration account to the Hybrid Cloud Console. You have the "Launch on Azure User" role assigned. See how to assign a role to a user . Procedure Access Hybrid Cloud Console , click Services Red Hat Enterprise Linux Inventory Images . Find an image you want to launch in the public cloud environment and click Launch in the Instance column. The Launch wizard opens. On the Account and customization page, complete the following steps: From the Select account drop-down menu, select the account you want to use. From the Azure resource group drop-down menu, select the resource group in which you want to run your instance. This creates the resources in the same region that this resource group is located. You can leave this field empty to run the instance in the same resource group as the image. From the Select instance size drop-down menu, select the instance type configuration. In the Count field, select the number of images you want to launch. Click . The wizard notifies you if you try to launch too many images. Make sure you have enough quotas in your Microsoft Azure subscription when you are launching a large set of images. On the SSH key authentication page, choose to use an existing SSH key or add a new SSH key: To select an existing SSH public key, follow the steps From the Select public key drop-down menu, choose an existing SSH public key. Click . To Add and save a new SSH public key, follow the steps In the Name field, enter a name for your new SSH public key. In the SSH public key, drag or upload a new SSH public key file. Click . Note Microsoft Azure does not support the ed25519 SSH keys. On the Review page, review the details about the image launch process and click Launch . The launching process takes a few minutes to start an instance on the Microsoft Azure cloud platform. Verification The Launch wizard shows the green checkmark with a message System launched successfully . To verify the instance is running, copy the ssh command displayed on the screen to your terminal and connect to the instance. 7.3. Launching a customized RHEL image on the Google Cloud Platform Prerequisites You have a RHEL subscription. You have a Google Cloud Platform (GCP) project created . You successfully built a customized RHEL image. The customized RHEL image you built is shared with the same GCP project. You have the "Launch on Google User" role assigned. See how to assign a role to a user . You added a GCP project to the Hybrid Cloud Console. You have enabled the following APIs in your GCP project: Compute Engine API; Identity and Access Management API. Procedure Access Hybrid Cloud Console , click Services Red Hat Enterprise Linux Inventory Images . Find the image you want to launch in the public cloud environment and click Launch in the Instance column. The Launch wizard opens. On the Account and customization page, complete the following steps: From the Select account drop-down menu, select the account you want to use. Optionally: From the Select template drop-down menu, select the template you want to use. If you do not specify the template, you launch the image to the default Virtual Private Cloud (VPC) with its firewall rules. From the Select machine type drop-down menu, select the machine configuration. In the Count field, select the number of images you want to launch and click . On the SSH key authentication page, select one of the options: Select existing SSH public key . From the Select public key drop-down menu, choose an existing SSH public key. Click . Add and save a new SSH public key . Enter a name for your new SSH public key and drag or upload a new SSH public key file. Click . On the Review page, review the details about the image launch process and click Launch . Verification The Launch wizard shows the green checkmark with a message System launched successfully . To verify the instance is running, copy the ssh command displayed on the screen to your terminal and connect to the instance. 7.4. Configuring launch notifications You can configure notifications for various events of the launching process. For information on how to configure notifications in the Red Hat Hybrid Cloud Console, see Configuring notifications on the Red Hat Hybrid Cloud Console . Launch events Launch failed If an image launch fails, a notification is sent. Launch completed If an image launch is successful, a notification is sent. Note, if you choose email notifications, these notifications contain detailed information about the event. For example, if the Launch completed event is triggered, the email notification contains the list of the launched instances.

Commands: