Skip to main content

Posts

Featured

aws ec2 - modify EBS settings in existing AMI

How can I change the "DeleteOnTermination" flag in the EBS settings of existing AMI? I think I need to use " aws ec2 modify-image-attribute " for that, but not sure of the exact syntax. EDIT: As a workaround for now, I did the following: Launch an instance from the existing AMI Modify the EBS settings in the launch instance wizard Once instance launched, created an AMI from that instance That works, but I believe there is much easier way to do it using the modify CLI.

Latest Posts

Ansible creating a virtualenv

How to re-create entire div with createElement()

Rails or Django style routing in Perl