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

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ต.ค. 2024

ความคิดเห็น • 63

  • @TexasWatchman
    @TexasWatchman 9 หลายเดือนก่อน +28

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

  • @aaroncwilliams
    @aaroncwilliams หลายเดือนก่อน +1

    I had been searching for a short and concise video for S3 and CloudFront for several days and finally came across this gem. You are the GOAT!

  • @TheAlexisThink
    @TheAlexisThink 9 หลายเดือนก่อน +4

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

  • @danielmurphy9096
    @danielmurphy9096 9 หลายเดือนก่อน +1

    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!

  • @sumitpagey6415
    @sumitpagey6415 6 หลายเดือนก่อน +5

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

  • @TwistedFate123
    @TwistedFate123 10 หลายเดือนก่อน +3

    Simple and straightforward!

  • @NeeleshRamS-yp8gq
    @NeeleshRamS-yp8gq 22 วันที่ผ่านมา

    Very crisp and clear. I was wondering if there is there a way to introduce a payment gateway to view the video?

  • @liamstory9594
    @liamstory9594 8 หลายเดือนก่อน +1

    Exactly what I needed, thank you!

  • @bvladimirpl
    @bvladimirpl 2 หลายเดือนก่อน

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

  • @aleksey6151
    @aleksey6151 ปีที่แล้ว +3

    We making it out the O block with this one

  • @thebjorn
    @thebjorn 5 หลายเดือนก่อน

    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

  • @7doors847
    @7doors847 ปีที่แล้ว +1

    Glad to see you back !

  • @karamtimani1321
    @karamtimani1321 3 หลายเดือนก่อน

    Amazing content, straight to the point!

  • @richardwebb114
    @richardwebb114 5 หลายเดือนก่อน

    Great video. Thank you Nikita Dev!

  • @anhphan5621
    @anhphan5621 6 หลายเดือนก่อน

    Thank you very much. Simple and powerful!

  • @MrSirojiddin
    @MrSirojiddin 3 หลายเดือนก่อน

    I was spending days to implement 😢. Thank you

  • @maxgriffiths6968
    @maxgriffiths6968 5 หลายเดือนก่อน

    This is perfect. Honestly

  • @QuietGaze
    @QuietGaze 2 หลายเดือนก่อน

    Great video!

  • @goodstuff2read
    @goodstuff2read 10 หลายเดือนก่อน +3

    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.

  • @VaibhavGupta-iu4uf
    @VaibhavGupta-iu4uf 24 วันที่ผ่านมา +1

    Are the services used available in aws free tier

  • @viniciuscordeiro1360
    @viniciuscordeiro1360 6 หลายเดือนก่อน

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

  • @zhoufanchen293
    @zhoufanchen293 4 หลายเดือนก่อน

    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

    • @kalenzo78
      @kalenzo78 หลายเดือนก่อน

      You just have to transcode the videos before uploading mainly because different browsers support different media's also aws has media convert tool which you can use and if you fail you can use free open source ffmpeg for the job

  • @nikhilbhumkar1642
    @nikhilbhumkar1642 4 หลายเดือนก่อน

    Very Informative

  • @CodingWithJan
    @CodingWithJan 3 หลายเดือนก่อน

    Perfect!! :-)

  • @fdksdk4843
    @fdksdk4843 3 หลายเดือนก่อน

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

  • @logilous
    @logilous 4 หลายเดือนก่อน

    Thank you so much!

  • @thatstrendingnow
    @thatstrendingnow 2 หลายเดือนก่อน

    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?

  • @yarin0600
    @yarin0600 2 หลายเดือนก่อน

    From what you explained regarding CDN, it means that it is still possible to show a video to user using only S3?

    • @nikita-dev
      @nikita-dev  2 หลายเดือนก่อน

      Yes, it’s possible but not recommended, since the transfer costs coming out of S3 will be higher than Cloudfront, and there will be more latency

  • @tinotaylor
    @tinotaylor 5 หลายเดือนก่อน

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

  • @felixyoutuber
    @felixyoutuber 8 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

      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.

  • @THEinsane1z
    @THEinsane1z ปีที่แล้ว

    Great video

  • @yashsaxena7940
    @yashsaxena7940 8 หลายเดือนก่อน

    nice video sir

  • @siddharthsaurav7244
    @siddharthsaurav7244 5 หลายเดือนก่อน

    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 4 หลายเดือนก่อน

      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

  • @calderonrenzs.9977
    @calderonrenzs.9977 หลายเดือนก่อน

    how can i make it into a HTTP?

  • @altangereldu4538
    @altangereldu4538 7 หลายเดือนก่อน

    How to make the video played only in my website?

  • @THEBIGBANGTHEORYBRA
    @THEBIGBANGTHEORYBRA 3 หลายเดือนก่อน

    Ty

  • @KrishnaKumar-qx1mk
    @KrishnaKumar-qx1mk ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว

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

  • @aungmyooo9692
    @aungmyooo9692 10 หลายเดือนก่อน +1

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

    • @AboElHag74
      @AboElHag74 7 หลายเดือนก่อน

      Have you reached for an answer?

    • @oSpam
      @oSpam 2 หลายเดือนก่อน

      @@AboElHag74it was too much to handle.

  • @AdityaPatayane
    @AdityaPatayane 3 หลายเดือนก่อน

    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

  • @ishantanusrivas
    @ishantanusrivas 8 หลายเดือนก่อน

    Will this work also for android & iOS apps?

    • @nikita-dev
      @nikita-dev  8 หลายเดือนก่อน

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

    • @zhoufanchen293
      @zhoufanchen293 4 หลายเดือนก่อน

      @@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

  • @ehsankabir5235
    @ehsankabir5235 25 วันที่ผ่านมา

    anyone can copy the url form the video/src when they inspect and can use it outside of the webpage

  • @AliMohammed-gc5mx
    @AliMohammed-gc5mx 5 หลายเดือนก่อน

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

  • @BioInASec
    @BioInASec 23 วันที่ผ่านมา

    The earth is round though 🤣🤣

  • @rahulneekhra
    @rahulneekhra ปีที่แล้ว

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

  • @piyushdosi3986
    @piyushdosi3986 ปีที่แล้ว

    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 ปีที่แล้ว

      then what would be best architecture framework to utilize the caching

    • @nikita-dev
      @nikita-dev  ปีที่แล้ว +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 3 หลายเดือนก่อน

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

    • @oSpam
      @oSpam 2 หลายเดือนก่อน +1

      When did he say anything about being Netflix or TH-cam? 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 6 หลายเดือนก่อน

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