Deploy Next.js to UpCloud
Run your Next.js app on a UpCloud server in your own account, with Postgres or Redis, HTTPS and zero-downtime releases. UpCloud bills you for the server directly, and Railyard adds no markup.
Steps
- 1
Create a UpCloud API token
In your UpCloud account, open Account → Permissions → API access and create a new API user with read-write access. Paste it into Railyard and tick Save it to the team, so it's reused for every server after this one.
- 2
Add a UpCloud server
In Railyard, open Servers, then Add a server, then Create on your cloud, and pick UpCloud, a region and a size. Railyard preselects 1xCPU-2GB (1 vCPU, 2 GB of memory). It creates the server in your UpCloud account and finishes setup in about two minutes.
- 3
Deploy your Next.js repository
Paste the GitHub link. Railyard reads the repository, detects Next.js and fills in the build, the port, the release command, workers and Postgres or Redis.
- 4
Go live on HTTPS
Railyard builds your app, runs the release command, health-checks the new version and moves traffic only when it answers. Add your domain and the certificate is issued and renewed for you.
What Railyard sets up for Next.js
- Your package manager is picked from the lockfile: npm, pnpm, yarn or bun.
- Railpack runs your build script, then the app starts with npm start.
- The app listens on $PORT. HOST and similar variables are set for you.
- Add Postgres or Redis from the app page and the connection string is injected as a variable.
- Large front-end builds are fitted to the build server's memory.
UpCloud regions
UpCloud is a privately-owned Finnish provider, independent of the large hyperscalers.
- Frankfurt
- Helsinki
- Amsterdam
- London
- Madrid
- Warsaw
Questions
Which UpCloud server size should I start with?
Where does my Next.js app's data live?
What does it cost to run Next.js on UpCloud?
Next.js on other clouds
Deploy Next.js to your own UpCloud server.
No credit card. Your provider bills you for servers at its own price.
Free plan, no card, and 14 days of Pro for every new team. One flat price per team.