How do I resolve issues with creating an Amazon EBS volume from my snapshot?

3 minute read
0

I'm trying to create an Amazon Elastic Block Store (Amazon EBS) volume from a snapshot, but it's not working. How do I resolve this issue?

Short description

The following are the most common reasons why creating an Amazon EBS volume from a snapshot might fail:

  • The snapshot no longer exists.
  • You're trying to create an unencrypted volume from an encrypted snapshot.
  • AWS Key Management Service (AWS KMS) key authentication fails.
  • The volume size is smaller than the original volume that's used to create the snapshot, or the size isn't within storage capacity limits.

The snapshot no longer exists

You get the following error message: "Snapshot does not exist."

If you're creating a volume from a snapshot that's shared from another AWS account, then you might get the preceding error message. You can still see shared snapshots in your account that are deleted from the account that the snapshots are created in. Make sure that the snapshot that you want to create a volume from still exists in the account that the snapshot is created in.

Also, make sure that the snapshot exists in the same AWS Region that you're trying to create the volume in. See, View Amazon EBS snapshot information to confirm that the snapshot still exists and is in the same Region.

You're trying to create an unencrypted volume from an encrypted snapshot

You receive the following error message from the AWS Command Line Interface (AWS CLI): "An error occurred (InvalidParameterCombination) when calling the CreateVolume operation: EncryptedVolume parameter [false] is inconsistent with snapshot encryption state [true]"

You can't create an unencrypted volume from an encrypted snapshot. To determine if your snapshot is encrypted, see How can I view encryption information about my AMI or snapshot?

AWS KMS key authentication fails

After you create an encrypted volume from an encrypted snapshot, you receive a message that the volume is successfully created. However, when you try to access the volume you get an error stating that the volume doesn't exist. This can happen when AWS KMS key authentication fails for volume encryption or decryption. Amazon Web Services (AWS) authenticates AWS KMS keys asynchronously. For more information, see Amazon EBS encryption.

To resolve this issue, see Why does the new Amazon EBS volume I created from an encrypted snapshot not exist?

The volume size is smaller than the original volume, or the size isn't within storage capacity limits

Amazon EBS doesn't support reducing a volume's size. If you try to create a volume that's smaller than the original volume that's used to create the snapshot, then volume creation fails. Make sure that the volume you're creating is at least the same size as the original volume. You can make the volume size larger, but you must keep the size within storage capacity limits. For more information, see Constraints on the size and configuration of an EBS volume.

Resolution


Related information

Recover from accidental deletions of your snapshots using Recycle Bin

AWS OFFICIAL
AWS OFFICIALUpdated 2 years ago