How to setup a public accessible S3 bucket

Поділитися
Вставка
  • Опубліковано 6 лют 2025
  • You often need an s3 bucket where other people can download files from. This tutorial shows you how to set that up.
    🔔 Newsletter eepurl.com/hnderP
    🤓 ES6 Udemy Course tinyurl.com/yx...
    💬 Discord / discord
    📁. GitHub github.com/cod...

КОМЕНТАРІ • 42

  • @kevinkerr1972
    @kevinkerr1972 Місяць тому

    Coming to this video 3 years later and everything in here still works! Thank you for the help

  • @jimjones4362
    @jimjones4362 3 роки тому +3

    You are the best presenter I have ever seen on UA-cam. The rate you keep things moving is so relieving. In most videos I watch like this, I get a stomach ache.

    • @WebDevCody
      @WebDevCody  3 роки тому +1

      Haha thanks I appreciate hearing that! Do other UA-camrs just go too slow or something?

  • @orangefansclub
    @orangefansclub 5 місяців тому +1

    Thanks for your tutorial! It's very clear and I liked how you explored a bit on the permissions setting 😊

  • @felicial7628
    @felicial7628 Місяць тому

    Wowzers! I worked! The code that you copied is no longer on the examples page. So, I could was stuck on how to do this. Your video REALLY helped. I had recreate the code myself from an example and your example.

  • @lotachiekwunife9895
    @lotachiekwunife9895 2 роки тому +4

    Thank you for this tutorial. You are a lifesaver. I am currently studying for my cloud practitioner certification and most tutorials online still have the old console dashboard. Feels so good to watch your videos. Please do you have more videos on the cloud practitioner course?

  • @richagotech
    @richagotech 2 роки тому

    Take it a step further - add one file in the bucket to convert it into a file browser - ua-cam.com/video/wO4ubvP6bpA/v-deo.html

  • @ananddhanesan8275
    @ananddhanesan8275 4 місяці тому

    Awesome, this helped me.. Thank you so much.. I wish if we had more people like you and more contents like this.

  • @kunaljain-l8l
    @kunaljain-l8l Місяць тому

    This was helpful as i am just starting out to learn using aws console.

  • @almayo274
    @almayo274 6 місяців тому +1

    i love you man, you saved my sanity

  • @TabascoRoad
    @TabascoRoad 3 роки тому +2

    Saved me a ton of time, thank you!

  • @navin1992bisht
    @navin1992bisht 2 місяці тому

    How can I grant access of a folder to anyone, such that they are able to navigate within a folder and see all the files within a folder.

  • @giduduwisdomnico3206
    @giduduwisdomnico3206 Рік тому

    Thanks for such a great explanation 😉

  • @SILD90
    @SILD90 Рік тому

    ty, worked like a charm :D

  • @MubashirullahDurrani
    @MubashirullahDurrani 8 місяців тому +6

    For some reason, the snippet is no longer in the docs and it mentions just unchecking block public access. Here is the snippet that got it working for me.
    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Principal": "*",
    "Action": "s3:GetObject",
    "Resource": "arn:aws:s3:::your-bucket-name/*"
    }
    ]
    }

  • @andreyyu620
    @andreyyu620 Рік тому

    You're the man!

  • @Shama313
    @Shama313 2 роки тому

    Thank you so much for this tutorial, so helpful.

  • @slj1026
    @slj1026 2 роки тому

    Great Video and answered my question completely

  • @neerajnandan3351
    @neerajnandan3351 Рік тому

    thank you! it worked for me

  • @socialforbrokers2990
    @socialforbrokers2990 9 місяців тому

    Great video thank you
    I'm looking to host video files in there and then have zapier pull that video from a google sheet (via a direct url) and then post it into Buffer (a social media scheduling software)
    I currently do it for images with ImgBB but they don't offer the service with videos.
    Is this doable do you think?

  • @butwhothehellknows
    @butwhothehellknows 3 роки тому

    Good job love ❤️

  • @paul-rinaldi
    @paul-rinaldi Рік тому

    Saved me, thank you

  • @rakibulhasanasif2120
    @rakibulhasanasif2120 Рік тому

    Thank you💝

  • @Tasneem-yf5ef
    @Tasneem-yf5ef 2 місяці тому

    Actually my file was not uploading please reply

  • @bringtheseo
    @bringtheseo Рік тому

    Is it possible to share the whole bucket? Id like to allow someone to browse/view/access the entire contents of the bucket.

  • @cosmicknox
    @cosmicknox Рік тому

    nice thanks for your effort

  • @parkerrex
    @parkerrex Рік тому

    Great vid

  • @GouraGopalDalai
    @GouraGopalDalai Рік тому

    Able to access files but unable to access the folders. Says access Denied.

  • @Mikevets
    @Mikevets 7 місяців тому

    If you are letting anyone read the files, do you even need a bucket policy….?

    • @janyumi1995
      @janyumi1995 4 місяці тому

      i've tried it, public access will not work if no bucket policy added

  • @sanghoonlim6505
    @sanghoonlim6505 2 роки тому

    4:07 Policies must be valid JSON and the first byte must be '{'

  • @lts8683
    @lts8683 2 роки тому

    Thanks

  • @raiyanrizwan7990
    @raiyanrizwan7990 8 місяців тому

    I love you

  • @unraveled-stories
    @unraveled-stories 3 роки тому

    Jnob, good video

  • @sanghoonlim6505
    @sanghoonlim6505 2 роки тому

    Policies must be valid JSON and the first byte must be '{'

  • @gumnaam753
    @gumnaam753 Рік тому +2

    Hey Cody, nice video, but I could not open the S3 objects from my public bucket. AWS has updated the settings and it looks different now, could you tell me what different do I need to do?
    In permissions, there is a Block all public access check mark that AWS docs tell to uncheck, which I did. I can see the 'Objects can be public ' access type for this bucket. Then I uploaded files directly into console, and also via an API I have written. And I can also see the ARN URL for these objects, but when I open them, I see this:
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    AccessDenied
    Access Denied
    Z71FBYTPRJGRP5KW
    mgjYZ6FaZP0If4i/S905R6rlOnv3PLbJ6BrLII9kod3FQi1S6VmLHiQTpglza0Fu8eEPdxoSZNIb5kELK3KNOQ==
    (Also tried opening in different browsers, did not work)
    Any help is appreciated.
    Thank you very much.

    • @t4na
      @t4na Рік тому

      did you edit your bucket policy?

  • @fabianrosales7593
    @fabianrosales7593 11 місяців тому

    Thank you for save my life 🤣❤‍🩹