Cloud, hosting and databases · Researched comparison
Ruby on Rails Hosting Compared: 7 Tools, Prices and Limits
If you need full control on a VPS, DigitalOcean is the first tool to look at here. Look at Render for Hobby projects and prototypes, and at Railway for quick setup with usage credit. The other 4 tools in the list cover narrower or pricier cases.
We run no ads and no affiliate links at launch. The order of a list follows our published method.
Prices are the starting prices vendors list publicly. Plans change, so confirm the current price on the vendor page before you buy.
Key takeaways
The list opens with DigitalOcean, aimed at full control on a VPS.
Railway comes with a trade-off: usage-based billing can be hard to predict.
The lowest published monthly entry price here is $2.19 per month, from Fly.io.
Kamatera is the one to check for adaptable VPS with hourly billing.
A free plan is available from 2 of the 7 tools: Render, Railway.
Tool
Best for
Standout feature
Listed starting price
Free plan or trial
1 DigitalOcean
Full control on a VPS
Large library of guides and one-click apps
$4.00 a month (Basic Droplet 512 MiB)
No free plan
2 Render
Hobby projects and prototypes
Free level for web services and Postgres
$7 per month (Starter, 0.5 CPU, 512 MB)
Free plan
3 Railway
Quick setup with usage credit
$5 usage credit on the Hobby plan
$5 a month (Hobby, includes $5 usage credit)
Free plan
4 Heroku
Simplest Git deployment
Managed Postgres and Redis add-ons
$5 per month (Eco dyno, flat per month)
No free plan
5 Fly.io
Low cost and global reach
Very low starting price
$2.19 a month (shared-cpu-1x, 256 MB)
No free plan
6 Cloudways
Managed hosting on DigitalOcean
Managed server setup, backups, caching
$14 per month (Premium DigitalOcean Micro, 1 GB)
Free trial (3 days)
7 Kamatera
Adaptable VPS with hourly billing
Low starting price with adaptable sizing
$4 a month (Basic, 1 vCPU, 1 GB)
No free plan
How we picked
Pricing pages, product documentation and feature lists were the main sources, and every entry carries at least one honest drawback. Seat minimums, billing terms and add-ons can move the real cost, so the starting prices here are a guide and not a quote. Order on the page follows fit for the typical buyer first, then price transparency and free access. Your own requirements should decide the final pick.
01
DigitalOcean
Best for: Full control on a VPS
In short, DigitalOcean is for full control on a VPS. DigitalOcean hands you a virtual private server, called a Droplet, and leaves the rest to you. Also, the Basic Droplet opens at $4.00 a month with 512 MiB of memory, 1 vCPU, and 10 GB of SSD storage.
That is enough for a small Rails app with SQLite or a small Postgres database on the same machine. You can resize the Droplet as traffic grows. From a buyer's view, the one-click Rails app image installs Ruby, Rails, Nginx, and Passenger on Ubuntu, which shortens setup for developers who want a server without building the stack by hand. Also, a Rails app on a raw Droplet is only as dependable as the setup you maintain. From a buyer's view, for developers who are comfortable with Linux and want full control at a low price, DigitalOcean is hard to beat. Entry price for DigitalOcean: $4.00 per month. No free plan comes with DigitalOcean.
Pros
Large library of guides and one-click apps
Low starting price
Cons
You run the operating system, updates, security yourself
Price: $4.00 a month (Basic Droplet 512 MiB), as listed by the vendor (DigitalOcean website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: you run the operating system, updates, security yourself.
Verdict. A sensible pick for full control on a VPS.
02
Render
Best for: Hobby projects and prototypes
Render makes the most sense for Hobby projects and prototypes. A free web service spins down after 15 minutes without traffic, and the first request after that takes time to wake the service. That makes the free level fine for learning and demos but weak for anything users depend on.
From a buyer's view, the free level handles a web service with 512 MB of RAM and a Postgres database with 1 GB of storage, which is enough for a side project or a demo. Beyond that, the trade-off is the free level sleep behavior. In practice, you link a Git repository, Render spots the Ruby environment, and your app builds and deploys on every push. More specifically, a render.yaml blueprint can define the web service, background worker, and Postgres database together. So an entire stack lives in one file that any teammate can read. The starting price for Render: $7 per month. Render offers a free plan.
Pros
Free level for web services and Postgres
Simple blueprint deploys
Cons
Free services sleep after 15 minutes without traffic
Price: $7 per month (Starter, 0.5 CPU, 512 MB), as listed by the vendor (Render website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: free services sleep after 15 minutes without traffic.
Verdict. A sensible pick for hobby projects and prototypes.
03
Railway
Best for: Quick setup with usage credit
Railway targets quick setup with usage credit. Railway is aimed at speed. A quiet app costs very little, and you only pay for the compute and storage you use.
In daily use, you link a GitHub repository, Railway spots the Rails app, builds it, and provides you a live URL. More specifically, usage-based pricing is the core idea, and it cuts both ways. Worth adding: templates handle typical stacks, and the deploy flow supports preview environments for pull requests. Railway also has a smaller ecosystem than Heroku, so some integrations need manual setup. Entry price for Railway: $5 per month. A free plan is available with Railway.
Pros
$5 usage credit on the Hobby plan
Fast deploys from GitHub
Cons
Usage-based billing can be hard to predict
Price: $5 a month (Hobby, includes $5 usage credit), as listed by the vendor (Railway website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: usage-based billing can be hard to predict.
Verdict. A sensible pick for quick setup with usage credit.
04
Heroku
Best for: Simplest Git deployment
Heroku serves simplest Git deployment. You push code to a Git remote, Heroku spots the Ruby buildpack, installs dependencies, runs migrations, and starts the app. Worth adding: when traffic grows, you move to Basic or Standard dynos without changing how you deploy.
The Eco dyno level begins at $5 a month and fits low-traffic apps, staging environments, and internal tools. For a small team that wants to ship features rather than maintaining infrastructure, that trade is commonly worth the higher price. In practice, there is no server to patch and no Nginx config to write. Eco dynos also sleep after a period without traffic. Heroku starts at: $5 per month. Heroku does not include a free plan.
Pros
Managed Postgres and Redis add-ons
Deploys from Git in minutes
Cons
Eco dynos sleep after inactivity and share resources
Price: $5 per month (Eco dyno, flat per month), as listed by the vendor (Heroku website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: eco dynos sleep after inactivity and share resources.
Verdict. A sensible pick for simplest Git deployment.
05
Fly.io
Best for: Low cost and global reach
Where Fly.io fits: low cost and global reach. Fly.io runs your Rails app as a set of small virtual machines, called Machines, in data centers around the world. From a buyer's view, Postgres clusters run on the same system, with volumes for persistent storage and replicas for read scaling.
There is no free level, so even a hobby app carries a small monthly charge. The $2.19 starting price keeps that charge low. The trade-off is complexity. Fly.io expects you to understand machines, volumes, and private networking, and the documentation assumes comfort with the command line. What you pay to start with Fly.io: $2.19 per month. Fly.io has no permanent free option.
Pros
Very low starting price
Deploy close to users worldwide
Cons
Ramp-up time around machines, volumes, networking
Price: $2.19 a month (shared-cpu-1x, 256 MB), as listed by the vendor (Fly.io website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: ramp-up time around machines, volumes, networking.
Verdict. A sensible pick for low cost and global reach.
06
Cloudways
Best for: Managed hosting on DigitalOcean
Cloudways is aimed squarely at managed hosting on DigitalOcean. Cloudways sits between a raw VPS and a completely managed product. The console handles server setup, PHP and application deployment, SSL certificates, automatic backups, and server-level caching.
From a buyer's view, the $14 a month Premium DigitalOcean Micro plan comes with 1 GB of RAM, 25 GB of storage, and 1 TB of bandwidth. In daily use, Cloudways is not a Rails-specific system. The console is built around its own application stack instead of a Ruby buildpack. Rails deployment still needs more manual setup than Heroku or Render. The managed fee means you pay more than the underlying Droplet alone. Support is available around the clock, which matters when a deploy fails outside business hours. The starting price for Cloudways: $14 per month. As for free access: Free trial (3 days).
Pros
Managed server setup, backups, caching
Choice of cloud providers
Cons
Higher starting price than a raw Droplet
Price: $14 per month (Premium DigitalOcean Micro, 1 GB), as listed by the vendor (Cloudways website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: higher starting price than a raw Droplet.
Verdict. A sensible pick for managed hosting on DigitalOcean.
07
Kamatera
Best for: Adaptable VPS with hourly billing
Kamatera makes the most sense for adaptable VPS with hourly billing. There is no free level, so even a test server carries a charge from the first hour. The system supports a broad set of operating systems, including Ubuntu, Debian, CentOS, and Windows, and you can add managed services for example load balancers, firewalls, and block storage.
The console is functional instead of refined, and new users may need time to find the settings they need. In daily use, Kamatera gives you cloud servers with adaptable sizing. The Basic plan opens at $4 a month with 1 vCPU, 1 GB of memory, and 20 GB of SSD storage. On cost, Kamatera starts like this: $4 per month. Kamatera has no free plan.
Pros
Low starting price with adaptable sizing
24 hour support
Cons
Unmanaged, with a console that takes time to learn
Price: $4 a month (Basic, 1 vCPU, 1 GB), as listed by the vendor (Kamatera website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: unmanaged, with a console that takes time to learn.
Verdict. A sensible pick for adaptable VPS with hourly billing.
Ruby on Rails Hosting: more detail
Use this table to match a host to your budget and team size before you commit. Check the database cost separately. From a buyer's view, a Rails app normally needs Postgres, and the database can cost more than the app server.
Check the worker and background job story too: Sidekiq or GoodJob needs a worker process, and on Heroku and Render that is a second service with its own charge. In practice, a host with a data center near your users will serve pages quicker, and support that answers at night matters when a deploy breaks.
What to check before you buy
Confirm the entry price on the vendor page: Fly.io starts at $2.19 per month, but seat counts and billing terms change the total.
Read the fine print on the free plans from Render and Railway; seat, project and feature caps differ.
Take the trial from Cloudways and push a live task through it before you pay.
Read the limits listed for DigitalOcean first: you run the operating system, updates, and security yourself.
The entry price of Railway is only the starting point; model the full cost with seats and extras.
Verify that exporting from DigitalOcean is possible on your plan and covers all your records.
FAQ
What is the cheapest option for ruby on rails hosting in this list?
On published monthly entry prices, Fly.io is the lowest here at $2.19 per month. Entry price is only part of the cost, because seats, add-ons and billing terms can change the total.
Can I host a Rails app at no cost?
Yes, with limits. Free services normally sleep after inactivity, and free databases have storage caps, so they suit learning and demos more than production apps.
Do I need a managed database for Rails?
A managed Postgres service manages backups, updates, and failover for you. Running Postgres on the same server as your app works for small projects. But it puts your data at risk if that server fails.
Do these tools publish their prices?
Yes. Every tool from DigitalOcean to Kamatera shows a starting price, though seats, add-ons and billing terms still change the final cost.
Which options for ruby on rails hosting have a free plan?
Render and Railway offer a free plan in this list. Free plans usually cap users, projects or features, so check the limits on the vendor page. One other tool offers a trial instead.
How are the tools for ruby on rails hosting ordered?
The order follows typical fit for ruby on rails hosting, with DigitalOcean first and Kamatera last, then price clarity and free access. It is editorial judgement, not a score, so another team could rank the tools differently.