Video není dostupné.
Omlouváme se.

Build a Video Streaming Service on AWS! (S3 + CloudFront)

Sdílet
Vložit
  • čas přidán 27. 08. 2023
  • In this video you'll learn how to set up a video streaming service on AWS. You will learn about the benefits of using a CDN, as well as how to set up a CloudFront distribution with an S3 bucket.
    Source Code: github.com/nik...
    Github: github.com/nik...
    Support Me: www.buymeacoff...
    Contact Me: nikitadev292@gmail.com
    #aws #s3 #cloudfront

Komentáře • 52

  • @TexasWatchman
    @TexasWatchman Před 6 měsíci +21

    This is the benchmark for how video tutorials are supposed to be done. Kudos!

  • @sumitpagey6415
    @sumitpagey6415 Před 4 měsíci +4

    Thank you so much. those 8 mins saved me 8 hours

  • @bvladimirpl
    @bvladimirpl Před dnem

    Man this is a perfect video... Thank you so much!

  • @TheAlexisThink
    @TheAlexisThink Před 6 měsíci +3

    Absolutely amazing bro, you teach me a lot in less than 10 minutes. Great job! Keep going

  • @TwistedFate123
    @TwistedFate123 Před 8 měsíci +2

    Simple and straightforward!

  • @liamstory9594
    @liamstory9594 Před 5 měsíci +1

    Exactly what I needed, thank you!

  • @danielmurphy9096
    @danielmurphy9096 Před 6 měsíci

    Should probably note that this does not require Vite + React since people might think it's agnostic. Just a plain old html page would do (with of course S3 + Cloudfront). Great vid!

  • @karamtimani1321
    @karamtimani1321 Před měsícem

    Amazing content, straight to the point!

  • @thebjorn
    @thebjorn Před 2 měsíci

    That was awesome :-) Thank you so much for taking the time to make this tutorial (I know it takes some serious effort to make something look this easy). Our videos are now online :-D

  • @richardwebb114
    @richardwebb114 Před 3 měsíci

    Great video. Thank you Nikita Dev!

  • @7doors847
    @7doors847 Před 11 měsíci +1

    Glad to see you back !

  • @anhphan5621
    @anhphan5621 Před 3 měsíci

    Thank you very much. Simple and powerful!

  • @maxgriffiths6968
    @maxgriffiths6968 Před 3 měsíci

    This is perfect. Honestly

  • @viniciuscordeiro1360
    @viniciuscordeiro1360 Před 3 měsíci

    You help-me a lot, i'm registered now

  • @CodingWithJan
    @CodingWithJan Před 29 dny

    Perfect!! :-)

  • @aleksey6151
    @aleksey6151 Před 11 měsíci +3

    We making it out the O block with this one

  • @MyNigellus
    @MyNigellus Před 8 měsíci

    fan tas tic tutorial, thank you so much mate. Trying to set it up, let's see how it goes! I want to host my online courses and vimeo, vista etc are pretty expensive to start out.

  • @thatstrendingnow
    @thatstrendingnow Před 6 hodinami

    Thanks so much for this video. Please, how do I setup a live streaming private link from a OBS studio to AWS IVS then send a link to a client any where in the world to view as it is live?

  • @MrSirojiddin
    @MrSirojiddin Před měsícem

    I was spending days to implement 😢. Thank you

  • @zhoufanchen293
    @zhoufanchen293 Před 2 měsíci

    I use this method introduced in the video to host video files (about 40mb each) on my website by using S3+Cloudfront. Everything works great on Windows(Chrome Browser). But on IOS (both Safari and Chrome), the video on my website just not loading, showing as a blank space. On Mac, not working on Safari but works on Arc

  • @fdksdk4843
    @fdksdk4843 Před 27 dny

    Great video. Is there a way to connect an IP camera and get a live stream?

  • @nikhilbhumkar1642
    @nikhilbhumkar1642 Před 2 měsíci

    Very Informative

  • @goodstuff2read
    @goodstuff2read Před 7 měsíci +2

    Is it possible to do any DRM with Cloudfront? I would like to serve video but not have the users download it. I can serve video from cloudfront and s3 using nextjs, but would love to have some DRM solution as well.

  • @logilous
    @logilous Před 2 měsíci

    Thank you so much!

  • @THEBIGBANGTHEORYBRA
    @THEBIGBANGTHEORYBRA Před měsícem

    Ty

  • @THEinsane1z
    @THEinsane1z Před 10 měsíci

    Great video

  • @tinotaylor
    @tinotaylor Před 3 měsíci

    Would this be ok for something like a course platform? Wondering about performance and users having loading issues and encoding. 🙂

  • @yashsaxena7940
    @yashsaxena7940 Před 5 měsíci

    nice video sir

  • @felixyoutuber
    @felixyoutuber Před 6 měsíci

    This is great. Are you able to password protect video files so its only downloadable and accessible to folks that have the keys?

    • @oSpam
      @oSpam Před 9 dny

      I’m a bit late, but yeah! You can turn on signed cloudfront. Then your server can generate a signed URL from the IAM users permissions and only that url can access the video. All unsigned URLs get access denied.

  • @AdityaPatayane
    @AdityaPatayane Před měsícem

    i want to make e learning platform where from only that form the videos should be accessible that platform will contain paid courses, how to in such case user can share the video url just buy inspecting the screen

  • @altangereldu4538
    @altangereldu4538 Před 5 měsíci

    How to make the video played only in my website?

  • @siddharthsaurav7244
    @siddharthsaurav7244 Před 3 měsíci

    When using this approach to render a video in React apps, I encounter problems playing large videos in the Safari browser. How can we fix this?

    • @zhoufanchen293
      @zhoufanchen293 Před 2 měsíci

      I encountered the same problem. I use this method introduced in the video to host video files (about 40mb each) on my website by using S3+Cloudfront. Everything works great on Windows(Chrome Browser). But on IOS (both Safari and Chrome), the video on my website just not loading, showing as a blank space. On Mac, not working on Safari but works on Arc

  • @KrishnaKumar-qx1mk
    @KrishnaKumar-qx1mk Před 11 měsíci +1

    How to disable the download button and how can we secure the video?? If someone shares the link to his friend then the video should not play . How can we achieve that?

    • @fralb14
      @fralb14 Před 10 měsíci +2

      You should be able to achieve that using signed urls. You can enable "Restrict Viewer Access" when creating the distribution, then allow download and streaming only when the content is accessed with a pre-signed url. However, that normally needs the support of the backend because you might want to restrict access to users that have some permission after you check that in the database.

    • @KrishnaKumar-qx1mk
      @KrishnaKumar-qx1mk Před 10 měsíci

      @@fralb14 thank you I'll look into that and start developing a secured website for streaming.

  • @aungmyooo9692
    @aungmyooo9692 Před 7 měsíci +1

    How much does it cost to play a movie? Can you explain?

    • @AboElHag74
      @AboElHag74 Před 4 měsíci

      Have you reached for an answer?

    • @oSpam
      @oSpam Před 9 dny

      @@AboElHag74it was too much to handle.

  • @AliMohammed-gc5mx
    @AliMohammed-gc5mx Před 3 měsíci

    is any one can download this video ?
    if yes i need how can i prevent this ?

  • @rahulneekhra
    @rahulneekhra Před 10 měsíci

    How can we include the video analytics and collection user actions on videos done by users

  • @ishantanusrivas
    @ishantanusrivas Před 6 měsíci

    Will this work also for android & iOS apps?

    • @nikita-dev
      @nikita-dev  Před 5 měsíci

      as long as you're using the cloudfront URL it should work... I haven't tested it on android/iOS though

    • @zhoufanchen293
      @zhoufanchen293 Před 2 měsíci

      @@nikita-dev I use this method introduced in the video to host video files (about 40mb each) on my website by using S3+Cloudfront. Everything works great on Windows(Chrome Browser). But on IOS (both Safari and Chrome), the video on my website just not loading, showing as a blank space. On Mac, not working on Safari but works on Arc

  • @piyushdosi3986
    @piyushdosi3986 Před 10 měsíci

    There is no advantage of using a CDN here because there would be no caching on client side since its a byte range call

    • @rahulneekhra
      @rahulneekhra Před 10 měsíci

      then what would be best architecture framework to utilize the caching

    • @nikita-dev
      @nikita-dev  Před 10 měsíci +4

      The CDN would still be beneficial because it will cache the video content at multiple edge locations around the world, which will reduce latency because it will be closer to your end users (otherwise users would have to request the video from your origin, which could be in a different continent). It's also faster for CloudFront to serve the video from its cache, instead of making a request to your origin (S3) every time. Lastly, without a cache sitting in front of your S3 bucket you would be paying a lot more in transfer costs and object requests.

  • @Rohitsingh2410
    @Rohitsingh2410 Před 29 dny

    No man this is not correct, youtube or netflix do not serves via mp4 links directly. Thats the real engineering

    • @oSpam
      @oSpam Před 9 dny +1

      When did he say anything about being Netflix or CZcams? This is a basic video of using aws to host videos. Not engineering a potential 10s of hours of development of a custom streaming solution.

  • @onlinejad
    @onlinejad Před 4 měsíci

    That was a bad ass tutorial. Wow. I can't thank you enough!