Bucket operations
A bucket is a container in Amazon S3 into which files are uploaded. To use Amazon S3 to store a file, you need to create at least one bucket. The bucket name should be unique because it is shared by all users. Files (objects) are stored in buckets. Buckets can contain nested folders and subfolders. But they cannot contain nested buckets. You can create a maximum of 100 buckets in a single account.
The bucket name that you specify can contain letters, numbers, periods, and dashes. The name should start with a letter or a number, and it should be between 3 characters and 63 characters long. A bucket doesn't restrict the user to a size limit.
Click on the Create Bucket button seen in the preceding screenshot, and a dialog box for creating a bucket pops up, as shown in the following image:
We created a bucket named sg-bucket-2015
, with the region as Singapore; Amazon S3 allows us to create region-specific buckets. This will also be the region from where your Amazon S3 objects...