Rails, with the job runner and the Procfile covered.
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
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.
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
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 →
Moving it in
Already running somewhere else? The full migration playbook covers the general steps. Below is what is specific to Ruby on Rails.
- 1
Point us at the repo
We need read access to the repo, your Procfile if you have one, and the current database.
- 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
Cutover on your schedule
DNS and TLS switch over with little-to-no downtime. A rollback stays ready if anything looks wrong.
- 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.
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.
- 01Build
CustomLabs
Bring a Rails app you already built. Or CustomLabs designs and builds the first version to Rails conventions.
- 02Iterate
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.
- 03Run
CustomHosted
Puma and the job runner on one dedicated instance, with a managed database. We patch the instance on a schedule.
- 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. It ships through the same pipeline.
- A real one
- The site is blinding at night (+751 −258 · 19 files · merged 2026-07-31).
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 for where a secret lives. See 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 for the full picture.
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
Ruby on Rails questions
The questions this stack raises on its own. General hosting questions live on the homepage.
01Can 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.
02Should 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.
03Will 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.
04We 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.
05Can we use MySQL instead of Postgres?
Yes. Active Record works with both. Tell us which one you run, and we provision that managed database.
Keep exploring
- Background jobs
How a queue job, a scheduled job and a long job run, and who owns idempotency.
- Databases
Managed database tiers, all backed up every night. Point-in-time recovery starts at DB Standard.
- Compare the alternatives
This hosting next to a self-serve deploy platform and four other options, side by side.
- Migrate
How a move onto a dedicated instance works, step by step.
Ready to start?
Tell us what you're running — one fixed monthly rate, within a business day.