# Rails, with the job runner and the Procfile covered.

> Managed Ruby on Rails hosting. Puma, a job runner and a managed database run on one dedicated server. CodeHerder ships your Rails upgrades.

Source: https://customhosted.com/host/rails/

№ 01 What we host

Puma, a job runner and a managed database all run on one dedicated instance. A push builds the assets, runs your migrations and restarts both processes. CodeHerder then ships the upgrades you brief.

Revised 29 Nov 2026

When this isn't the right fit Is your Rails app small, with no job runner and no scheduled work? Then it is a smaller shape. Say so on the quote form and the extra process drops off.

№ 02 The requirements

## What it needs to run

The shape of the workload, before any hosting decision gets made.

- **Runtime**: Ruby with Puma, long-running
- **Build step**: bundle install + assets:precompile, with db:migrate on deploy
- **Standing process?**: Yes: a web process, plus a job runner (Solid Queue or Sidekiq)
- **Data store**: Postgres, via your existing Active Record migrations
- **Verdict**: Dedicated, budgeted for the job runner as well as the web request

№ 03 How it runs

## How it runs here

The same management as every other tier we run, written in Ruby on Rails's own terms.

- Provisioning — A dedicated instance with Ruby, Puma and a job runner, all set up on day one. The Ruby version comes from your repo.
- Deploys — Push to main. The pipeline runs bundle install, precompiles assets and runs your migrations. Then it restarts the web process and the job runner.
- Data + backups — A managed database tier next to the app, backed up every night with point-in-time recovery. Active Record migrations run against it unchanged.
- TLS / DNS / monitoring — Certificates renew on their own and we manage DNS end to end. Monitoring restarts a stalled job runner and alerts a person if it keeps failing. — [What a visitor sees during a restart →](https://customhosted.com/what-visitors-see)

№ 04 Moving it in

## Moving it in

Already running somewhere else? The full [migration playbook](https://customhosted.com/migrate) covers the general steps. Below is what is specific to Ruby on Rails.

1. 1 — Point us at the repo — We need read access to the repo, your Procfile if you have one, and the current database.
2. 2 — We stand up a copy — We build the app, run the migrations, and wire up the job runner and any scheduled work on a staging copy first.
3. 3 — Cutover on your schedule — DNS and TLS switch over with little-to-no downtime. A rollback stays ready if anything looks wrong.

The real gotchas

- Rails reads its encrypted credentials with `RAILS_MASTER_KEY`. That key must move as a secret and stay out of the repo. The Configuration page covers where a secret lives.
- Active Storage on the local disk service keeps uploads on the instance disk. Plan for that disk, or use object storage. The Files page covers disks.
- Rails 8 can run SQLite in production. That file lives on the instance disk. The nightly backup covers it. Managed point-in-time recovery does not. The Recovery and Databases pages explain the difference.
- A scheduler add-on or a `whenever` cron entry does not move by itself. Write it as a crontab line, or as an entry in `config/recurring.yml` for Solid Queue. The Background jobs page covers the clock.

№ 05 The loop

## The loop, on Ruby on Rails

Rails upgrades are the chore teams put off longest. Each one is a clear, bounded change, so each is a good size for a brief.

1. 01 — Build — CustomLabs — Bring a Rails app you already built. Or CustomLabs designs and builds the first version to Rails conventions.
2. 02 — Iterate — CodeHerder — Brief a Rails upgrade, a new model or a background job in plain language. An agent opens a pull request against the real app. A person reviews it.
3. 03 — Run — CustomHosted — Puma and the job runner on one dedicated instance, with a managed database. We patch the instance on a schedule.

An example brief

- **The brief**: Move the app to the next Rails minor version and clear the deprecation warnings.
- **What the pull request holds**: The Gemfile and lockfile bump, the config defaults change and the fixed deprecations, in one pull request. CI runs your test suite on it. A person reviews it before it merges.
- **What happens next**: [A human reviews and merges](https://customhosted.com/review). [It ships through the same pipeline](https://customhosted.com/deploys).
- **A real one**: [The site is blinding at night](https://customhosted.com/case-files#cf-01) (+751 −258 · 19 files · merged 2026-07-31).

№ 06 Your Procfile is the spec sheet

## Your Procfile is the spec sheet

Did your app run on a self-serve deploy platform? Then you already wrote down what we must provision. Each line maps to something we run.

| On the old platform | What we run |
| --- | --- |
| `web:` | The Puma process. It runs all the time and restarts on every deploy. |
| `worker:` | A second standing process. We monitor it and restart it on every deploy. |
| `release:` | A step in the deploy pipeline. It runs before the restart. |
| The platform’s scheduler | A crontab line, or an entry in `config/recurring.yml` for Solid Queue. |
| Config vars | `DATABASE_URL` points at the managed database. `REDIS_URL` points at Redis. `RAILS_MASTER_KEY` moves as a secret. |

Many Rails apps run a `worker:` line. That line is a second process, and it must run all the time. We budget for it by default. The starting configuration on this page includes it.

Secrets are the other part to plan. The master key opens your encrypted credentials. It stays out of the repo. See [Configuration](https://customhosted.com/configuration) for where a secret lives. See [Background jobs](https://customhosted.com/background-jobs) for how the clock and the job runner work.

A release restarts the app. With the default cookie session store, your users stay signed in. A session held in process memory ends on restart. See [Logins](https://customhosted.com/logins) for the full picture.

№ 07 A starting configuration

## A starting configuration

A production Rails app: a dedicated instance sized for web and jobs, a managed database, and the iteration add-on.

- **Base plan**: Dedicated M
- **Iteration — CodeHerder loop**: +$25/mo
- **Managed database**: DB Standard — +$25/mo
- **Estimated total**: $109/mo

[Get this quoted →](https://customhosted.com/contact?plan=DD-M&amp;addons=AD-CH&amp;db=DB-STANDARD&amp;src=rails) [Size it differently on the estimator →](https://customhosted.com/#estimate)

№ 08 FAQ

## Ruby on Rails questions

The questions this stack raises on its own. General hosting questions live on the homepage.

1. 01 Can you run Sidekiq and Redis? Yes. Redis runs next to the app the same way the database does. Sidekiq runs as its own standing process, and we restart it on every deploy.
2. 02 Should Solid Queue run inside Puma or as a separate process? A separate process is the safer default, because a busy job cannot slow web requests. Inside Puma saves memory on a small app. Tell us which you want on the quote form.
3. 03 Will a release log my users out? Not with the default cookie session store. The session lives in the browser, so a restart does not end it. A store held in process memory does end sessions on restart.
4. 04 We use Kamal or already have a Dockerfile. Can we keep it? Yes. A Dockerfile is a good starting point. The Docker page explains how we run one on a dedicated instance.
5. 05 Can we use MySQL instead of Postgres? Yes. Active Record works with both. Tell us which one you run, and we provision that managed database.

№ 09 See also

## Keep exploring

- [Background jobs How a queue job, a scheduled job and a long job run, and who owns idempotency.](https://customhosted.com/background-jobs)
- [Databases Managed database tiers, all backed up every night. Point-in-time recovery starts at DB Standard.](https://customhosted.com/databases)
- [Compare the alternatives This hosting next to a self-serve deploy platform and four other options, side by side.](https://customhosted.com/compare)
- [Migrate How a move onto a dedicated instance works, step by step.](https://customhosted.com/migrate)

## Ready to start?

Tell us what you're running — one fixed monthly rate, within a business day.

[Get a quote →](https://customhosted.com/contact)
