Self-Hosting Next.js

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 223

  • @WebDevCody
    @WebDevCody Місяць тому +423

    We appreciate you Lee

    • @danielmajer1648
      @danielmajer1648 Місяць тому +4

      You see Cody? "Just use Neovim, bro" 😂

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

      He is employed by vercel

    • @danielmajer1648
      @danielmajer1648 Місяць тому +1

      @@sinaasadi3800 And? Is something salty for you?

    • @WebDevCody
      @WebDevCody Місяць тому +1

      @@sinaasadi3800 why does that change if we appreciate anyone or not?

  • @codewithantonio
    @codewithantonio Місяць тому +190

    Amazing, lovely resource to redirect my viewers when they ask about self hosting! :)

  • @TeamEternalEmpire
    @TeamEternalEmpire Місяць тому +131

    Seeing a Vercel employee teaching this makes me trust Vercel more. Finally they're being open about it. I don't believe Vercel would lose much by doing this, most people will stick with the convenience. Those who want to move to self-hosted solutions will do so whether Vercel hides that it's possible or not.

    • @Innesb
      @Innesb Місяць тому +17

      I don’t think Vercel are trying to hide anything; Vercel have provided self-hosting documentation for as long as I remember. There’s no step-by-step tutorial in their documentation but they cover self hosting in the deployment documentation.

    • @PraiseYeezus
      @PraiseYeezus Місяць тому +3

      finally they're being open about it? lol

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

      ​@@PraiseYeezusHow often do you see Vercel advocates talking about it? I thought it was a no-brainer that Vercel makes it seem like letting them host is a silver bullet, feels free to share more content like this one

    • @nikilk
      @nikilk Місяць тому +3

      A lot of mid to large companies need to be able to deploy on their infrastructure.

    • @lamarredavy8145
      @lamarredavy8145 Місяць тому +1

      Why vercel does not provide self hosting on their plateform too ?

  • @nick-ui
    @nick-ui Місяць тому +27

    Lee, that's a good step to open-source community, really appreciate it

  • @paramaggarwal
    @paramaggarwal Місяць тому +17

    Knowing I can self-host anytime makes me feel more comfortable using Vercel.

  • @r34ct4
    @r34ct4 Місяць тому +6

    Holy crap, I spent countless hours trying to figure this out on my own a few months ago and eventually gave up - this is the first tutorial of its kind, I am beyond excited. Will edit my comment if I can get it working, and what kinks I experienced along the way

  • @wlockuz4467
    @wlockuz4467 Місяць тому +2

    I love everything about this video. Its very comprehensive and to the point while staying completely unbiased. Hope to see more!

  • @typesafeui
    @typesafeui Місяць тому +6

    Lee is coming in clutch with the NextJS as always 🔥

  • @jessequartey
    @jessequartey Місяць тому +1

    I am really happy for this video, my startup is not ready to leave vercel but i have been thinking of sustainability and that made Remix look good but deep down i know Nextjs is the 🐐 .

  • @codewithmarcin
    @codewithmarcin Місяць тому +1

    Thanks for making this video Lee. Super handy resource that I'll be sharing around at work.
    Also great to hear you guys have taken feeback on board from people like Brandon.
    Keep up these type of videos. Super insightful.

  • @dobroslav.radosavljevic
    @dobroslav.radosavljevic Місяць тому +10

    BREAKING: Vercel is announcing a round of layoffs (1 employee) because of forbidden tutorial
    nah, just joking
    This is a good tutorial definitely. A lot of folks fail hard to self-host Next.js and this really helps. Thanks! 😎

    • @codernerd7076
      @codernerd7076 Місяць тому +4

      Pretty sure Lee kinda became the face together with the CEO of Vercel they likely would not wanna loss him!

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

      I started learning React & Nextjs ​because of Lee @@codernerd7076

  • @mathesonstep
    @mathesonstep Місяць тому +4

    Although I know a lot about self hosting my own apps I still found this video to be very useful as I am still a beginner to NextJS and there was a ton of info here specific to NextJS, I recommend everyone watch this before deploying. There are a few changes I would make it to the script like forcing SSH keys and setting up fal2ban for SSH and I'm not sure if you're taking pull requests but there are a few other things too, if you are taking PR's, I'd be willing to help add to the script. Otherwise, I totally understand because then the video may become out of date.

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

      Can I connect with you as I don't know much about hosting but learning. It would be great connect with you on LinkedIn or some other platform

  • @karsongrady
    @karsongrady Місяць тому +2

    Great video. Makes me appreciate vercel more with what they take off my plate

  • @darkoplax7688
    @darkoplax7688 Місяць тому +2

    Thanks, I'm getting into DevOps and love learning self-hosting

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

    I respect engineers when I see their vi skills :)

  • @ichigokuro3986
    @ichigokuro3986 Місяць тому +2

    Lee man I know it may be difficult for you to make this full fleged tutorials, but please keem them coming! Would love to see more such videos wherein you build stuff

  • @PiyushChauhan2011
    @PiyushChauhan2011 Місяць тому +1

    Ultimately, this helps reunite the community and encourages people to place greater trust in Next.js.

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

      You’re right, at first I was excited, I was on my third project using Next.js, and then I felt trapped, lol.

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

    Thank you so so much Lee. The part where you talk about caching was extremely important to me. I think the vercel docs need to better explain WHERE all of the caching is stored when you deploy on a VPS, or when you deploy to Vercel. I think that your explanation helped me understand where the unstable_cache() function for example might store all of its data, depending on the environment

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

    Love this type of videos we need more that goes deeper into next.js and how to use some advanced features on otger platforms

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

    Best video for self hosting Next.js on UA-cam

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

    I am absolutely no one and at the same time very valuable (IMO) feedback giver: thanks, Lee, you are doing a very valuable job for sooo many people, you can't even imagine this crowd

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

    Thanks, this is exactly what I’m looking for. Feels nice seeing it from someone who actually works at Vercel

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

    Thats really great, that Vercel helps developers, to self-host their app.

  • @branmuller
    @branmuller Місяць тому +3

    Best deployment video for a framework I have ever watched, thanks Lee!

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

    Great work, Im just now staring to dive into Next.js and love to see that self hosting is possible

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

    I appreciate all the effort you are making to clarify these points. And I love that you used Bun runtime as an example!

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

    👏 Thanks for the video! It's amazing ✨. This is the kind of video we need to save the link to see later when it's needed.
    Greetings from Brazil 🇧🇷🇧🇷🇧🇷

  • @ebratz
    @ebratz Місяць тому +5

    this is so honest! huge respect for Lee and Vercel even more now!

  • @alisareini
    @alisareini Місяць тому +3

    what an incredible video

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt Місяць тому

    Great , I was waiting for more videos from you leerob , to learn things with next , thank you!

  • @oleksandrploskovytskyy1520
    @oleksandrploskovytskyy1520 24 дні тому

    so much gold info in this video, thank you!

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

    amazing video lee! this was really good. BTW, that peace at the end was new :D

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

    Boss tutorial. Appreciate the material you put out for the community :)

  • @ekip-123
    @ekip-123 Місяць тому

    Thank you for this great video! It is educational, very hands on and helps a lot to clear some myths about Next.

  • @mitchellrcohen
    @mitchellrcohen 9 днів тому

    “Items, nice!” 😂🎉 thank you. So. Much.

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

    This is literally gold.. thank you my man!

  • @k2p11
    @k2p11 Місяць тому +4

    Great content, thanks!

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

    You made my day lee!!! I really appreciate it!

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

    Awesome video Lee! Thanks for your time and effort doing this, it's really helpful

  • @farzadmf
    @farzadmf Місяць тому +1

    Great video! Small suggestion: it would be nice to zoom in a bit in the terminal so that the text is easier on the eyes

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

    Spend management = Pokeball, catching those wild things 😁
    big w

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

    Amazing to have this update 🎉

  • @MatiasBaldanza
    @MatiasBaldanza Місяць тому +1

    Thanks! This is just what I was looking for.
    Next: how to do this using Kamal.

  • @parkerrex
    @parkerrex Місяць тому +1

    Dudeeeeee yes. Thank you Lee 🎉🎉🎉🎉

  • @zaynelovecraft
    @zaynelovecraft Місяць тому +1

    Such amazing content !

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

    Thanks for making this video. We really appreciate it.

  • @RonnieGChagas
    @RonnieGChagas Місяць тому +1

    very helpful!
    Thx for the great tutorial

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

    Thank you for this tutorial. You've covered a lot of useful topics

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

    Awesome tutorial, thank you

  • @ankitkumarjat9886
    @ankitkumarjat9886 22 дні тому

    Very good video, I learnt a lot 👍

  • @necipakgz
    @necipakgz Місяць тому +1

    I already know. But I will watch it because I might learn something new.

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

    Thanks a lots Lee !

  • @zakir.nuriiev
    @zakir.nuriiev Місяць тому

    Thank you for this video!

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

    yeaah boi, Lee always comes to help :D

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

    Powerful move, and great video 👏

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

    Awesome work, Lee.

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

    Wow awesome content Lee.
    Can you please add error and performance monitoring

  • @Ss-zg3yj
    @Ss-zg3yj Місяць тому

    I am pleasantly surprised. Thanks

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

    Really nice video.

  • @ianlaulau
    @ianlaulau Місяць тому +3

    docker-compose is now built into docker since a few years ago as "docker compose" iirc, so I don't think it is necessary to separately install docker-compose in the script

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

    Man !! this was great !

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

    Her Lee I have an idea for your next video that I believe will benefit a lot of devs. Build this exact thing but on AWS instead. I believe that’s where a lot of mid to large engineering companies are at. I keep hearing the sentiment from a lot of peers that NextJS is for startup and agency type work in my circle.

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

    Good stuff man ❤

  • @sumitpurohit8849
    @sumitpurohit8849 Місяць тому +1

    DHH is really powerful

  • @zNermal
    @zNermal Місяць тому +1

    Pretty good video actually :)

  • @Michael-Martell
    @Michael-Martell Місяць тому

    This is awesome.

  • @caseyspaulding
    @caseyspaulding Місяць тому +1

    Thank you !

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

    Awesome tutorial, Lee! Would you like to do one using Kamal? It'd be great. Thank you in any case.
    P.S: Kudos to Vercel to not fear doing something like this. It makes me trust you/them (even) more.

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

    Bless you sir

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

    yoooo he did it! thank you lee

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

    Excellent 👍👍👍

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

    I appreciate you Lee 🌟🌟🌟🌟🌟

  • @rezarahem
    @rezarahem День тому

    thanks man, so cool,

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

    You dropped this……. 👑

  • @sealuke2724
    @sealuke2724 Місяць тому +2

    very helpful

  • @user-qc7ck3nh1d
    @user-qc7ck3nh1d Місяць тому

    Amazing resource....

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

    You're the best!

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd Місяць тому

    Thank you so much

  • @ArunKumar-gx8iv
    @ArunKumar-gx8iv Місяць тому

    amazing content

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

    Great video!!!

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

    Awesome Video

  • @asadsalehumar1011
    @asadsalehumar1011 Місяць тому +1

    Lee is the new Dan Abramov

  • @prerit714
    @prerit714 Місяць тому +2

    Vercel got roasted so bad they had to make a video about it. Anyways love this ❤

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

    great job!

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

    Amazing

  • @alexdin1565
    @alexdin1565 Місяць тому +1

    at the time thanks❤

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

    Super cool

  • @MuneebR7
    @MuneebR7 Місяць тому +2

    Lee I love yu man

  • @dat-ta
    @dat-ta Місяць тому

    thank you

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

    BREAKING: Lee Robinson denies that he is shadcn.
    jokes aside thanks for this Lee!

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

    Awesome stuff Lee, thanks for sharing! One question though. As I understand it caching on a CDN is not something you would do if you also want to support PPR? I guess for that to work you do need to hit the server so it can assemble the content from the cache in nextjs together with whatever content that is streamed in a suspensed component. Correct?

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

    thanks

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

    Theo predicted it

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

    tysm!

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

    Very nice, though I prefer using VSCode's SSH capabilities so I can work on the server files in the application UI vs a terminal.

  • @sulaimandev
    @sulaimandev Місяць тому +4

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

    finally!

  • @_timarney
    @_timarney 18 днів тому

    It would be great to get more info around deploymentId / x-deployment-id header etc... for skew protection. Running into issues with Next 15 now that ServerAction ids are secure.

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

    lovely, really great content! one question tho, what do you think about SST, maybe someone who's used it for production Next.js could give some info

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

    Thanks Pokémon~!