最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

amazon web services - Unable to Retrieve Data from AWS Glacier to S3 Bucket: Errors Encountered - Stack Overflow

programmeradmin1浏览0评论

I’m trying to retrieve archived data from AWS Glacier and move it to an S3 bucket, but I’m encountering issues during the process. Here’s what I’ve done so far:

An error occurred (AccessDeniedException) when calling the InitiateJob operation: User: arn:aws:iam::806293447701:user/salman is not authorized to perform: glacier:InitiateJob on resource: arn:aws:glacier:us-west-2:AKIA3XOWVUQKSRK6R5N4:vaults/bitcoin-class

Here’s an example of my CLI command: aws glacier initiate-job --account-id AKIA3XOWVUQKSRK6R5N4 --vault-name bitcoin-class --job-parameters file://inventory-retrieval.json

In Addition, I have already included the 'Permission Policies' for this user. Policy name: AmazonGlacierFullAccess & AmazonS3FullAccess.

Questions:

  1. Is there a specific configuration I might have overlooked in the restore process?

  2. How can I debug why the data is not appearing in the S3 bucket?

  3. Are there additional steps needed for transferring restored data to S3?

Any guidance or suggestions would be greatly appreciated!

I’m trying to retrieve archived data from AWS Glacier and move it to an S3 bucket, but I’m encountering issues during the process. Here’s what I’ve done so far:

An error occurred (AccessDeniedException) when calling the InitiateJob operation: User: arn:aws:iam::806293447701:user/salman is not authorized to perform: glacier:InitiateJob on resource: arn:aws:glacier:us-west-2:AKIA3XOWVUQKSRK6R5N4:vaults/bitcoin-class

Here’s an example of my CLI command: aws glacier initiate-job --account-id AKIA3XOWVUQKSRK6R5N4 --vault-name bitcoin-class --job-parameters file://inventory-retrieval.json

In Addition, I have already included the 'Permission Policies' for this user. Policy name: AmazonGlacierFullAccess & AmazonS3FullAccess.

Questions:

  1. Is there a specific configuration I might have overlooked in the restore process?

  2. How can I debug why the data is not appearing in the S3 bucket?

  3. Are there additional steps needed for transferring restored data to S3?

Any guidance or suggestions would be greatly appreciated!

Share Improve this question asked Nov 20, 2024 at 17:01 Salman KhalidSalman Khalid 11 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

Try to use this command and make sure that the user has the InitiateJob permission;

aws iam simulate-principal-policy --policy-source-arn arn:aws:iam::806293447701:user/salman --action-names glacier:InitiateJob --resource-arns arn:aws:glacier:us-west-2:806293447701:vaults/bitcoin-class 

if it shows Deny, inspect explicit Deny policies, SCPs, or boundary conditions that might restrict this action.

发布评论

评论列表(0)

  1. 暂无评论