Home > Operation and Maintenance > Linux Operation and Maintenance > After creating a custom image, how to share the image with other Alibaba Cloud users?

After creating a custom image, how to share the image with other Alibaba Cloud users?

坏嘻嘻
Release: 2018-09-18 14:07:59
Original
5288 people have browsed it

The content of this article is about how to share the image with other Alibaba Cloud users after creating a custom image. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. help.

Shared Image

After creating a custom image, you can share the image with other Alibaba Cloud users. Shared images can significantly shorten the adaptation time of new ECS users, allowing new users to quickly create ECS instances and establish business environments based on your custom images. And shared images will not occupy the image usage quota of the person being shared.

Notes

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

Before sharing the image, please confirm that the custom image has cleared sensitive data and files.

Description

ECS cannot guarantee the integrity and security of shared images. When using shared images, please confirm that the image comes from a trusted sharer or shared account, and you need to bear the risk at your own risk. After creating an instance from 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 cancel all sharing relationships of the custom image in advance before you can delete the image. After deleting a shared custom image:

The shared user cannot query the image through the management console or ECS API, and cannot use the image to create ECS instances or replace system disks.

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

Sharing an image

The steps to share an image on the management console are as follows:

Log in to the ECS management console.

Select a region.

In the left navigation bar, select Snapshots and Mirroring > Mirroring.

Select a custom image, and in the Operation column, click Share Image.

After creating a custom image, how to share the image with other Alibaba Cloud users?

On the shared image page, select aliyunUid as the account type, and enter the user ID to be shared in the Account dialog box. You can refer to Appendix. How to obtain the account ID to obtain aliyunUid. After creating a custom image, how to share the image with other Alibaba Cloud users?

Description

You can also click Cancel Sharing to cancel the image sharing relationship with this 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 this shared image, the instance will not be able to reinitialize the system disk.

(Optional) The person being shared can view the shared image on the Snapshots and Images > Mirrors > Shared Images page in the same region of the ECS management console.

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

Next step

After sharing the image, the person being shared can use the image to create one or more instances.

Log in to the ECS management console.

See Quick Start Step 2: Create an ECS instance. Create one or more instances and select Shared Image when selecting the image.

After creating a custom image, how to share the image with other Alibaba Cloud users?

#The person being shared can also use this image as an instance to replace the system disk (non-public image).

Appendix. How to get the account ID

You can query your account ID through the following steps.

Log in to the Alibaba Cloud Management Console.

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

After creating a custom image, how to share the image with other Alibaba Cloud users?

The above is the detailed content of After creating a custom image, how to share the image with other Alibaba Cloud users?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template