a bucket is one of several alternative data sinks when data needs to be distributed. The term is used for algorithms, data-structures. Commercial usages include databases and cloud providers.
Questions tagged [bucket]
993 questions
22
votes
3 answers
Google Storage ArgumentException when setting CORS config
Following Google docs, when using GoogleCloud Storage console:
mysef@myproject:~$ cat cors-json-file.json
[
{
"origin": ["*"],
"method": ["GET"],
"maxAgeSeconds": 3600
}
]
then I get the following error:
myself@myproject:~$…

comte
- 3,092
- 5
- 25
- 41
22
votes
4 answers
s3 Policy has invalid action - s3:ListAllMyBuckets
I'm trying these policy through console.aws.amazon.com on my buckets:
{
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation",
…

zdev
- 425
- 1
- 4
- 9
21
votes
8 answers
How can I make a S3 bucket public (the amazon example policy doesn't work)?
Amazon provides an example for Granting Permission to an Anonymous User as follows (see Example Cases for Amazon S3 Bucket Policies):
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect":…

GoodGets
- 1,829
- 3
- 18
- 21
20
votes
6 answers
ERROR: Bucket name must match the regex "^[a-zA-Z0-9.\-_]{1,255}$"
When I try to upload images to a bucket, it throw an error "Invalid bucket name "thum.images ": Bucket name must match the regex "^[a-zA-Z0-9.\-_]{1,255}$"".
I think there is nothing wrong with a bucket name.
This is my code to upload image:
def…

joey
- 345
- 1
- 2
- 9
19
votes
5 answers
Basic User Authentication for Static Site using AWS & S3 Bucket
I am looking to add Basic User Authentication to a Static Site I will have up on AWS so that only those with the proper username + password which I will supply to those users have access to see the site. I found s3auth and it seems to be exactly…

Gideon B
- 415
- 1
- 3
- 16
19
votes
4 answers
Access Denied upload to s3
I tried uploading to s3 and when I see the logs from the s3 bucket logs this is what it says:
mybucket-me [17/Oct/2013:08:18:57 +0000] 120.28.112.39
arn:aws:sts::778671367984:federated-user/dean@player.com BB3AA9C408C0D26F
REST.POST.BUCKET…

Wondering Coder
- 1,652
- 9
- 31
- 51
17
votes
3 answers
Google Cloud Storage bucket throws error "The project to be billed is associated with a closed billing account."
I already checked my project and it has an active
billing account
I am using node js
var gcloud = require('gcloud');
var gcs = gcloud.storage({
projectId: config.gcloud.projectid,
keyFilename: config.gcloud.keyfilename
});
var bucket =…

Jackson
- 181
- 1
- 1
- 5
16
votes
1 answer
amazon S3 bucket policy - restricting access by referer BUT not restricting if urls are generated via query string authentication
I have the following bucket policy set on my bucket:
{
"Version": "2008-10-17",
"Id": "My access policy",
"Statement": [
{
"Sid": "Allow only requests from our site",
"Effect": "Allow",
"Principal": {
"AWS": "*"
…

Simon Polak
- 1,959
- 1
- 13
- 21
16
votes
1 answer
Can I restrict a S3 bucket's size?
I've been looking all over and I can't find a yes or no answer. Can I restrict a bucket in S3 to specific size?
If so, could you please point me into the right direction in doing so? Thanks.

Josiah
- 163
- 1
- 4
14
votes
2 answers
S3 bucket policy, how to ALLOW a IAM group from another account?
I have one S3 bucket in one AWS account (say arn:aws:s3:::my-test-bucket), that needs to be accessed by a IAM group that is defined in another AWS account (say arn:aws:iam::1111222333444:group/mygroup). The following access policy refuses to save,…

Danduk82
- 769
- 1
- 10
- 29
13
votes
6 answers
Storing a bucket of numbers in an efficient data structure
I have a buckets of numbers e.g. - 1 to 4, 5 to 15, 16 to 21, 22 to 34,....
I have roughly 600,000 such buckets. The range of numbers that fall in each of the bucket varies. I need to store these buckets in a suitable data structure so that the…

BlitzKrieg
- 791
- 8
- 15
13
votes
4 answers
Delete object or bucket in Amazon S3?
I created a new amazon bucket called "photos". The bucket url is something like:
www.amazons3.salcaiser.com/photos
Now I upload subfolders containing files, into that bucket for example
www.amazons3.salcaiser.com/photos/thumbs/file.jpg
My…

itsme
- 48,972
- 96
- 224
- 345
12
votes
2 answers
Can I display daily data in month buckets using only excel's chart formatting?
I have daily sales figures that I'd like to plot on a simple linegraph.
I would like them to be shown in monthly buckets (i.e. if I sold 5€ on Jan 01 and 10€ on Jan 24, I would like to see only one data point for January with 15€ in it).
Please note…

Bruder
- 563
- 3
- 8
- 18
12
votes
5 answers
How do you rename a folder in a bucket on S3?
As simple as it sounds, it seems like an extraordinarily complicated task.

Trip
- 26,756
- 46
- 158
- 277
12
votes
5 answers
Android: How to query a list of bucket name
I want to retrieve only the name of the bucket (Albums). E.g. Camera, Download etc but not a list of Camera, Download etc from all the the photos so how do I retrieve one row each for each bucket name?
What I mean like in Gallery Application, you…

LittleFunny
- 8,155
- 15
- 87
- 198