I
I
impressive172021-10-12 22:49:47
Amazon Web Services
impressive17, 2021-10-12 22:49:47

How can I access AWS S3 files from outside?

Let's say I have a photo on AWS in a special bucket. And I want to display this photo in the HTML page by direct link in src. How can I do it? What is the path for this photo?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Gavrilov, 2021-10-12
@thexaver

We create or change the rights to a public backbit and all links will be public either through the s3 browser or through your personal account you change to public rights.

S
Stanislav Makarov, 2021-10-13
@Nipheris

In addition to what Andrey Gavrilov suggested , you also need to set ACLs for them when pouring or after pouring objects so that the group Everyone (public access)has Read rights. Most likely, with default settings, you do not have this access right.

V
Vitaly Karasik, 2021-10-13
@vitaly_il1

If you want to use direct links, then you need to activate s3 website hosting https://docs.aws.amazon.com/AmazonS3/latest/usergu... ,
and get the URL there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question