Search⌘ K
AI Features

S3 URL Breakdown

Explore the structure of AWS S3 URLs by understanding virtual hosted-style URLs and their role in accessing bucket objects. Learn the shift from path-style to virtual hosted-style URLs, how to copy object URLs, and the public access settings needed. Discover the unique format of static website endpoints based on regional S3 hosting, preparing you to host static websites using AWS S3.

While working with AWS S3, it’s important to understand how S3 supports virtual hosted-style URLs. This URL works as an endpoint that can be used to locate objects within a bucket.

Virtual hosted-style URLs

In a virtual hosted-style URL the bucket name is present within the URL as a subdomain of the URL. This allows every bucket to be present as a unique DNS subdomain in the URL.

In the example above, we see that the bucket name my-pets is a subdomain in the URL with the S3 endpoint s3.amazonaws.com. It also references the dingo.jpg ...