# Ruby on Rails hosting

> What a Rails app needs from a host: Ruby version, database, background jobs and deployment.

Source: https://comparehostingonline.com/hosting-for/ruby-on-rails/

## Short answer

Rails needs Ruby, a database and usually a background job runner, so it fits a VPS, a cloud server or a managed platform better than basic shared hosting. Check Ruby version support and how you deploy.

Last verified Nov 28, 2026 · [How we test](https://comparehostingonline.com/methodology/)

At a glance

-   **The usual pieces** Ruby and a Rails-compatible app server such as Puma.
-   **Choose by effort** Managed platform: easiest deploys.
-   **What to check** Ruby versions and build time limits.

## The usual pieces

-   **Ruby and a Rails-compatible app server such as Puma.**
-   **PostgreSQL or MySQL.**
-   **A job queue and worker process.**
-   **A reverse proxy for HTTPS.**

## Choose by effort

-   Managed platform: easiest deploys.
-   VPS with a deploy tool: cheaper, more work.
-   Containers: consistent between development and production.

## What to check

-   Ruby versions and build time limits.
-   Memory, since Rails apps can be memory hungry.
-   Asset compilation and storage for uploads.

## What does a Rails deployment include?

-   A Ruby version matching the app and an app server such as Puma.
-   A database and migrations on release.
-   A job queue and worker.
-   Asset compilation and storage for uploads.
-   A reverse proxy for HTTPS.

## What should you check in a host?

-   Ruby version support and build limits.
-   Memory, since Rails apps can use a lot.
-   Background workers and scheduled jobs.
-   Database backups.

## Platform or VPS?

A managed platform gives the easiest deploys. A VPS is cheaper and gives control; see [VPS hosting](https://comparehostingonline.com/hosting-types/vps/) and [Docker hosting](https://comparehostingonline.com/hosting-for/docker/). The Rails guides cover production configuration.

## Sources and further reading

-   [Ruby on Rails guides](https://guides.rubyonrails.org/)
-   [Nginx documentation](https://nginx.org/en/docs/)
-   [Ubuntu Server documentation](https://ubuntu.com/server/docs)

## Common questions

Can Rails run on shared hosting?

Rarely. Use a VPS or platform.

How much memory does Rails need?

More than many frameworks; plan for a gigabyte or more for small production apps.

How do I run background jobs?

With a job queue and worker process.

How do I deploy updates?

With a deploy tool or platform, running migrations on release.

Where do uploads go?

To object storage rather than the server disk.

## Related

[VPS hosting](https://comparehostingonline.com/hosting-types/vps/) [Docker hosting](https://comparehostingonline.com/hosting-for/docker/) [Hosting for developers](https://comparehostingonline.com/best/hosting-for/developers/)

## More hosting by stack

[Go (Golang) hosting](https://comparehostingonline.com/hosting-for/go/) [WordPress hosting for developers](https://comparehostingonline.com/hosting-for/wordpress/) [Hosting a headless CMS](https://comparehostingonline.com/hosting-for/headless-cms/) [Best hosting for Astro sites](https://comparehostingonline.com/hosting-for/astro/) [Best hosting for Next.js](https://comparehostingonline.com/hosting-for/nextjs/) [Node.js hosting](https://comparehostingonline.com/hosting-for/nodejs/)

MH

**[Muhammad Hamza](https://comparehostingonline.com/team/muhammad-hamza/)** Founder & Editor

Writes and signs off every comparison, and runs the compliance reviews. Has worked on SOC 2 and HIPAA compliance programs for companies.

Our [editorial policy](https://comparehostingonline.com/editorial-policy/) and [testing method](https://comparehostingonline.com/methodology/) are public.
