Deploy Node.js to OVHcloud
Run your Node.js app on a OVHcloud server in your own account, with Postgres, MySQL or Redis, HTTPS and zero-downtime releases. OVHcloud bills you for the server directly, and Railyard adds no markup.
Steps
- 1
Create a OVHcloud API token
Create API keys on OVHcloud's token page: ca.api.ovh.com/createToken for an OVHcloud Canada account, eu.api.ovh.com/createToken otherwise. Railyard needs the application key, application secret, consumer key and your Public Cloud project ID, joined by colons, with :ovh-ca at the end for a Canadian account. Paste it into Railyard and tick Save it to the team, so it's reused for every server after this one.
- 2
Add a OVHcloud server
In Railyard, open Servers, then Add a server, then Create on your cloud, and pick OVHcloud, a region and a size. Railyard preselects d2-2 (1 vCPU, 2 GB of memory). It creates the server in your OVHcloud account and installs Docker, Caddy and its agent in about two minutes.
- 3
Deploy your Node.js repository
Paste the GitHub link. Railyard reads the repository, detects Node.js and fills in the build, the port, the release command, workers and Postgres, MySQL or Redis.
- 4
Go live on HTTPS
Railyard builds on a separate build server, 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 Node.js
- The start script in package.json becomes the web process.
- Your package manager is picked from the lockfile: npm, pnpm, yarn or bun.
- An npm run worker script is offered as a background worker.
- Add a database from the app page and its connection string is injected as a variable.
- Set a release command, such as npx prisma migrate deploy, to run before each release.
OVHcloud regions
Beauharnois keeps your data in Québec, with a provider whose parent company is French rather than American.
- Beauharnois, Québec
- Gravelines
- Strasbourg
- Frankfurt
- London
- Warsaw
- Vint Hill
- Hillsboro
- Singapore
- Sydney
Questions
Which OVHcloud server size should I start with?
Where does my Node.js app's data live?
What does it cost to run Node.js on OVHcloud?
Node.js on other clouds
Deploy Node.js to your own OVHcloud 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.