Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

aws s3 buckets are not showing on web console

I have the aws cli setup on my mac and when I list my buckets on the terminal with the command aws s3 ls I get to see four buckets which I can't see listed in the web console.

I have created an IAM user and when I use the same cli command above with the --profile [username] flag, I see the same bucket that I see in the web console shows up.

My question is: where do I find the four buckets that I see via cli? Why can't I see them on the web console?

I am signed in as both root user and IAM user in separate browsers and I still don't see the buckets listed via cli on the web console

One of these mysterious buckets is listed in ap-northeast-1 region. As a root user I can still see the same region being used in the url params as region=ap-northeast-1. I still don't see the four buckets. I see only one that belongs to the IAM user

like image 490
Amit Erandole Avatar asked Feb 13 '17 15:02

Amit Erandole


People also ask

How do I get S3 bucket in browser?

In AWS Explorer, expand the Amazon S3 node, and double-click a bucket or open the context (right-click) menu for the bucket and choose Browse. In the Browse view of your bucket, choose Upload File or Upload Folder. In the File-Open dialog box, navigate to the files to upload, choose them, and then choose Open.

Can not access S3 bucket?

If you're getting Access Denied errors on public read requests that are allowed, check the bucket's Amazon S3 Block Public Access settings. Review the S3 Block Public Access settings at both the account and bucket level. These settings can override permissions that allow public read access.


1 Answers

The four buckets in question were shared to your AWS account from another AWS account. They are visible in API calls by your root AWS user, but not your other IAM users. To make them show up in API calls from your other IAM users you need to follow this guide, in particular step 2.3 of that guide.

like image 131
Mark B Avatar answered Sep 19 '22 17:09

Mark B