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

preview_player
Показать описание
btw, when I say prod logs, I mean I should be able to go back months in the past and view logs. If a service is $20 a month and they require me to sign up for yet another service to get real log support or be able to use complex queries to find logs in the past containing certain strings, it's a no-go for me personally.

- vercel - best UX, but no built-in prod logs, good metrics ui, pricy, first class next support
- amplify - good ux IMO, lowest latency for me, built-in prod logs via cloudwatch, cache issue as mentioned in prior video, hard to figure out how long endpoints took, parsing endpoint metrics is a joke
- sst - cheapest option, serverless, might require learning IaC, performance similar to vercel? open source so might be slow to adopt new next features, lots of DIY
- digital ocean - seems fastest??, but probably no edge computing, cheap, might get the job done, containerized next =(
- netlify - seems good, beta edge functions, price same as vercel, might as well use vercel
- railway - won't let me use them 🤣 but I do love their service when I used it a while back, but containerized next =(
- render - sucks, didn't work for me

00:00 intro
00:56 AWS Amplify
05:22 vercel
08:13 netlify
11:10 digital ocean
13:13 render
13:44 railway
14:46 final thoughts

Рекомендации по теме
Комментарии
Автор

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

Xbardo
Автор

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

maddsua
Автор

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

michaels_offshore
Автор

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)

maddsua
Автор

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.

toshimichi
Автор

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

yarrichar
Автор

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

mdtron
Автор

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

SeibertSwirl
Автор

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!

eshw
Автор

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

phojie
Автор

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

FlintBits
Автор

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.

filipjnc
Автор

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

tansven
Автор

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

naman_dw
Автор

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

augustoeduardo
Автор

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

deepjyotideb
Автор

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?

omarkraidie
Автор

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

sergeylukin
Автор

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.

jacksonoppenheim
Автор

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!

appstuff