You can lock a snapshot that is in the pending
or completed
state. For more information, see Considerations for Amazon EBS snapshot lock.
To lock a snapshot
-
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
. -
In the navigation pane, choose Snapshots.
-
Select the snapshot to lock and choose Actions, Snapshot settings, Manage snapshot lock.
-
Select Lock snapshot.
-
For Lock mode, choose either Governance mode or Compliance mode. For more information, see Lock mode.
-
For Lock duration, do one of the following:
-
To lock the snapshot for a specific period, choose Lock snapshot for, and then enter the period in either days or years.
-
To lock the snapshot until a specific date and time, choose Lock snapshot until, and then select the expiration date and time.
For more information, see Lock duration.
-
-
(Compliance mode only) For Cooling-off period, specify a cooling-off period during which you can unlock the snapshot and modify the lock configuration. For more information, see Cooling-off period.
-
(Compliance mode only) To confirm that you want to lock the snapshot in compliance mode and that you will not be able to unlock the snapshot after the cooling-off period expires, choose Acknowledge.
-
Choose Save lock settings.