Find out S3 Bucket URL
Amazon supports
01. Virtual hosted-style URL
02. path-style URLs
Virtual hosted-style URL -
https://bucket-name.s3.region-code.amazonaws.com/<file-name>
Path-style URL -
https://s3.region-code.amzonaws.com/bucket-name/file-name
But what is the easiest way to find out the bucket URL from AWS console
01. Create bucket in S3
02. Create folder inside the bucket
03. Check / select folder on the left most side of the folder
04. Select Copy URL
This URL will be the hosted-style URL of the folder test in your bucket, which is in us-west-1 region
https://<bucket-name>.s3.us-west-1.amazonaws.com/test/
Comments
Post a Comment