Access denied to the bucket ******

5.5k Views Asked by At

I am new to AWS and i am trying to export VM images from AWS EC2 to S3 bucket that I had already imported using VMImport/Export service . I tried to export using AWS CLI and SDK (python) as well , but both returns the same error :

An error occurred (InvalidParameter) when calling the ExportImage operation: Access denied to the bucket ******23 Entered parameters are correct and i have given all public access to the S3 bucket used in Export action. Still the error continues to appear. Any help would be greatly appreciated Thanks in advance

1

There are 1 best solutions below

0
On

I was facing the same issue , make sure the open the bucket and again give permission write read in S3 bucket as attached in image

Step 1Open your bucket s3 in console

step 2Go to permission tab

Step 3Make it public and ACL

Step 4Give the read write permissions

But best practice make IAM and add that account to permissions