AWS. How to modify the EBS “Delete on Termination” flag

The only way to do this is by using the AWS CLI, at the current time there’s no way to do this using the web console.

aws ec2 modify-instance-attribute –instance-id i-123e4567fc8901234 –block-device-mappings “[{\”DeviceName\”: \”/dev/xvda\”,\”Ebs\”:{\”DeleteOnTermination\”:false}}]”

Leave a comment

You must be logged in to post a comment.