S3 bucket names are globally unique because Amazon S3 uses a flat file structure, meaning there is only one level of directory. This means that all S3 bucket names are stored in the Amazon S3 global namespace. When you create a new bucket, Amazon S3 checks to see if the bucket name you have chosen is available, and if it is, assigns the name to the bucket and creates the associated DNS record.