Save Your Time - I deployed Next.js to different services (so you don't have to)

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

Комментарии • 84

  • @Xbardo
    @Xbardo Год назад +12

    This is low-key the best webdev youtube channel. Nice video btw! 🎉

  • @maddsua
    @maddsua Год назад +19

    Quick note 2: Netlify has logs, you just need to switch timescale from "realtime" to whatever you want to see. And the Analytics button is literally just the one next to Settings (the second one on the right side)

    • @WebDevCody
      @WebDevCody  Год назад +2

      Nice thanks for pointing that out

  • @toshimichi
    @toshimichi Год назад +5

    I personally like sst, because sst gives you full control over your application in a single configuration file, is fully pay-as-you-go, and free from cold starts with "warm" option that can be enabled in the config.
    You can even integrate with custom domain names in the config file. No interaction necessary.

  • @yarrichar
    @yarrichar Год назад +13

    I would say another advantage of SST is the ability to add SQS and other AWS services easily.

  • @michaels_offshore4504
    @michaels_offshore4504 Год назад +8

    Just found your channel like yesterday. Your videos are hella informative and entertaining. Keep up the good work!!

  • @mdtron
    @mdtron Год назад +14

    There is also cloudflare pages which supports next, so maybe try that and see how it stacks up against these others.

  • @maddsua
    @maddsua Год назад +25

    Vercel does not own any data-centers, they use AWS. Just a quick note while watching

    • @WebDevCody
      @WebDevCody  Год назад +1

      Ty, why do they provide less edge locations than aws than?

    • @maddsua
      @maddsua Год назад +1

      @@WebDevCody that's a mystery. Just like their latency, I just don't get how the numbers are possible

    • @tefkah
      @tefkah 2 месяца назад

      this video is old, but just for reference, the reason is that they use cloudflare for edge functions

  • @eshw23
    @eshw23 Год назад +6

    Can you teach us how to deploy a rest api , like Express, Nestjs, or a MERN app online? To something like Aws, Cloud run, or another platform you recommend. Would help us out a lot!

  • @filipjnc
    @filipjnc Год назад +2

    What do you mean Vercel‘s data center being located farther than AWS? Vercel IS running their lambdas on AWS. And to my knowledge, you can choose your AWS region in Vercel.

    • @WebDevCody
      @WebDevCody  Год назад

      If you go to vercels website and view their edge locations, they only list 4 in their cdn. AWS cloudfront mentions Atlanta which vercel does not for a location, so aws has more in their CDN from what I understand. I might be wrong

  • @naman_dw
    @naman_dw Год назад +2

    I’ve been a netlify diehard but recently discovered vercels regional edge functions , which is not possible to do with netlify. That made me switch to vercel

  • @deepjyotideb1173
    @deepjyotideb1173 Год назад +1

    Amplify also cannot handle server side streaming data for some reason, so that's another point against them.

  • @augustoeduardo209
    @augustoeduardo209 Год назад +6

    Cloudflare has a good support to nextjs and free sqlite database still in beta called "D1".

    • @mmzzzmeemee
      @mmzzzmeemee Год назад

      I was about to try cloudflare, but apparently they only supported NEXT's static export?
      That means no server? what did you do?

    • @kumaramit04-q6c
      @kumaramit04-q6c Год назад

      @@mmzzzmeemee SSR works pretty much well in Cloudflare with Next js Edge runtime.

    • @mmzzzmeemee
      @mmzzzmeemee Год назад

      ​@@kumaramit04-q6c Oh yeah, now i remember.
      I remember about with cloudflare that i'd have to enable edge runtime or something, but because i'm pretty new to serverless (much less edge computing), i stopped there (bc i'm not sure if my app would break or not lol).
      Maybe cody can do a vid on cloudflare with NEXT JS? @WebDevCody

  • @FlintBits
    @FlintBits 7 месяцев назад

    This video needs more views. Thank you for doing this!

  • @jacksonoppenheim956
    @jacksonoppenheim956 Год назад +1

    I know that linode/Akamai is looking at adding FaaS and serverless infra, so I’d be curious to see how well that stacks up. I know their dx isnt the greatest for more traditional apps, but they are pretty cheap and you do get a ton of control over the infra.

  • @sergeylukin8740
    @sergeylukin8740 Год назад +1

    Did you try contacting Render/Railway support? Render customer support is superb and Railway just worked all the time for me.

  • @SeibertSwirl
    @SeibertSwirl Год назад +9

    Good job babe! I’m failing at being the first comment 😅 but I’m here lol love ya

    • @WebDevCody
      @WebDevCody  Год назад +7

      you're first in my heart

    • @SeibertSwirl
      @SeibertSwirl Год назад

      @@WebDevCody Lmaoooooooo cheeeesyyyyyyyy 😘 💋

    • @jeremy0x
      @jeremy0x Год назад +1

      I got to know about ​@@SeibertSwirl's support on this channel in Web Dev Cody's 100k subs appreciation post, and I found her here 😅
      This is amazing!

  • @phojie6868
    @phojie6868 Год назад +3

    as a Vue dev, I much prefer netlify. it does more support DX for vue than any other services out there., But vercel is a big W too

  • @TurtleMotion
    @TurtleMotion Год назад

    How do you create that glossy background with the colors at 0:18 ?

  • @tansven8760
    @tansven8760 3 месяца назад

    Is it just me or sst v3 ion just does not play well with windows?

  • @peopleinc9468
    @peopleinc9468 Месяц назад

    You not tried cloudflare?

  • @appstuff6565
    @appstuff6565 Год назад

    Thanks for this Cody! So you're telling me I can use AWS Amplofy for my NEXTJS + Supabase BaaS to be deployed on amplified as easy as any other platforms now?
    Do you have a video? If so can you please guide me to it? Thanks!

  • @shraj340
    @shraj340 8 месяцев назад +1

    Which is most price effective 🎉🎉🎉🎉🎉🎉🎉🎉🎉

    • @WebDevCody
      @WebDevCody  8 месяцев назад +1

      Sst is the cheapest unless you get a ddos

    • @shraj340
      @shraj340 8 месяцев назад +1

      @@WebDevCody getting ddos isn't possible with others ? How to prevent? Btw very thanks for replying. ♥️

  • @CommunityAllSeasons
    @CommunityAllSeasons Год назад

    Hey, Cody!! I'm sorry but this question has nothing to do with the content, but I have a question about external component libraries in React. If you have built a component and that component is consumed by different repos in your org and you need to rename that component or change a prop, what are some migration strategies to deal with a situation like this?

    • @WebDevCody
      @WebDevCody  Год назад +1

      If you’re using typescript it should tell you where you broke stuff or need to rename stuff

  • @omarkraidie
    @omarkraidie 10 месяцев назад

    Why are next.js initial loads slow when deployed to Vercel but static landing page app made with vite deployed to Netlify much faster on initial load?

    • @WebDevCody
      @WebDevCody  10 месяцев назад +1

      Probably cold starts on serverless

    • @omarkraidie
      @omarkraidie 10 месяцев назад

      @@WebDevCody Thanks for the reply!

  • @paramaggarwal
    @paramaggarwal 10 месяцев назад

    Thanks

  • @londelidess
    @londelidess Год назад

    I tried with render and I couldn’t.
    I am glad it was not only me lol.
    Nice video!!!
    I have a next.js app calling open api using langchain so that api calling takes more than 10 sec so my application didn’t work on free vercel free account.

  • @realcirno1750
    @realcirno1750 Год назад +2

    i need to put some time aside to learn SST.. i tried amplify but didnt like how heavy-handed it was, right now im just hosting nextjs on fargate containers lol

    • @Goyo_MGC
      @Goyo_MGC Год назад

      Aren't you getting charged a lot for it ? Genuinely interested as I "played" with EC2 and got charged a lot real fast

    • @realcirno1750
      @realcirno1750 Год назад

      ​@@Goyo_MGC it depends on the cpu+ram+number of containers but its not really that expensive imo of course its still a lot more expensive than what youd be getitng with a serverless deployment

    • @VincentFulco
      @VincentFulco Год назад

      Had some teething problems the last week. Created appsync back end, deployed fine. Added another schema item , resolver, etc. , the local deploy wouldn't find the new dynamodb table. Also opennext was a bit weird, SST monitor would run but nothing would render.

    • @Goyo_MGC
      @Goyo_MGC Год назад

      @@realcirno1750 Thanks for the answer !

    • @bob_kazamakis
      @bob_kazamakis Год назад

      @@Goyo_MGC if you strictly use AWS for serverless services, you won’t get charged hardly anything

  • @kwongster
    @kwongster Год назад

    curious how Firebase is from your perspective 🤔

  • @Lavah
    @Lavah Год назад

    Any NodeJS hosting recommendations that also include php?

  • @hajin1819
    @hajin1819 Год назад

    Firebase?

  • @deepjyotideb1173
    @deepjyotideb1173 Год назад

    Render works tho and i recently pushed an app there.

  • @sahadpop4135
    @sahadpop4135 Год назад

    Make a video on firebase

  • @code-island
    @code-island Год назад +1

    whats the point of doing a comparison video if you can't guarantee that the comparison ir fair, like same region, caching, etc

    • @WebDevCody
      @WebDevCody  Год назад +1

      Looking back, I didn’t explain it well, but the performance boils down to how many edge locations these providers have. Cloud flare (digital ocean) has the most I believe, cloudfront has a lot as well including an Atlanta location which is closest to my location, vercel only have 4 locations in the us. So, the load times I talk about are basically demonstrating that some provides have less cdn edge locations, meaning users down in Florida will have worst load times hitting a vercel site compared to aws. The other stuff I mention in the video about DX and UX of the services are valid and fair.

    • @williamx0
      @williamx0 Год назад +1

      @@WebDevCody I still value these videos. It's more of a friend showing you what they're doing instead of a scientific benchmark which is appreciated too as long as that's disclosed which it was. He also wasn't trying to misrepresent or push a narrative, so it's fine. Please keep it up

  • @User-w8t4t
    @User-w8t4t Год назад +1

    Vercel ui is more user friendly

  • @rdalert3
    @rdalert3 Год назад +3

    🤣🤣🤣 The same happened to me with railway, and i really didn't even bother using it

    • @alkolaqi83
      @alkolaqi83 Год назад

      I really want to use raiway but they just playing hard

  • @Badadodadoop
    @Badadodadoop Год назад

    Nice video!

  • @rafinha-1112
    @rafinha-1112 Год назад

    Have you tried Flightcontrol?

    • @WebDevCody
      @WebDevCody  Год назад

      Nope

    • @lilililliilil
      @lilililliilil Год назад

      From my experience, it wasn't that good.

    • @lilililliilil
      @lilililliilil Год назад

      @@BreuXBranco The chatbot was't event working, UX was difficult to understand. For instance deleting the app etc.

  • @SuperKidontheblock
    @SuperKidontheblock Год назад

    The engineering shit is making me blind man. Everything be blurry. Drop some eye health care tips ya nerds! :) Appreciate it.

    • @WebDevCody
      @WebDevCody  Год назад

      Don’t stare at a computer, aka , don’t get into this industry

  • @CodingWithJerry-fn4cv
    @CodingWithJerry-fn4cv 10 месяцев назад

    @WebDevCody rate these from best to worse

  • @gung2267
    @gung2267 Год назад +1

    1:00 noob ;)))

  • @yousafwazir3167
    @yousafwazir3167 Год назад +1

    Nice

  • @z-aru
    @z-aru Год назад +7

    Hear me out bro, deploying to vercel is really awesome for me, just need to import my project by including the repo link, setting up envs, and then bam, that's all,
    your repo has an update? just push the code to your remote git repo.
    They even provide a preview when pushing to one of your branch!
    OMG please nerf vercel

    • @primumNocere
      @primumNocere Год назад +2

      Same with amplify. My first experience with CI and was pretty effortless to set up, it handles the GitHub actions and all that jazz, even previews PRs. Can’t get over how sleek vercel ui looks though 🫠

    • @z-aru
      @z-aru Год назад +2

      @@primumNocere haven't tried amplify yet, but my first impression of AWS honestly kind of horrible. I got overwhelmed with AWS menus, so looking at vercel ui got me like a breeze

    • @nested9301
      @nested9301 Год назад

      Idon't why people want to try other hosting provider when vercel is suitable for next js what is the benefits of that

    • @z-aru
      @z-aru Год назад

      @@nested9301 Probably because of the pricing though, it kinds of iritating too tbh

    • @zoki5388
      @zoki5388 Год назад

      What about cold start.

  • @lilililliilil
    @lilililliilil Год назад

    Awesome video!

  • @haha-eg8fj
    @haha-eg8fj 10 месяцев назад

    Have you tried firebase?