Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to share the image with other Ali Cloud users after making a custom image

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how to share the custom image with other Aliyun users after creating a custom image. The editor thinks it is very practical, so I hope you can get something after reading this article.

Shared image

After you have created a custom image, you can share the image with other Ali Cloud users. Shared images can significantly shorten the adaptation time for new ECS users, so that new users can quickly create ECS instances and establish a business environment based on your custom images. And the shared image will not occupy the amount of image usage of the shared person.

Matters needing attention

You can only share your own custom images, not those shared with you by other users. Each custom image can be shared with up to 50 users, and can only be shared in the same Ali Cloud region. Cross-region sharing of images is not supported.

Before sharing the image, make sure that the custom image has cleared sensitive data and files.

Description

ECS cannot guarantee the integrity and security of a shared image. When using a shared image, make sure that the image comes from a trusted sharer or shared account at your own risk. After creating an instance based on a shared image, be sure to connect to the instance to check the integrity and security of the image.

Impact of deleting a shared image

If your custom image has been shared with other accounts, you need to undo all the sharing of the custom image before you can delete the image. After deleting the shared custom image:

The shared user cannot query the image through the management console or ECS API, nor can it be used to create ECS instances and replace system disks.

The ECS instance created by the shared image cannot reinitialize the system disk.

Shared image

The steps to share a mirror on the administrative console are as follows:

Log in to the ECS Management console.

Select the region.

In the left navigation bar, select Snapshot and Mirror > Mirror.

"Select a custom image, and in the Action column, click share Mirror."

On the shared image page, select aliyunUid for the account type, and enter the user ID to be shared in the account dialog box. You can refer to the appendix. How to get the account ID and get the aliyunUid.

Description

You can also click cancel sharing to undo the image sharing relationship with the user. After canceling the sharing, the user will not be able to query and use the image; if the user has already created an instance using the shared image, the instance will not be able to reinitialize the system disk.

(optional) the shared image can be viewed on the Snapshot and Mirror > Mirror > shared Image page in the same region of the ECS Management console.

You can also use ECS API ModifyImageSharePermission and DescribeImageSharePermission to complete the shared image.

Next step

After sharing an image, the shared user can use the image to create one or more real instances.

Log in to the ECS Management console.

Refer to step 2: create an ECS instance to create one or more instances, and select a shared image when selecting an image.

The shared user can also use the image to replace the system disk (non-public image) for the instance.

Appendix. How to get the account ID

You can query your account ID by following these steps.

Log in to the Ali Cloud Management console.

Move the mouse over the user's avatar in the upper right corner, such as funCustomer*@aliyun.com, and click Security Settings in the pop-up account menu.

This is enough about how to share the image with other Aliyun users after creating a custom image. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report