Skip to main content
Choose a plan

Next.js hosting, a server of its own.

Push to GitHub and Cloud builds the app and runs it as one Node server in an instance of its own, the way it runs on your machine. It sleeps when nobody visits and wakes on the next request.

Plans from $2.50 a month. Cancel any time.

Next.js · production

main · just now

Deploying
  1. Install dependenciesDone
  2. next buildDone
  3. Build a standalone imageDone
  4. Check /Done
  5. Live, zero downtimeDone
Start
package.json start
Node
From engines or .nvmrc
Output
standalone
Images
sharp, built in
Streaming
Not buffered
Static export
No instance

Next.jswhat you get

SSR, streaming and Server Actions.

Cloud knows what Next.js needs and sets it up when you create it, so there is nothing to configure before the first deploy.

  • 01

    A real Node server

    The app runs its start script as one long-lived server, so middleware, route handlers and after() work as written.

  • 02

    Streaming as it renders

    Responses are not buffered, so Suspense boundaries reach the browser as they resolve.

  • 03

    Server Actions across deploys

    Each environment gets its own encryption key, so Server Actions keep working while the old and new versions overlap.

  • 04

    Image optimization included

    next/image resizes with sharp on the instance's CPU, with no per-image charge.

  • 05

    Graceful stops

    A replaced version gets 30 seconds to finish its requests and after() callbacks.

  • 06

    Static exports are free to host

    With output: 'export', Cloud serves the files as a static site, with nothing to wake.

What it costs

Credit for the time it's awake.

Each size has a monthly price, used by the minute while it is awake. Asleep is free. An app built with output: 'export' is served as a static site, with no instance and no compute credit.

  • 512 MB RAM

    A small site or docs

    Awake 3 hours a day
    $0.17/mo
    Awake 12 hours a day
    $0.67/mo
    Always on
    $1.25/mo
  • 1 GB RAM

    Most apps

    Awake 3 hours a day
    $0.33/mo
    Awake 12 hours a day
    $1.34/mo
    Always on
    $2.50/mo
  • 2 GB RAM

    Heavy rendering and images

    Awake 3 hours a day
    $0.67/mo
    Awake 12 hours a day
    $2.68/mo
    Always on
    $5.00/mo
RAMAwake 3 hours a dayAwake 12 hours a dayAlways on
512 MBA small site or docs$0.17a month$0.67a month$1.25a month
1 GBMost apps$0.33a month$1.34a month$2.50a month
2 GBHeavy rendering and images$0.67a month$2.68a month$5.00a month

Plans: Hobby $2.50, Starter $7.50, Growth $22.50, Scale $67.50 a month in credit.

Work out your plan →

Getting started

Up and running in three steps.

  1. 1

    Connect the repository

    Pick the repository and branch. The Node version comes from engines.node, .nvmrc or .node-version.

  2. 2

    Set your variables

    Add them in settings. NEXT_PUBLIC_ values are baked in at build time, so deploy again after changing one.

  3. 3

    Add your domain

    Point the domain at Cloud and SSL is set up, with Cloudflare in front.

Tools

The tools you already use.

What you reach for on a server is in the panel, with nothing to install.

  • A fast network

    Each instance sits on a network that moves up to 10 Gb/s, with Cloudflare in front.

  • A terminal in the panel

    Run any command in the app's instance from the browser.

  • Logs in one place

    Server output and errors go to the Logs tab.

  • Variables in settings

    Set them for each environment in settings, kept out of the repository.

FAQ

Next.js on Cloud, answered.

01.

Does Cloud run Next.js as serverless functions?

No. The app runs as a normal Node server in one instance. It sleeps after 10 idle minutes and wakes on the next request.

02.

How much does a Next.js app cost?

A 1 GB app running all month uses $2.50 of credit, and less when it sleeps. The Hobby plan is $2.50 of credit a month.

03.

Can I host a static Next.js export?

Yes. With output: 'export', Cloud serves it as a static site, with no instance and no compute credit.

04.

Which Node version is used?

The one in engines.node, then .nvmrc, then .node-version. Without any of them, the current LTS.

05.

Is the app slow after it sleeps?

Waking takes under a third of a second in the first hour asleep and about 3 to 4 seconds after that. Turn sleep off for apps that must answer at once.

06.

Does the Next.js cache survive a deploy?

No. Next.js caches in the instance's memory and disk, which start fresh with each deploy.

Something not covered here? Ask us directly.

Plans from $2.50 a month

Your sites, metered by the minute.

Pick a plan, sign in with your Spectivis account and deploy your first site from Git or SFTP.

  • Cancel any time

    Change plan or stop at the end of the month you paid for.

  • Free static sites

    HTML and static sites use no credit, on every plan.

  • Data kept 14 days

    After cancelling, everything is kept 14 days before it is deleted.

  • Top up from $5

    Busy month? Top-ups add credit and last 12 months.