Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 21. Preparing and uploading customized RHEL images to the Alibaba Cloud


You can upload customized .ami images that you created by using RHEL image builder to the Alibaba Cloud.

You can create instances of a customized RHEL image by using the Alibaba ECS Console.

Prerequisites

  • You have activated OSS and uploaded your custom image.
  • You have successfully imported your image to ECS Console.

Procedure

  1. Log in to the ECS console.
  2. On the left-side menu, select Instances.
  3. In the upper-right corner, click Create Instance. A new window opens.
  4. Complete all the required information. See Creating an instance by using the custom launch for more details.
  5. Click Create Instance and confirm the order.

    Note

    You can see the option Create Order instead of Create Instance, depending on your subscription.

    As a result, you have an active instance ready for deployment from the Alibaba ECS Console.

21.2. Importing images to Alibaba Cloud

You can import a customized Alibaba RHEL image that you created by using RHEL image builder to the Elastic Compute Service (ECS).

Prerequisites

  • Your system is set up for uploading Alibaba images.
  • You have created an ami image by using RHEL image builder.
  • You have a bucket. See Creating a bucket.
  • You have an active Alibaba Account.
  • You activated OSS.
  • You have uploaded the image to Object Storage Service (OSS).

Procedure

  1. Log in to the ECS console, click Images, then click Import Image. A dialog window opens.
  2. Confirm the correct region and enter the following information:
  • OSS Object Address: Obtain from OSS Object Address.
  • Image Name, Operating System, System Disk Size, System Architecture.
  • Platform: Red Hat

    1. Optional: Provide Image Format (qcow2 or ami), Image Description, and Add Images of Data Disks details.
    2. Click OK and wait for the import to complete.
    3. Log in to the OSS console and select your bucket from the left menu.
    4. Click the Files, then click Upload.
    5. Configure Upload To to the current or specified directory, and File ACL for permission type.
    6. Click Upload, select your image, then click Open.

      ECS Console imports the customized image.

21.3. Uploading customized RHEL images to Alibaba

You can upload a customized AMI image you created by using RHEL image builder to the Object Storage Service (OSS).

Prerequisites

Procedure

  1. Log in to the OSS console.
  2. In the Bucket menu on the left, select the bucket to which you want to upload an image.
  3. In the upper right menu, click the Files tab.
  4. Click Upload. A dialog window opens on the right side. Configure the following:

    • Upload To: Choose to upload the file to the Current directory or to a Specified directory.
    • File ACL: Choose the type of permission of the uploaded file.
  5. Click Upload.
  6. Select the image you want to upload to the OSS Console.
  7. Click Open.

21.4. Preparing to upload customized RHEL images to Alibaba Cloud

To deploy a customized RHEL image to the Alibaba Cloud, first, you must verify the customized image. The image requires a specific configuration to boot, because Alibaba Cloud custom images must meet certain requirements.

Note

RHEL image builder generates images that conform to the requirements of Alibaba. However, you must use the Alibaba image_check tool to verify the format compliance of your image.

Prerequisites

  • You must have created an Alibaba image by using RHEL image builder.

Procedure

  1. Connect to the system containing the image that you want to check by using the Alibaba image_check tool.
  2. Download the image_check tool:

    $ curl -O https://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/attach/73848/cn_zh/1557459863884/image_check
  3. Change the file permission of the image compliance tool:

    # chmod +x image_check
  4. Run the command to start the image compliance tool checkup:

    # ./image_check

    The tool verifies the system configuration and generates a report that in your screen. The image_check tool saves this report in the same folder where the image compliance tool is running.

Troubleshooting

  • If any of the Detection Items fail, follow the instructions in the terminal to correct them.
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2026 Red Hat
Nach oben