Skip to content
Advertisement

Tag: boto

How to delete an AMI using boto?

(cross posted to boto-users) Given an image ID, how can I delete it using boto? Answer You use the deregister() API. There are a few ways of getting the image id (i.e. you can list all images and search their properties, etc) Here is a code fragment which will delete one of your existing AMIs (assuming it’s in the EU

Advertisement