Render
Render runs your Node REST API as a long-lived web service with platform-managed TLS, autoscaling, and PR previews. Use the Node adapter and let Render inject PORT.
When to choose Render
- You want a Heroku-like UX with modern autoscaling and per-second billing.
- You want PR previews wired to your repo without extra CI config.
- You want managed Postgres or Redis from the same dashboard.
Server entrypoint
render.yaml
Use runtime: node. The older env: node field is deprecated.
Deploy
Push to your repo. Render picks up render.yaml automatically. For the first deploy, create a Blueprint service from the dashboard.
Gotchas
- Bind to
0.0.0.0, notlocalhost, or Render can't route traffic to the container. healthCheckPathmust return 2xx within the timeout. Use the lifecycle plugin's health endpoint.