Bucket Naming Rules

Prev Next

What are the general-purpose bucket naming rules?

The following naming rules apply to general-purpose buckets.

  • Bucket names must be between three (min) and 63 (max) characters long.

  • Bucket names can consist only of lowercase letters, numbers, periods (.), and hyphens (-).

  • Bucket names must begin and end with a letter or number.

  • Bucket names must not contain two adjacent periods.

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

  • Bucket names must not start with the prefix xn--.

  • Bucket names must not start with the prefix sthree-.

  • Bucket names must not start with the prefix amzn-s3-demo-.

  • Bucket names must not end with the suffix -s3alias.

  • Bucket names must not end with the suffix --ol-s3.

  • Bucket names must not end with the suffix .mrap.

  • Bucket names must not end with the suffix --x-s3.

Naming a Bucket

Before naming a bucket, you may want to review the following recommendations:

  • Choose a bucket naming scheme that is unlikely to cause naming conflicts.

  • Append globally unique identifiers (GUIDs) to bucket names.

  • Avoid using periods (.) in bucket names.

  • To ensure that you can reuse bucket names, do not delete buckets.

  • After you delete a bucket, be aware that another Wasabi account in the same partition can use the same bucket name for a new bucket and potentially receive requests intended for the deleted bucket.