CreateBucket operation: Access Denied

0 votes
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
• 2,870 points
293 views

2 answers to this question.

0 votes
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
0 votes
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 20 by Keshavan
• 140 points
Thank you keshavan, that was helpful.

Related Questions In AWS

0 votes
2 answers

CreateBucket operation: InvalidBucketName

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

answered Jan 27 in AWS by therealrodk
228 views
0 votes
1 answer
0 votes
1 answer

AWS ssh access permission denied (public key issue)

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

answered May 13 in AWS by sunshine
• 1,200 points
40 views
+1 vote
3 answers

Log in to AWS using Access Key ID and Secret Access Key ID

Access keys consist of an access key ...READ MORE

answered Aug 17, 2018 in AWS by Priyaj
• 56,160 points
181 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
• 56,160 points
146 views
0 votes
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
• 56,160 points
276 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,550 points
198 views
0 votes
1 answer