By Donald Zou
As the title stated, I want to know see if App Platform is the most cost-effective for hosting them, and can I host all in one app or i have to 40 different apps and each of them cost $5/month?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Heya, @donaldzouchenghong
App Platform is great for ease of use, but it’s not magically “$5 for 40 Next.js sites” unless you architect them as a single multi-tenant app or as static sites. By default, 40 independent dynamic Next.js apps on App Platform will be expensive.
If you’re okay architecturally, build a single multi-tenant Next.js app and host all sites as one App Platform service. That’s the sweet spot: you pay for one service, scale it as needed, and still get managed deploys.
If your priority is raw cost for 40 fully separate dynamic sites, a couple of Droplets with nginx + Node (or something like Dokku/capRover) will almost certainly be cheaper, because you can pack many apps onto the same VM and share resources.
Regards
Another approach is using a VPS or managed host you could run multiple Next.js apps with PM2 or Docker. This gives you more control over build pipelines and resource allocation though it is a bit more setup than App Platform.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.