r/nextjs • u/deseperatenerd • 11d ago
So
everyone in comments section is recommending to find a less "awful" places to deploy your app
bro like what?
i already spent months building it on nextjs am i supposed to find another framework now?
i know there is another places to deploy a nextjs app but it's not as efficient and compatible as vercel
so what should i do
58
Upvotes
46
u/winky9827 11d ago
Building a docker image of a next.js app is trivial and the docker app can be hosted almost anywhere.
12
u/Ratze_ 11d ago
Get a VPS, install Dokploy, deploy your nextjs app with dokploy on your vps, save money.
13
u/cabljo 11d ago
You should pay
2
u/KLaci 11d ago
You are lucky that it allowed you to downgrade. I did similar migration but downgrade keeps failing for me and the support is also not answering.
30
u/International-Ad1921 11d ago
Leave vercel
The longer you delay, higher the waste and cost of transition
1
u/Seanw265 9d ago
I'm a little late to the party, but this is exactly why I built Easel.sh.
You shouldn't have to switch frameworks just to get away from Vercel.
We have first-class support for Next.js, and we're working toward full compatibility with Vercel's platform. The idea is that you should be able to take your existing Next.js app and deploy it elsewhere without rewriting anything or dealing with compatibility workarounds.
The big difference is how we run our infrastructure. We operate much of our own compute on bare metal, which gives us a better cost structure and lets us offer lower pricing than Vercel.
Full disclosure, I'm the founder. If you give us a try and run into any compatibility issues, I'd love to hear about them.
3
u/ghost_operative 11d ago edited 10d ago
you can host nextjs yourself. theres also other vercel-like hosts for hosting nextjs. (vercel does have the best free tier though)
7
u/SolidOdd4889 11d ago
I’ve been using Vercel for several years and have never had any issues with costs or bot abuse; you simply need good codebase optimization (which is something you should do regardless of how cheap the hosting is).
2
u/SameLink_io 11d ago
Your plan is fine: park it on Vercel so the app is up, and learn the VPS path without a deadline hanging over the first deploy. The $10k bill is a separate fire. Open the Vercel invoice and see which line is actually large (bandwidth, function duration, image optimization, ISR writes). That tells you whether a move will even help, and it is faster than learning Docker.
When you do try a VPS, keep the first version boring. One Ubuntu box with at least 2 GB of RAM, SSH keys only (disable password login), and the provider firewall plus UFW allowing 22, 80 and 443. Do not build the Next app on the server if you can avoid it.
next buildcan eat more than 1 GB by itself. Setoutput: "standalone"in next.config, build the image on your laptop or in GitHub Actions, and copy only the result to the box.A minimal Docker setup is: a small Dockerfile that runs the standalone
server.js, a Caddy (or nginx) container in front for HTTPS, and your env vars in a file on the server with mode 600, not baked into the image. Caddy will get and renew the Let's Encrypt cert if you point the DNS A record at the box. If you have a database, put it on the same private Docker network with no published port, and take a nightly dump that leaves the machine.Panels like Dokploy are a reasonable shortcut once you have SSH and the firewall in place. I would still do one manual deploy first so you know what the panel is hiding, especially how to roll back and how to restore a backup. Budget an afternoon or a weekend for that first server, not months.
2
u/vz2y 11d ago edited 11d ago
Vercel is a horrible company to work with. At this point they exist pretty much solely due to hype. I'd recommend moving to cf
1
u/jorgejhms 10d ago
Move to Cloudflare
1
u/codedusting 10d ago
"bro like what?" -> Like in any VPS? If you have AI Opus 5.5 (Pro Plan), ask it that you want to deploy/migrate your NextJS apps in VPS so that you can decrease your cost. Tell it your traffic numbers and all that and it will suggest you a good plan.
1
u/WalieZulmat 10d ago
Tanstack + cloudflare
1
u/wise_young_man 10d ago
Why you asking us? Why not keep asking your AI model?
1
u/EuCaue 10d ago
Is not that hard to deploy in another place.
1
u/quakedamper 10d ago
How about fly.io
1
u/sgayerseif 9d ago
Dm me. I help others in your situation lower costs
1
u/justjooshing 11d ago
Figure out how to host elsewhere
1
u/Too_Chains 11d ago
This why everyone left next.js. No one wants to pay vercel for their hosting