Must have
Installation requirements
- Use a supported Node.js release that matches your application’s package requirements.
- Run the application as a persistent service and keep configuration secrets outside the public directory.
Application hosting
Node.js runs JavaScript applications on a server. The application determines the version, database and background processes needed, so size the host around the project rather than the runtime alone.
Requirements last checked against the project's documentation.
A sensible first server for Node.js applications is 1 vCPU, 1 GB RAM and 10 GB of storage. The cheapest listed plan that fits is Basic from Kamatera at $4.00/month.
Find the software and services needed to run the application.
See requirementsPlan memory, storage and CPU for the way you will use it.
Open resource plannerCompare plans for the starting size, then review the provider and billing terms.
See plansMust have
Recommended
Size for the JavaScript application: active requests, workers, database connections and retained files. Several processes on the same server share its memory and CPU.
Where to start
Our estimated starting configuration for a small website on one server. Adjust it after observing resource use under real traffic.
Our shortlist
One cheapest plan per provider, based on each provider's standard list price. Check the plan page for introductory and renewal pricing before you buy.
Deploy with
The host must provide
Storage
The runtime does not define application storage needs. Keep mutable uploads and generated data on persistent storage; build output and dependencies are release artifacts.
Step by step
Read the project engines field and dependency requirements, then select a maintained Node.js LTS release.
Official instructionsDeploy the lockfile and use the matching package manager in a clean install; run the application build when its framework requires one.
Official instructionsUse a dedicated service account, a process supervisor such as systemd or a container runtime, and a reverse proxy with HTTPS.
Official instructionsSupply secrets through the service environment or secret store, and mount only the directories the app must write.
Official instructionsSecurity
Cost
Want the full monthly bill? Use the hosting cost calculator. Add storage, backups and other costs to your estimate.