volume_mute

Which addressing model does Amazon S3 support?

publish date2024/09/16 20:35:00 UTC

volume_mute

Correct Answer

(1) Path-style URLs
(2) Virtual hosted style URLs

Explanation

With path-style URLs, the bucket name comes after the global or region-specific endpoint. In the example below notice that the formatting of the URL: https://region-specific endpoint/bucket/object.  The bucket is always a subdomain of s3.amazonaws.com and when DNS resolves this URL the endpoint will always be a subdomain of s3.amazonaws.com.

https://s3-us-west-2.amazonaws.com/getting-started-with-a3/dolphins.jpg

This style is deprecated as of September 2020

Virtual hosting is the practice of serving multiple websites from a single web server. One way to differentiate sites is by using the host name (bucket name) of the request. In a virtual-hosted–style URL, the bucket name is part of the domain name in the URL, which makes the URL easier to read, and more end-user friendly.

https://getting-started-with-a3.s3-us-west-2.amazonaws.com/dolphins.jpg

Reference

AWS Skill Builder


Quizzes you can take where this question appears