Buckets
A bucket is a container for objects stored in Amazon S3. Every object is contained within a bucket. They serve several purposes: organize the Amazon S3 namespace at the highest level, identify the account responsible for storage and data transfer charges, play a role in access control and serve as the unit of aggregation for usage reporting.
Buckets stored in Europe are indicated by and buckets stored in the US are indicated by .
Creating a bucket
- Select the S3 service under the account you wish to create the bucket for.
- Click the Add button.
- Enter a name for the bucket. Please note that bucket names must be unique within AWS, which means that if someone already has a bucket with a certain name, another user is not allowed to use the same name.
- Select a location where you wish to store your bucket and the objects in it. Please note that different service charges may apply for different locations.
- Click OK.
- Once your bucket it created it will show up in the bucket lists. Please note that it may take a few minutes for your bucket to be created and show up.
Deleting a bucket
- Select the S3 service under the account which holds the bucket.
- Select the bucket you wish to delete form the list of buckets.
- Click on the Remove button.
Every bucket has an access control policy, which determines the rights of others to access objects in it.
Changing a bucket's access control policy
- Select the S3 service under the account which holds the bucket.
- Select the bucket you wish to change form the list of buckets.
- Select the Access Policy tab.
- Wait for the rules to be downloaded.
- To add a user based rule click the Add button, select Add User Policy, enter the user's canonical user ID and click Add.
- To add a group based rule click the Add button, select Add Group Policy, select the group and click Add.
- To remove a user or group based rule click the Remove button.
- Check or uncheck the privileges you wish to allow or deny.
- Change the default upload ACL (the default access policy, objects will be uploaded with into this bucket) if you wish.
- Click Apply to save the changes.
Changing a bucket's logging settings
- Select the S3 service under the account which holds the bucket.
- Select the bucket you wish to change from the list of buckets.
- Select the Logging tab.
- Check Enable Logging if you wish to enable logging or uncheck to disable it.
- If logging is to be enabled, a Target Bucket (the bucket that log objects will be created in) must and a Target Prefix (the prefix of log object names) may be specified.
- Click Apply to save the changes.
