Update Amazon EBS snapshot lock settings - Amazon EBS

Update Amazon EBS snapshot lock settings

The allowed updates depend on the lock state:

  • governance — you can change the lock mode and increase or decrease the lock duration or expiration date.

  • compliance-cooloff — you can change the lock mode, increase or decrease the cooling-off period, and increase or decrease the lock duration or expiration date.

  • compliance — you can only increase the lock duration or expiration date.

Console
To update snapshot lock settings
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Snapshots.

  3. Select the snapshot for which to modify the lock settings and choose Actions, Snapshot settings, Manage snapshot lock.

  4. Update the settings as needed, and then choose Save lock settings.

AWS CLI
To update snapshot lock settings

Use the lock-snapshot AWS CLI command. For --snapshot-id, specify the ID of the snapshot for which to update the lock settings. Then, specify only the options to modify.