You can unshare a custom image when you no longer need to share the custom image or you want to delete the custom image. This topic describes how to unshare a custom image.
Precautions
After you unshare a custom image with Elastic Compute Service (ECS),
You cannot query or use the custom image by using the ECS console or API.
You cannot re-initialize the disks of the ECS instances that were created based on the shared image.
Procedure
Go to the Image page in the Simple Application Server console.
Find the custom image that you want to unshare on the Custom Images tab and click Unshare the image to ECS in the Actions column.
When Unshare the image to ECS changes to Share to ECS in the Actions column, the custom image is unshared.