After you import the image, you can use the imported image to create an ECS instance. Perform the following steps to create a RHEL instance in the ECS console. You can also call the RunInstances operation to create an instance.


  1. Log on to the ECS console.
  2. In the left-side navigation pane, click Instances.
  3. On the Instances page, click Create Instance.
  4. Complete the configurations in the Basic Configurations step.
    1. Set Billing Method.
      Select Subscription or Pay-As-You-Go. For more information, see Comparison of billing methods.
    2. Set Region.
      Select the region where the imported image is located and then select a zone.
    3. Set Zone.
      Select a zone to deploy the instance.
      Note Zones are physical areas within a region that have their own power grids and networks. The network latency for instances within the same zone is low.
      • If your application requires high disaster recovery capabilities, we recommend that you deploy your instances in different zones of the same region.
      • If your application requires low network latency between instances, we recommend that you deploy your instances in the same zone. For more information about regions and zones, see Alibaba Cloud's Global Infrastructure.
    4. Set Instance Type.
      Select an instance type supported by Red Hat. For more information, visit Which Instance Types are RHEL Guest supported with on Aliyun.
    5. Set Image.
      Click the Custom Image tab and select the imported image from the drop-down list.
    6. Set Storage.
      Specify the category and size of the system disk. The size of the system disk cannot be smaller than that of the image.
    7. Click Next: Networking.
  5. Complete the configurations in the Networking step.
    1. Set Network Type.
      Click VPC and select a VPC and a VSwitch. If you did not create a VPC or a VSwitch, use the default one.
    2. (Optional) Set Public IP Address.
      If you want to use a public IP address (NatPublicIp), select Assign Public IP Address and set the peak bandwidth. If you want to use an elastic IP address, do not select Assign Public IP Address.
    3. Set Security Group.
      If you want to add the instance to a specified security group, click Select Security Group and select the specified security group.
    4. (Optional) Set Elastic Network Interface.
      If the selected instance type supports elastic network interfaces (ENIs), you can add an ENI and select a VSwitch to which you want to assign the ENI.
    5. Click Next: System Configurations.
  6. (Optional) Complete the configurations in the System Configurations step.
    1. Logon Credentials: We recommend that you select a key pair as the logon credential because cloud-init disables password-based logon by default. For more information, see Connect to a Linux instance by using an SSH key pair.
      Note cloud-init disables password-based logon by default. If you want to enable password-based logon, see Step 6 of the "Optional. Install the native cloud-init" section in Install cloud-init. This step shows you how to modify the configuration before cloud_init_modules in the /etc/cloud/cloud.cfg configuration file.
    2. Instance Name: Enter a valid instance name or use the default name.
    3. Host: Enter a valid hostname.
    4. Advanced: Make advanced settings such as RAM Role and User Data.
    5. Click Next: Grouping.
  7. (Optional) Complete the configurations in the Grouping step: You can bind tags to the instance to simplify future management.
  8. Click Preview. In the Configurations Selected section, confirm all of the configurations. You can change the settings.
  9. Set Duration or Automatic Release
    • If you create a Pay-As-You-Go instance, you can select Automatic Release and specify a time to release the instance.
    • If you create a Subscription instance, you can set Duration and the subscription period. You can also select Auto-renewal.
  10. Confirm the Total configuration fee. The configuration fee is the sum of the costs for the instance type (vCPUs and memory), the system disk, and data disks (if any). If the instance type has local storage, the configuration fee also includes the costs for the local storage. If a public IP address is assigned and Bandwidth Billing is set to Pay-By-Traffic, Internet Traffic Fees is also displayed.
  11. Read and select ECS Terms of Service.
  12. Click Create Order or Create Instance.


After the instance is created, you can go to the ECS console to view the instance details, such as the instance name, public IP address, and private IP address. If the instance is in the Running state, the RHEL instance is created on Alibaba Cloud.

What to do next

You can connect to the RHEL instance by using the VNC or running SSH commands. For more information, see Overview.