此内容没有您所选择的语言版本。
Chapter 6. Launching customized RHEL images to the public cloud platforms with the cloud provider tools
You can launch your customized RHEL image to the public cloud platforms by using the tools that are available from the cloud providers.
6.1. Launching customized images on AWS web console 复制链接链接已复制到粘贴板!
You can launch your customized image on the Amazon Web Service (AWS) by using AWS Management Console.
Prerequisites
- You have already built a custom image for your target environment on AWS.
- You have access to your custom image on AWS.
Procedure
-
In the AWS Management Console, navigate to
. - Copy your custom image to your AWS account to create a permanent copy. For details, follow the Copying your customized RHEL system image for AWS to a different region on your AWS EC2 procedure.
- From the AWS Management Console, launch your image as an instance.
Verification
-
From your terminal, connect to your instance with the
sshcommand, and using the ec2-user username.
6.2. Launching customized images on Microsoft Azure 复制链接链接已复制到粘贴板!
You can launch your custom image on the Microsoft Azure using Microsoft Azure portal.
Prerequisites
- You have already built a custom image for your target environment on Microsoft Azure.
- You have access to your custom image on Microsoft Azure.
- You granted permissions for image builder to push images to Microsoft Azure. For details, see Authorizing image builder to push images to Microsoft Azure Cloud.
Procedure
- Access the Images on the Microsoft Azure portal, and click on your custom image.
- On the Overview dashboard, click .
- In the Microsoft Azure wizard, configure the settings for the new virtual machine that you want to launch.
- On the Review + create tab, review the information about your image and click .
Verification
-
After the deployment is complete, access
, and locate your new VM.
You can launch your custom image on the Google Cloud Platform (GCP) by using the Google Cloud command line interface.
Prerequisites
-
You have the
gcloudcli installed. - You have already built a custom image for your target environment on Google Cloud.
Procedure
Log in to your Google Cloud account from your terminal:
gcloud auth login
$ gcloud auth loginCopy to Clipboard Copied! Toggle word wrap Toggle overflow Set the Google project where you want to create your image:
gcloud config set project your-project-name
$ gcloud config set project your-project-nameCopy to Clipboard Copied! Toggle word wrap Toggle overflow Create the custom image:
gcloud compute images create image-name --source-image composer-api-image-builder-uuid --source-image-project red-hat-image-builder
$ gcloud compute images create image-name --source-image composer-api-image-builder-uuid --source-image-project red-hat-image-builderCopy to Clipboard Copied! Toggle word wrap Toggle overflow Copy the image-builder-uuid from the ComposeID API endpoint.
-
Access the Google Cloud Console from your browser, and locate your new image in
. -
To launch a new virtual machine from your image, click
.
Verification
- In the Google Cloud console, navigate to the VM instances page. The Status of your new instance is running with a green check mark icon.