AWS S3 at its most basic level is just a key / value store . When you upload an object (file) to S3, you specify a unique public key for the object. In S3, keys look like file paths, which can lead to some confusion, since you don't need to do things like create subdirectories, etc. What this means, in a nutshell, is that you can upload a file using a key like /some/key/to/an/image/file.jpg without having to create the path /some/key/to/an/image .
If you have enabled static web hosting for your S3 bucket, then as soon as you download file.jpg with this key, you can view it in your web browser at the URL in the line https://s3-eu-west-1.amazonaws.com/<bucket_name>/some/key/to/an/image/file.jpg , depending on the area in which the bucket is located.
source share