Skip to content

How do I modify the permissions of Amazon EBS snapshots?

2 minute read
0

I want to modify the permissions of multiple Amazon Elastic Block Store (Amazon EBS) snapshots from Public to Private or share snapshots with other accounts.

Resolution

Prerequisites: Make sure that your AWS Identity and Access Management (IAM) user or role has the required permissions to use the runbook. For more information, see the Required IAM permissions section of AWSSupport-ModifyEBSSnapshotPermission.

If you're sharing an encrypted snapshot with another account, share the AWS Key Management Service (AWS KMS) key with the destination account.

Run the Systems Manager automation runbook

Complete the following steps:

  1. Open the AWS Systems Manager console.
  2. In the navigation pane, choose Documents.
  3. In the search bar, enter AWSSupport-ModifyEBSSnapshotPermission.
  4. Open AWSSupport-ModifyEBSSnapshotPermission.
  5. Choose Execute automation.
  6. For Input parameters, enter the required values.
    Note: For the list of input parameters and steps, see the Document Steps section of AWSSupport-ModifyEBSSnapshotPermission.
  7. Choose Execute to initiate the automation.
  8. After the automation completes, review the detailed results in the Outputs section.

View the snapshot with updated permissions

Complete the following steps:

  1. Open the Amazon Elastic Compute Cloud (Amazon EC2) console.
  2. In the navigation pane, expand Elastic Block Store, and then choose Snapshots.
  3. Select the snapshot that you modified.
  4. Choose the Permissions tab to verify that you successfully applied the permission changes.

Related information

Run an automation

Setting up Automation

Systems Manager Automation runbook reference