Next.js hosting server or static.
Deploy your Next.js app from GitHub. Run it with next start when it needs a server, or serve a static export on the free size. Kubana builds it on every push and serves it over HTTPS.
Next.js hosting
Kubana Cloud App Platform deploys Next.js apps from a GitHub repository in two ways. Next.js SSR runs your app with next start, for server components, API routes and server-side rendering, from $4 a month. Next.js SPA serves a static export (output: 'export') from the out folder you set as the build folder, and can run on the free size. Kubana installs dependencies with npm, pnpm, Yarn or Bun, uses the Node.js version from package.json engines, .nvmrc or .node-version, runs your build script, and serves the app over HTTPS with auto-deploy on every push. Environment variables, including NEXT_PUBLIC_ ones, are available during the build and at runtime. Apps are billed by the hour from prepaid credit in RWF, BIF or USD.
- Modes
- Server (next start) or static export
- Package managers
- npm, pnpm, Yarn, Bun
- Node.js
- From engines, .nvmrc or .node-version; LTS by default
- Variables
- Available at build time and runtime
- Price
- Static export free (2 apps); server from $4/month
Next.js hosting
Server rendering
Next.js SSR runs next start in a container, so server components, route handlers and API routes work as they do locally.
Static exports
Next.js SPA serves the out folder of a static export. It runs on frontend sizes, including the free size.
Auto-deploy on push
Every push to your branch builds and deploys. Each deployment keeps its build log.
Rollbacks
Redeploy an earlier commit from the Deployments tab when a release goes wrong.
Custom domains with HTTPS
Attach up to 5 of your own domains. Certificates are issued and renewed for you.
Deploy from your AI assistant
Ask Claude or ChatGPT to deploy, read the build log or roll back, through Kubana’s MCP server.
Next.js hosting
Pick a mode
Create a Next.js SSR app if your app needs a server, or Next.js SPA for a static export.
Connect your repository
Add the read-only deploy key Kubana gives you to your GitHub repository and pick a branch.
Deploy
Kubana builds your app and serves it on an HTTPS URL. Turn on auto-deploy to ship every push.
From $2/month
Static exports also run free on the Free size (up to 2 apps). Server apps from $4/month.
Frequently asked questions
Pick Next.js SSR if your app uses server components, route handlers, API routes, server-side rendering or middleware: Kubana runs it with next start. Pick Next.js SPA if next.config sets output: 'export': Kubana serves the out folder as a static site, which can run on the free size.
next start listens on the PORT environment variable, which Kubana sets. You don’t need to change anything unless you replaced the start script, in which case read PORT.
Yes. Environment variables you set in the dashboard are available both while Kubana builds your app and when it runs, so NEXT_PUBLIC_ values are inlined at build time. Redeploy after changing them.
The version in package.json engines.node, .nvmrc or .node-version, in that order. Without one, the current LTS release is used.
Yes. Attach the domain to your app, point its A record at 62.238.7.246 and remove any other A or AAAA records on that name. Kubana issues the HTTPS certificate for you. You can attach up to 5 domains per app.
A static export can run free on the Free size (up to 2 apps per account) or from $2 a month. A Next.js SSR app starts at $4 a month for 1 vCPU and 512 MB of memory. Apps are billed by the hour.
Ready to get started?
Create an account, top up your credit in RWF, BIF or USD and launch in minutes. Our team in Kigali and Bujumbura is here 24/7.
Kigali: KG 298 St · +250 781 776 317Bujumbura: Rohero 2, Av. Kunkiko No 20 · +257 69 803 000
