How to name a bucket

 

During the process of creating a new bucket, the system asks you to name the bucket. Therefore, please pay close attention on how to name your bucket correctly. The following are the rules for naming S3 buckets which are based on AWS naming convention and can be found here:

  • Bucket names must be unique across all existing bucket names.

  • Bucket names must comply with DNS naming conventions.

  • Bucket names must be at least 3 and no more than 63 characters long.

  • Bucket names must not contain uppercase characters or underscores.

  • Bucket names must start with a lowercase letter or number.

  • Bucket names must be a series of one or more labels. Adjacent labels are separated by a single period (.). Bucket names can contain lowercase letters, numbers, and hyphens. Each label must start and end with a lowercase letter or a number.

  • Bucket names must not be formatted as an IP address (for example, 192.168.5.4).

  • When you use virtual hosted–style buckets with Secure Sockets Layer (SSL), the SSL wildcard certificate only matches buckets that don't contain periods. To work around this, use HTTP or write your own certificate verification logic. We recommend that you do not use periods (".") in bucket names when using virtual hosted–style buckets.

To sum it up, start the naming of your bucket with a lowercase letter. Use only lowercase letters and numbers. A bucket name could be for example switchs3 or switch-s3.