NEW
New: Deploy your application in minutes with Shard AI

Deploy your Ruby app, worker, or bot with Bundler.

Host Rails, Sinatra, Sidekiq, discordrb, or another Ruby project from GitHub or ZIP/RAR. Shard Cloud installs declared gems, then runs the entry point or custom command you configure.

From Gemfile to a running Ruby process

Ruby

select the Ruby version in the live runtime catalog

Bundler

gems installed from your Gemfile

/app

10 GB disk; files persist across restarts

Live

application logs and resource metrics

Ruby workload examples

From Rails applications to workers and bots.

Deploy the Ruby source files and Gemfile your project needs, then configure the production process that should remain running.

Explore capabilities

Rails and Sinatra applications

Run a Rails application with a custom command or deploy a Sinatra API with the source files and runtime configuration it requires.

Sidekiq and background processes

Deploy a Ruby worker process with its own start command and use application logs and metrics to monitor it.

Ruby bot processes

Run a Ruby bot as a long-running application process, keeping its token in environment variables and following output in logs.

Built to operate

Ruby hosting for web processes, workers, and bots.

Install declared gems, configure the production command, and operate the Ruby process with persistent storage, domains, logs, metrics, and restart support.

Bundler dependency installation

Shard Cloud installs gems declared in a valid Gemfile during deployment.

Choose a Ruby runtime version

Select a supported Ruby version from the live runtime catalog when creating the application.

Persistent application files

Keep Rails uploads and other Ruby-generated files on the 10 GB persistent disk at /app.

Publish an HTTPS address

Ruby web applications receive a free HTTPS address under *.shardweb.app; custom domains require Core or higher.

Logs and resource metrics

Use logs with memory and CPU metrics to inspect Bundler installation, Rails startup, and Ruby process output.

Automatic restart

Ruby application processes restart automatically; inspect dashboard logs when a configured command stops.

Deployment setup

How to deploy a Ruby application on Shard Cloud.

Prepare the source files and Gemfile, choose the Ruby runtime and production command, then verify the running process.

Get started
01
Prepare the project
Include app.rb or main.rb, a Gemfile and .shardcloud. Remove vendor/bundle/, .bundle/, tmp/ and log/.
02
Configure the start command
Shard Cloud installs your gems on deploy. A Rails app sets MAIN=Gemfile and a CUSTOM_COMMAND that boots the server.
03
Verify the process
Test a route, job or bot event, then review logs.

From connection to the first decision, in one flow.

Tutorials

Tutorials for your runtime

Open step-by-step Shard Cloud documentation for popular projects in this runtime.

How to Host Ruby on Rails Applications

Deploy Ruby on Rails applications on Shard Cloud.

Read tutorial
Frequently asked questions

Frequently asked questions about Ruby hosting

Include a valid Gemfile. Shard Cloud installs its gems during deployment.

Set CUSTOM_COMMAND=chmod +x bin/rails && bin/rails server -b 0.0.0.0. Configure Puma to bind to the application's port.

No. Run db:migrate or assets:precompile in a custom command, or run asset precompilation before upload.

Sidekiq normally needs Redis. Shard Cloud offers managed Redis with TLS-only connections; configure the worker's connection values and start command for your project.

Set VERSION=LATEST for the newest supported Ruby release, or VERSION=recommended for the platform's recommended release. Choose the setting compatible with your Gemfile and application.

Every app needs at least 256 MB. Use 512 MB or more for a public website or API, then increase it based on observed usage.

Your server must listen on port 80.

Ready to move forward

Deploy your Ruby project.

Bring your Rails app, Sinatra API, Sidekiq worker, Ruby bot, or another process with its Gemfile and production command.

Gemfile and startup command ready
Confirm the Ruby entry point, Gemfile, and command required by the running process.

Environment configuration ready
Add connection strings, tokens, and settings without putting secrets in source code.

Deploy your Ruby project
Connect GitHub or upload a ZIP/RAR, select Ruby, and start the process your project requires.

A plan for every stage of your project

Rated 4.9/5 on TrustpilotTrusted by 50,000+ developers

Basic plan

Perfect for freelancers or individuals who need to host applications and bots.

$1.52/mo
1-2GB RAM
1-2 vCPU
4-8 projects
5-10GB CDN

Core plan

For small teams and startups that need infrastructure for multiple projects.

$4.14/mo
4-8GB RAM
4-5 vCPU
16-32 projects
35-100GB CDN
Connect your own custom domain

Pro plan

Built for scaling companies with high project volume and advanced support.

$11.72/mo
12-24GB RAM
6-10 vCPU
48-96 projects
150-250GB CDN
Load balancers
Automatic backups