Advanced: Self-Hosting on Your Own Render Account (Optional)
Optional and rarely needed: 9orb hosts everything by default. This guide is only for people who want to run a copy on their own Render account.
Render is the hosting company behind 9orb's own infrastructure. Two optional paths involve a Render account of your own:
- A fallback key: if 9orb's hosting is not available on a deployment, a Render API key you add under Settings is used to deploy into your own Render account instead. On 9orb's normal service this fallback is not used.
- Self-hosting a copy: the Deployments page of a project can generate a render.yaml Blueprint so you or a developer can deploy a copy on your own Render account.
Getting the code
Your project's code lives in a private repository in 9orb's managed GitHub organization. To self-host, you need a copy in a repository you control: connect GitHub (optional) for collaborator access and copy the code from there, or ask us through the contact page.
Create a Render account
- Sign up at render.com.
- Verify your email and, if prompted, add a payment method. Some Render features work without one, but databases and paid instance types require it.
Self-hosting with render.yaml
- Open your project in 9orb, go to Deployments, and under "Advanced: self-hosting (optional)" click "Generate render.yaml".
- Add the file to your repository.
- In the Render dashboard, choose New, then Blueprint, and select the repository.
- Fill in the environment variables listed in the file and deploy. Render builds the copy and gives it an onrender.com address.
Typical service settings: build command `npm ci --include=dev && npm run build`, start command `npm start`, and health check path `/api/health`.
Costs when you self-host
When you host a copy yourself, Render bills you directly at its own prices. Free web services spin down after inactivity, Postgres databases on Render are paid after a trial period, and always-on instances cost money. None of this applies to products 9orb hosts for you.