Build a Video Streaming Service like YouTube, Netflix using AWS S3, CloudFront and React

In this tutorial, I provide a step by step instruction on how to build a video streaming service just like KZread and Netflix using AWS services and React.
Support the channel plz 😊: www.buymeacoffee.com/felixyu
video on how to host the website on AWS: • Host a Website on AWS ...

Пікірлер: 115

  • @LegoBen99
    @LegoBen996 ай бұрын

    Huge appreciation and thank you! The topic of video streaming with AWS is crucial, yet there is so little quality content available on it. You really hit the nail on the head here, explaining the intricacies. The way you navigate through AWS and break down each step is simply top-notch!

  • @FelixYu

    @FelixYu

    5 ай бұрын

    thanks a lot!!

  • @modrn_
    @modrn_ Жыл бұрын

    Dude, this is exactly what I was looking for and this is so straight to the point and clear on how to accomplish this. Great video!

  • @FelixYu

    @FelixYu

    Жыл бұрын

    Thank you!! Glad that u found it helpful mate!!

  • @naveenbisht4627
    @naveenbisht46275 ай бұрын

    I used Node backend to upload videos to S3, transcoded them with MediaConvert, and streamed the results on a React app via CloudFront. This video was a big help for the streaming part. Thanks!

  • @ChromePlatypus-
    @ChromePlatypus- Жыл бұрын

    Thank you Felix, your tutorials have helped me alot!

  • @FelixYu

    @FelixYu

    Жыл бұрын

    u are welcome mate :) glad that they are helpful!!

  • @francisekwempu9248
    @francisekwempu92482 ай бұрын

    Interesting tutorial with clear audio and video. Well done!

  • @allaboinakranthi
    @allaboinakranthi Жыл бұрын

    thanks alot Felix Yu you have did a great job helping others to solve such type of issues

  • @FelixYu

    @FelixYu

    Жыл бұрын

    Thank you for the kind words!! I’m glad you found it helpful!!

  • @nonametrackz7887
    @nonametrackz7887 Жыл бұрын

    Very easy tutorial to follow along ! I subscribed

  • @gptclgcringe
    @gptclgcringe6 ай бұрын

    Thank you for the video,Iam creating a anime streaming website. This is what Iam searching for

  • @NessHypegaming
    @NessHypegaming Жыл бұрын

    these videos are awesome! while it gives you something to put on your resume you also get hands on experience.

  • @FelixYu

    @FelixYu

    Жыл бұрын

    Glad that u found it helpful mate!!

  • @jimnason7293
    @jimnason72938 ай бұрын

    Great job. Nicely precise and efficient. Worked perfectly when following your path 🙂 Thank you!

  • @FelixYu

    @FelixYu

    8 ай бұрын

    Glad it helped!

  • @endtimes4878

    @endtimes4878

    5 ай бұрын

    Did you do it?....if yes give me the link I want to see your videos.

  • @jimnason7293

    @jimnason7293

    5 ай бұрын

    @@endtimes4878 I implemented the player, broadcaster, and viewer conponents using client sdk, then dug into the core aws and ivs classes the client calls, and tapped the core svcs via Java. Sidetracked on my AI agent app for the moment but will be live in like 60 days via an Edu LMS I coded up. Just note Spring security has to be enabled to allow the vid elements to come down the pike 👍

  • @MrOptimusPrime.
    @MrOptimusPrime.9 ай бұрын

    Thank you very much felix.

  • @test_deneme
    @test_deneme Жыл бұрын

    Thanks mate, really clear and current ;)

  • @FelixYu

    @FelixYu

    Жыл бұрын

    Great to hear!

  • @bochitapfh
    @bochitapfh6 ай бұрын

    Great video! I was looking on how to solve this same problem for my website. Thanks!

  • @hoshankumaran
    @hoshankumaran10 ай бұрын

    i have some questions 1) how to make a video with out buffering 2) what is the cost to run that video straming platform 3) how to handle sudden spike of traffic 4) how to handle security 5) how to load balance

  • @VikasJha001

    @VikasJha001

    5 ай бұрын

    3). Spike of traffic will get auto handled because he is using cloudfront and S3 storage. Both of these scales automatically and can serve millions of requests per second. 5. Load balancing is not required as that is managed automatically by AWS for the case of S3

  • @kanny8742
    @kanny87423 ай бұрын

    I owe my career to this guy

  • @sheikhirfan7257
    @sheikhirfan7257 Жыл бұрын

    Thanks, man really good content

  • @FelixYu

    @FelixYu

    Жыл бұрын

    Glad that u found it helpful

  • @AnonymousDevelopel
    @AnonymousDevelopel Жыл бұрын

    Great video and thanks for all the useful tutorials, Would be greatly appreciated if you made a video on how to create a aws censorship system for user text and images.

  • @mikemagan2459
    @mikemagan24594 ай бұрын

    Thanks!

  • @Adiyat_Coto
    @Adiyat_Coto5 ай бұрын

    Thanks a lot Felix! I'm newbie at this subjects, this video really help me a lot! I'm expecting more videos about AWS cloud and Mobile Apps.

  • @FelixYu

    @FelixYu

    5 ай бұрын

    Glad that you found it helpful!!

  • @riazahmad5975
    @riazahmad5975 Жыл бұрын

    awsome .. bundle of thanks very very helpful

  • @FelixYu

    @FelixYu

    Жыл бұрын

    glad that u found it helpful!!

  • @ryanbettsazure
    @ryanbettsazure11 ай бұрын

    Very good video, thanks a lot. Helped me big time.

  • @FelixYu

    @FelixYu

    11 ай бұрын

    Glad that u found it helpful

  • @RockstahRolln
    @RockstahRolln Жыл бұрын

    Very good, simple and effective tutorial! Going to give this a go! Thank You!

  • @FelixYu

    @FelixYu

    Жыл бұрын

    glad that u found it helpful!!

  • @Melegna7021
    @Melegna7021 Жыл бұрын

    Thank you for this tutorial! Just started learning aws and this was incredible! A couple questions I have is, are we able to use the same bucket for images as well? Potentially separating by directory? If so, can we modify the file structure later like keying into the directories to add more media?

  • @RockstahRolln

    @RockstahRolln

    Жыл бұрын

    From another tutorial I watched, I believe you can host your images in the same folder. So you can have two folders - video and images.

  • @cahyaa8741
    @cahyaa8741 Жыл бұрын

    thanks for video

  • @FilmLife
    @FilmLife Жыл бұрын

    thank you for this truly

  • @FelixYu

    @FelixYu

    Жыл бұрын

    Glad that u found it helpful!!

  • @CtrlAltDelight28
    @CtrlAltDelight288 ай бұрын

    thank you

  • @brianmugisha3802
    @brianmugisha38027 ай бұрын

    super tutorial

  • @BleakDeath
    @BleakDeath9 ай бұрын

    What an OG

  • @okeyshourovroy2769
    @okeyshourovroy2769 Жыл бұрын

    Great tutorial, can you please also make a tutorial on video protection using signed cookies and urls, signed coockies can be good for web but what to do for the mobile applications like react native or flutter. 🙏 please make a video

  • @maasondelgado8001
    @maasondelgado8001 Жыл бұрын

    I would love to see a more in depth video streaming site

  • @Laserease01
    @Laserease012 ай бұрын

    Very good tutorial, simple and effective! Can you make a tutorial on how to use signed cookies and use signed URLs? I really can't find any relevant videos. It can be said that there are no videos in this regard.

  • @guscisco
    @guscisco Жыл бұрын

    Nice work, keep going!

  • @FelixYu

    @FelixYu

    Жыл бұрын

    thanks mate!!

  • @jutah
    @jutah Жыл бұрын

    subbed that was great 👌

  • @FelixYu

    @FelixYu

    Жыл бұрын

    Glad that u found it helpful!!

  • @jutah

    @jutah

    11 ай бұрын

    back again for another setup- big thank you felix!

  • @streamingmarv
    @streamingmarv Жыл бұрын

    Great tutorial! What if I want to play 360 degree videos on all devices? Will they play with 360 degree interactivity or do I need to implement the VLC media player?

  • @SAURABHGUPTA_DINOSAUR
    @SAURABHGUPTA_DINOSAUR8 ай бұрын

    Thanks for the video mahn, nice explanation. My question is, in real world scenarios, it's not possible to manually put the individual links in the source code right? then how does it work? Anyways, thanks for explaining this. PEACE OUT

  • @sangamsahai9823
    @sangamsahai9823 Жыл бұрын

    great video bro !!

  • @FelixYu

    @FelixYu

    Жыл бұрын

    Glad that u liked it 👍

  • @TuvRaz
    @TuvRaz2 ай бұрын

    I got confused right after the google testing and going into the terminal s_code? is the terminal on the AWS website?

  • @maasondelgado8001
    @maasondelgado8001 Жыл бұрын

    hey I have been watching some of your videos, and I they are good I was wondering if the 2 part series on authentication is still viable in 2023

  • @phyohtetpaing44
    @phyohtetpaing44 Жыл бұрын

    Thanks for the tutorial. How can we rate limit base on the user account. Netflix and Udmey has some kind of protaction that videos url can not playable on it own and it is only work from specific website or app . url is not in video format and it can’t not playable by it own outside the web page. Is there any way to known how dose that work with aws s3 and cloud front cdn.I try with public key /private key idea but it doesn’t even closed.They are using tag but the url is not valid format. How did they hide it.

  • @BigDataLogin
    @BigDataLogin10 ай бұрын

    cool

  • @glitchbey
    @glitchbey11 ай бұрын

    What are the best hosting provider solutions for a mid-heavy video streaming website?

  • @venkat8637
    @venkat86379 ай бұрын

    Hi Thanks, is it possible to do a VR 360 Video for Google Cardboard viewing. Thanks Much

  • @jacquelynecarmen
    @jacquelynecarmenАй бұрын

    I have some questions. Your that video is be short but in real app like Netflix they have very big size video files like more than 10GB. You just use s3 source to download and stream your video immediately and what about whole movie? What about multiple audio and subtitle files? What about video resolution? And we can marge our video files according to the user selection mean if user requests for different languages audio and some different subtitle. I don't think this enough for streaming app.

  • @oussamaladhari550
    @oussamaladhari5507 ай бұрын

    is it possible to make another video about hosting a live streaming with RTMP for example on AWS and your own website?

  • @glendagoitia3280
    @glendagoitia3280 Жыл бұрын

    How do I do if I upload a video in AWS, I copy the link and I want it to be on my wordpress web page, the playback comes out automatically without the user pressing play, I mount it, it is seen but it does not play automatically. Thank you

  • @irq001
    @irq001 Жыл бұрын

    How can I stream a video comprising of a number of small video segments ( aka HLS fragments ) instead of one single big video file as shown in this tutorial ? These segments are 6 second long video files which should be played in a specific order ( sort on the file name gives that order ) one after another in the Client to recreate the long running video . These files are stored in a s3 bucket . In fact, this use-case is very similar to any content provider streaming their content using HLS protocol , which any HLS enabled browser or video player like VLC are able to play.

  • @mofekayode8944

    @mofekayode8944

    Жыл бұрын

    Hi, did you find a solution for this ?

  • @avanijagtap8684
    @avanijagtap86849 ай бұрын

    So If We have a json File. Can we connect the url to it? Also is AWS free? And how much storage does it have? And can we make multiple accounts for free storage?

  • @code_marked
    @code_marked6 ай бұрын

    Once the app is all finished, what kind of hosting would one need put it on the net?

  • @matheusgrossi4707
    @matheusgrossi47072 ай бұрын

    What about the payment ? I mean, if i want to put a 50gigas file on AWS. btw, i loved how you putted the song when you were coding, really made me laugh hahaha

  • @afroj3di
    @afroj3di Жыл бұрын

    How can we allow users select what video quality they want, or send a lower quality based on users internet speed

  • @abhi1ertu
    @abhi1ertu5 ай бұрын

    Does this do adaptive streaming ? or we need to make mpd or m3u8 file

  • @KrishnaKumar-qx1mk
    @KrishnaKumar-qx1mk8 ай бұрын

    Could you also tell how can we fetch all the videos and play them ? like how to fetch these videos and make a website similar to udemy??

  • @Pedro-gu7jj
    @Pedro-gu7jj7 ай бұрын

    how can I get instability of my vods using React and HLS?

  • @domthefounder
    @domthefounderАй бұрын

    This doesn’t really solve latency issues which so noticeable , have you worked with KVS on AWS

  • @aungmyooo9692
    @aungmyooo96924 ай бұрын

    Could you please provide an estimate of the cost per user for streaming a 3GB video on this infrastructure?

  • @mehmetkaya4330
    @mehmetkaya4330 Жыл бұрын

    Super! Thank you so much! Should we be worried about any AWS costs if we build one just like yours?

  • @FelixYu

    @FelixYu

    Жыл бұрын

    it depends on how many people watch ur video. i think cloudfront is eligible for free tier for 10,000,000 HTTP or HTTPS Requests

  • @mehmetkaya4330

    @mehmetkaya4330

    Жыл бұрын

    @@FelixYu Got it! Thanks!

  • @mehmetkaya4330

    @mehmetkaya4330

    Жыл бұрын

    Also, I followed your steps but when I pasted the domain_name/object_key and hit enter, it just downloaded the file instead of showing the video. Could it be due to the file format, which is .mov and not .mp4

  • @mehmetkaya4330

    @mehmetkaya4330

    Жыл бұрын

    It worked when I uploaded an .mp4 video. Thanks again.

  • @FelixYu

    @FelixYu

    Жыл бұрын

    @@mehmetkaya4330 glad that it is working now!! yea i have only tested it with mp4 files

  • @organicvids
    @organicvids Жыл бұрын

    How would you clone craigslist?

  • @riazahmad5975
    @riazahmad5975 Жыл бұрын

    Flex Yu ! can u make complete ecomerce project using aws lambda , node js ,dynamodb , stripe , react etc . Thanks

  • @FelixYu

    @FelixYu

    Жыл бұрын

    thats a good suggestion..i will add that to my list 👍

  • @DropCollectorBD
    @DropCollectorBD11 ай бұрын

    how to create live streaming system with CDN?

  • @Aesthetic_Lifestyles
    @Aesthetic_Lifestyles Жыл бұрын

    Hey bro I am Prince Gupta a 14 yr old boy He I want to tell that can we use hls or dash for changing video quality if so how. What will be the minimum brandwidth for a million people watching a video at a time?? Please reply me because I have to build my streaming site as soon as possible. Hope you understand please reply fast

  • @OtherPaulo
    @OtherPaulo2 ай бұрын

    Hello Felix, how do I know the cost of 100k views on an 18mb video like the one you used as an example?

  • @sisoyunrobot6413
    @sisoyunrobot6413 Жыл бұрын

    Those video urls don't have an expiration date?

  • @arnawgundawar
    @arnawgundawar Жыл бұрын

    Could you help me figure out exactly how much it would cost for me to have 100 images each with about 8mb size and each image being viewed about 10000 times each month, using s3 and cloudfront?

  • @phaniraveendra9140
    @phaniraveendra91408 ай бұрын

    How to create a code in react for video streaming in vs code?

  • @user-vb8pt7mj7x
    @user-vb8pt7mj7x10 ай бұрын

    Is there a way to prevent the video from being downloaded? I can paste the source url in the address bar then right-click and select "Save Video As..."

  • @DarkMatter2431

    @DarkMatter2431

    10 ай бұрын

    Find a video player for HTML/PHP or whatever language you're using that can prevent people from downloading your videos

  • @AnuragMishra-ws4zc
    @AnuragMishra-ws4zc7 ай бұрын

    but how we can change quality of video

  • @simont733
    @simont7335 ай бұрын

    so how do torrent stream works??

  • @ghostkee5031
    @ghostkee50319 ай бұрын

    it looks like it still accessible to public ? i don't see any authorization logic

  • @TheLeenaShah
    @TheLeenaShah24 күн бұрын

    Hi can you help me design a video streaming channel?

  • @zaidiyamaisha1885
    @zaidiyamaisha18856 ай бұрын

    Hey Guy, U did not mention that we needed to download NPM and Node.js 1st ....

  • @TomasRodriguez-qo9pv
    @TomasRodriguez-qo9pv9 ай бұрын

    But KZread doenst work with chunks system?

  • @BartZ-if8hv
    @BartZ-if8hv2 күн бұрын

    auth tokens?

  • @harshilking3848
    @harshilking3848 Жыл бұрын

    Everything is fine but finally when i start the react app from the terminal the video is not playing

  • @harshilking3848

    @harshilking3848

    Жыл бұрын

    Plz i need a fast reply cuz I'm using it for my clg project and tommoro is submition date

  • @jerrytonmoy
    @jerrytonmoy Жыл бұрын

    this is static.but i want to do this dynamic

  • @CameronL
    @CameronL Жыл бұрын

    What is the cost of running this?

  • @dhruvwills
    @dhruvwills Жыл бұрын

    how can i restrict user from downloading the video ?

  • @FelixYu

    @FelixYu

    Жыл бұрын

    u can add a controlsList option to it like this:

  • @FelixYu

    @FelixYu

    Жыл бұрын

    thats to remove it from the UI..if u wanna completely prevent ppl from downloading it, u can use HTTP referer: docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html#example-bucket-policies-use-case-4

  • @okeyshourovroy2769

    @okeyshourovroy2769

    Жыл бұрын

    @@FelixYu Can you please make a video on it please?

  • @cbgbabigaming4934
    @cbgbabigaming49343 ай бұрын

    vscode link please

  • @sardor-tokhirov
    @sardor-tokhirov3 ай бұрын

    I subscribed u body

  • @SleepyBeeASMR
    @SleepyBeeASMR13 күн бұрын

    is this free?

  • @616eric
    @616eric9 ай бұрын

    Felix, I tried to contact you through LinkedIn. This is a great video of how to build out Video Streaming. I subscribed and will share the video. Look forward to speaking with you.

  • @staymotivated703
    @staymotivated703 Жыл бұрын

    You have a email? Happy New Year Good Brother do you have a email I patented new cinema technology this video show it’s capabilities that I want to collaborate with you on