Create a VM using a RHEL BYOS image

Stay organized with collections Save and categorize content based on your preferences.

You can create a virtual machine (VM) instance on Compute Engine by using images from your Red Hat Cloud Access subscription.

With this option, you pay Red Hat for license subscriptions and pay Google Cloud only for infrastructure costs you incur. When you use OS images from your Red Hat Cloud Access subscription on Google Cloud, you must request support directly from Red Hat. To request support, log into your Red Hat Customer Portal and open a support ticket.

In summary, to use Red Hat Cloud Access subscription on Google Cloud, you need to complete the following steps:

  1. Give Google Cloud access to the images in your Red Hat Cloud Access subscription.
  2. Use Google Cloud console or Google Cloud CLI to create the VM.

Before you begin

Give your Google Group access to your RHEL subscription

To provide your Google Group with access to RHEL BYOS images, complete the following steps:

  1. Select an existing or create a Google Group.
  2. Add all users and service accounts that you want to use these BYOS images, to the Google Group. See Add people to your group.
  3. Log into the Red Hat Customer Portal and complete the following steps:
    1. On the navigation menu, select Cloud Access.
    2. Click Enable a new provider.
    3. In the Select a Red Hat Certified Cloud and Service Provider menu, select Google Compute Engine.
    4. Enter your Google Compute Engine ID. This is the email address for the Google Group that you created in step one.
    5. Select the products that you want to enable.
    6. Click Enable.

It might take 3-4 hours for your Google Cloud account to be linked to the Red Hat Customer Portal.

Create a VM with a RHEL BYOS image

You can create a VM with a RHEL BYOS image by using the following methods.

Console

  1. In the Google Cloud console, go to the Create an instance page.

    Go to Create an instance

  2. Specify a Name for your VM. For more information, see Resource naming convention.

  3. Optional: Change the Zone for this VM. Compute Engine randomizes the list of zones within each region to encourage use across multiple zones.

  4. Select a Machine configuration for your VM.

  5. In the Boot disk section, click Change Disk.

  6. In the Public images tab, complete the following steps:

    1. In the Operating system dropdown, select Red Hat Enterprise Linux.
    2. In the License type section, select Use BYOS/BYOL.
    3. In the Version Type dropdown, select the image that you want to use.
    4. Specify boot disk type.
    5. Specify boot disk size.
    6. Optional: For advanced configuration options, click Show advanced configuration.
    7. To confirm your boot disk options, click Select.
  7. Make additional VM customizations, as needed.

  8. To create and start the VM, click Create.

gcloud

  1. Review a list of the RHEL BYOS images that are available. To view a list of RHEL BYOS images, run the following command.

    gcloud compute images list \
        --project=rhel-byos-cloud \
        --no-standard-images
    
  2. Run the gcloud compute instances create command to create a VM with a BYOS image.

     gcloud compute instances create VM_NAME \
        --image=IMAGE \
        --image-project=IMAGE_PROJECT
    

    Replace the following:

    • VM_NAME: name of the new VM
    • IMAGE: the BYOS image that you want to use. For example, rhel-7-byos-v20220519.
    • IMAGE_PROJECT: the project containing the image

What's next