Starting from October 30, 2021, Alibaba Cloud SUSE Linux Enterprise Server (SLES) public images are available for commercial use and charge fees. As of April 1, 2022, if you have Elastic Compute Service (ECS) instances that use free SLES images, you must upgrade the SLES images of these instances to the commercial edition as soon as possible before you can obtain image updates and technical support for these images. You can perform the steps described in this topic to upgrade your SLES images to the commercial edition.

Background information

Existing instances that run SLES operating systems are instances that were created from free SLES public images or created from your free custom SLES images. You can upgrade the SLES images of these instances to the commercial edition in the ECS console. After you upgrade the SLES images of instances to the commercial edition, you can continue to obtain image updates and technical support for these images. If you do not upgrade the SLES images of instances to the commercial edition, the instances can continue to provide services. As of April 1, 2022, image updates and technical support for SUSE are unavailable.

For the announcement on commercial availability of SLES public images, see SUSE Linux Enterprise Server will be commercialized on October 30, 2021.

Precautions

  • If you upgrade an SLES image to the commercial edition, you are charged for the image based on the price at the time of upgrade.
  • If you do not want to continue using SLES images, we recommend that you use a free Alibaba Cloud Linux operating system to replace SLES.
  • SLES images become available for commercial use but SLES for SAP images have not
  • The SLES images of existing instances that reside in the classic network cannot be upgraded to the commercial edition. If you have instances that reside in the classic network and the SLES images of these instances must be upgraded to the commercial edition, migrate the instances to virtual private clouds (VPCs) and then upgrade the SLES images. For information about how to migrate instances from the classic network to VPCs, see Migrate ECS instances from the classic network to a VPC. If you encounter issues, submit a ticket.

Procedure

If you have instances created from free SLES images that need to be upgraded to the commercial edition, you can receive the notification about the commercial availability of SLES images on the Instances page or on the Images page when you log on to the ECS console. You can upgrade the SLES images as needed.

Before you upgrade your SLES images, you must use your Alibaba Cloud account to authorize Alibaba Cloud to run the register command after you pay for the upgrade order to obtain the SLES update repository. Perform the following operations:

  1. Use your Alibaba Cloud account to log on to the Resource Access Management (RAM) console.
  2. Create a RAM role named AliyunECSAssistantRunCommandRole and change the trust policy of the role to the following content.
    Note The role name must be AliyunECSAssistantRunCommandRole. Otherwise, the register command cannot be run.
    {
                "Statement": [
                {
                    "Action": "sts:AssumeRole",
                    "Effect": "Allow",
                    "Principal": {
                    "Service": [
                        "ecs.aliyuncs.com"
                    ]
                    }
                }
    ],
                "Version": "1"
    }
                            
    For more information about how to create a RAM role and change its trust policy, see Attach an instance RAM role to an ECS instance.
  3. Attach the AliyunECSAssistantRunCommandRolePolicy policy to the role. The policy contains the following content:
    {
        "Version": "1",
        "Statement": [
            {
                "Effect": "Allow",
                "Action": "ecs:RunCommand",
                "Resource": "*"
            }
        ]
    }
    For more information about how to attach the policy to the RAM role, see Control access to resources by using RAM users.
  4. Log on to the ECS console.
  5. In the left-side navigation pane, choose Instances & Images > Instances.
    In the section above the instance list, you can view the upgrade notification about SLES images. Upgrade notification
  6. Click Upgrade Now.
  7. Upgrade the SLES images to the commercial edition as prompted.
    You can also choose not to upgrade the images to the commercial edition. Upgrade Now
    After you place an upgrade order and complete the payment, Alibaba Cloud is authorized to call the RunCommand operation to run the register command. The SLES images can be upgraded and SUSE operating systems can be registered. The registration process takes several seconds. We recommend that you wait and then go to the Instances page, refresh the page and confirm the number of remaining instances whose SLES images must be upgraded, and then upgrade the images.

    After SLES images are upgraded, you can obtain the SLES update repository and technical support for SUSE.