CreateBucket operation Access Denied

+1 vote
When I am trying to create a bucket i get this error

aws s3api create-bucket --bucket my-bucket12 --region us-east-1

An error occurred (AccessDenied) when calling the CreateBucket operation: Access Denied
Nov 23, 2018 in AWS by Nitesh
• 3,080 points
10,932 views

2 answers to this question.

+1 vote
Best answer
Make sure to add S3 Full access to the IAM user before running the AWS CLI Command.

You can achieve this in following ways:

1. Create a customized s3 full access policy and assign to the IAM user .

2. Run the following command from your AWS CLI.

command : C:\Users\kesavan>aws s3 mb s3://bucketname
make_bucket: bucketname
answered Apr 21, 2019 by Kesavan
• 460 points

selected Jul 31, 2019 by Kalgi
Thank you keshavan, that was helpful.
Thank you for your response. It helped me too!
Upvote the answers if its helped you @Nagya, @Jen
+1 vote
You must check with the permission of your IAM User. This error specifically generated when your user wont have access to create a bucket.
answered Nov 23, 2018 by Namitha

Related Questions In AWS

0 votes
1 answer

An error occurred (AccessDenied) when calling the CreateBucket operation: Access Denied

Hi@akhtar, You are getting this error because your ...READ MORE

answered Oct 7, 2020 in AWS by MD
• 95,460 points
4,945 views
0 votes
2 answers

CreateBucket operation: InvalidBucketName

Your bucket name cannot contain capital letters. ...READ MORE

answered Jan 27, 2019 in AWS by therealrodk
13,323 views
0 votes
1 answer
0 votes
1 answer

Permission denied when I SSH access to EC2 instance

These are common reasons that can cause ...READ MORE

answered Mar 12, 2019 in AWS by Reema
2,062 views
+1 vote
1 answer

AWS ssh access permission denied (public key issue)

For Ubuntu Instance, First, check whether you have ...READ MORE

answered May 13, 2019 in AWS by sunshine
• 1,300 points
7,183 views
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 58,020 points
6,016 views
–1 vote
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 58,020 points
5,234 views
0 votes
1 answer

Import my AWS credentials using python script

Using AWS Cli  Configure your IAM user then ...READ MORE

answered Nov 16, 2018 in AWS by Jino
• 5,820 points
2,885 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP