Aliyun How to share mirrors
You can share your own custom mirrors with other users, who can query the shared mirror list of this account with other accounts through the admin console or the ECS API. Shared users can create ECS instances and replace system disks using mirrors shared by other accounts.
Before sharing your account with other accounts, verify that sensitive and secure important data and software are present on the mirror.
Note: Aliyun does not guarantee the integrity and security of shared mirrors for other accounts, and uses shared mirrors to take risks. Please select the account you trust to share with your mirror. When you use this mirror to create an ECS instance, log on to the ECS instance to check to verify the security and integrity of the mirror.
Attention matters
Limit
You can get up to 30 shared mirrors per user.
You can share up to 50 users per mirror.
Shared mirrors do not occupy their own mirrored places.
Shared mirrors are geographically restricted when creating instances, the same as the shared source geography.
Other accounts shared with your account can no longer be shared with other people. Only the owner of the mirror can share it with another account.
Effects of removing shared mirrors
If your custom mirror is already shared with another account, the image can still be deleted, but first you need to remove all of the relationships for that custom mirror.
If you delete a shared account for a custom mirror, the user cannot query the mirror through the admin console or the ECS API, and you cannot use that image to create an ECS instance and replace the system disk.
When a shared mirror is deleted, it causes a failure to reinitialize the system disk with an ECS instance created with a shared mirror.
Operation Steps
The steps for sharing mirrors from the console are as follows:
Log on to the Cloud Server Management Console.
Click a mirror in the left navigation. You can see a mirrored list.
Select the area at the top of the page.
Select the mirror you want to copy, the mirror type must be a custom mirror, and click a shared mirror.
In the pop-up dialog box, select the account type and enter the Aliyun account. There are two types of accounts:
Aliyun account, enter the Aliyun account (login account) to be shared with other users.
Aliyunid, enter the Aliyun account ID that you want to share with the other. Aliyunid can be obtained from the User center of Aliyun official website: Account admin > Security settings > Account ID. Access can be accessed directly via the link below: https://account.console.aliyun.com/#/secure
Click a shared mirror.
Cancel Share
You can cancel share permissions for a mirror. When you cancel a share, the account cannot query and use the mirror.
Note: If the image has been created by an ECS instance by another account, the ECS instance will not be able to reinitialize the system disk operation after you cancel the share.
The operation is as follows:
Log on to the Cloud Server Management Console.
Click a mirror in the left navigation. You can see a mirrored list.
Select the area at the top of the page.
Select the mirror you want to cancel sharing. The mirror type must be a custom mirror. Click a shared mirror.
You can see the shared user list for the mirror, and click Cancel share after the account.
View the list of shared users
You can query which account lists are given to a mirror share in your name.
The steps to query a mirrored shared list of users from the console are as follows:
Log on to the Cloud Server Management Console.
Click a mirror in the left navigation. You can see a mirrored list.
Select the area at the top of the page.
Select a mirror to see a list of mirrors.
Select the mirror you want to view. The mirror type must be a custom mirror. Click a shared mirror.
You can see a list of shared users for that mirror.
View the shared mirrors list
You can query the list of all shared mirrors that other users share to you.
To view a shared mirror list from the console, follow these steps:
Log on to the Cloud Server Management Console.
Select the geography you want to query.
In the header of the mirrored list, select the mirrored type as a shared mirror, and you can see the list of mirrors that other accounts share to you.