Which addressing model does Amazon S3 support?
publish date: 2024/09/16 20:35:00 UTC
Correct Answer
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