Skip to content

Unable to create volume from a snapshot (restore)

0

I'm a learner from the AWS academy, and we have to create volumes from a snapshot for one of the labs that we have to do. But I keep on getting this one issue that its saying that I'm not authorized to perform create volume on ec2. The error message is - " You are not authorized to perform this operation. User: arn:aws:sts::585318732306:assumed-role/voclabs/user3788163=User_Name is not authorized to perform: ec2:CreateVolume on resource: arn:aws:ec2:us-east-1::snapshot/snap-0d088c9badcee1a50 because no identity-based policy allows the ec2:CreateVolume action. "

Does anyone know how to "fix" this issue?

asked 2 years ago712 views

1 Answer
0

The error message you're encountering indicates that you don't have the necessary permissions to create a volume from a snapshot in Amazon EC2. This is likely due to the restrictions placed on your AWS Academy account for learning purposes.

To address this issue, you have a few options:

  1. Contact your AWS Academy instructor or administrator. They may need to adjust the permissions associated with your role to allow the ec2:CreateVolume action.

  2. Check if there's a specific way to complete the lab within the AWS Academy environment. Sometimes, labs have pre-configured permissions or alternative methods to achieve the desired outcome.

  3. If you're using the AWS Management Console, ensure you're logged in with the correct credentials provided by AWS Academy for the lab.

  4. Review the lab instructions carefully. There might be specific steps or a particular way to create the volume that aligns with the permissions you have been granted.

  5. If the lab provides an IAM role or policy to use, make sure you're using it correctly.

Remember, in a real-world scenario outside of AWS Academy, this issue would typically be resolved by modifying the IAM policies attached to your user or role to include the necessary permissions for creating volumes from snapshots. However, in the Academy environment, you may not have the ability to modify these policies directly.

If none of these suggestions work, it's best to reach out to your instructor or the AWS Academy support for further assistance, as they can provide guidance specific to your lab environment and requirements.
Sources
Troubleshoot Amazon EBS authorization issues - Amazon EBS

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.