ec2-deregister ami_id
ami_id
Deregisters the specified AMI. Once deregistered, the AMI cannot be used to launch new instances.
This command does not delete the AMI from Amazon S3.
AMI identifier.
Example: ami-4fa54026
ami-4fa54026
Yes
Amazon EC2 returns a table that contains the following information:
A record type identifier ("IMAGE")
The image identifier that was deregistered
Amazon EC2 displays errors on stderr.
stderr
This example deregisters the ami-4fa54026 AMI.
PROMPT> ec2-deregister ami-4fa54026 IMAGE ami-4fa54026
PROMPT>
IMAGE ami-4fa54026
ec2-register
ec2-describe-images
Submit feedback about this site to: