Pricing Docs Blog Apps Tools Get Started
Node.js

Deploy Next.js in 60 Seconds

Next.js is the React framework for production. Deploy it on your own server with full SSR, API routes, and middleware — no Vercel lock-in, no usage-based billing surprises.

Deploy Next.js Starting at $3/mo

The usual way to deploy Next.js

  1. Vercel bills per-function invocation, bandwidth, and ISR revalidation — costs spiral at scale
  2. Self-hosting means configuring standalone output, a custom server, and a CDN for static assets
  3. Setting up a Node.js server with proper memory limits, graceful shutdown, and health checks
  4. Managing next build caching, .next directory sizes, and OOM kills on small VPS boxes
  5. Handling environment variables at build-time vs runtime and getting IMAGE_OPTIMIZATION to work outside Vercel

Vercel makes it easy until the bill arrives. Self-hosting is powerful but painful to set up.

Or just run one command

$ instapods deploy my-nextjs-app --preset nodejs
→ Uploading files...
→ Installing dependencies (npm install)...
→ Building (next build)...
→ Starting with npm start...
✓ Live at https://my-nextjs-app.instapods.app

What you get

Recommended plan for Next.js

Build Plan
$7/mo
Deploy Next.js

Next.js deployment notes

Build & Start Scripts

Make sure your package.json has "build": "next build" and "start": "next start". InstaPods runs npm install, then npm run build, then npm start.

Standalone Output

For smaller deploys, add output: "standalone" to next.config.js. InstaPods works with both standalone and default output modes.

Memory for Builds

next build can be memory-hungry. The Build plan (1 GB RAM) handles most projects. For large apps with many pages, use Grow (2 GB).

Deploy Next.js in 60 seconds

One command. Real server. HTTPS included. No DevOps degree required.

Get Started