Ruby Dev Center

Ruby PaaS Hosting

Ruby is an open-source, object-oriented programming language designed for readable and practical development. The platform provides integrated Ruby application servers, Ruby on Rails support, automated deployment, dependency management, domain configuration, and vertical and horizontal scaling.

Ruby cloud hosting
Ruby application hosting and development on the platform.

Ruby Environment Hosting

1

Open the topology wizard

Click New Environment and switch to the Ruby language tab.

2

Select the server and Ruby version

Choose the required application-server stack and engine version, then add any additional software stacks needed by the application.

3

Configure resources

Adjust Cloudlets, disk space, public IPv4 or IPv6, node count, region, and other topology settings.

Ruby topology wizard
Select the Ruby server, engine version, resources, networking, and node count.
i

Isolated containers

Apache Ruby and NGINX Ruby use the modern systemd initialization system. Scaled-out nodes are distributed across physical servers or virtual machines for improved availability.

Ruby Application Servers

The platform provides Apache Ruby and NGINX Ruby stacks. Both are configured for Ruby on Rails and use Passenger by default.

PassengerFeature-rich application server for Ruby web applications and microservice APIs.
PumaRuby server focused on speed and parallel request processing.
UnicornHTTP server designed for low-latency, high-bandwidth Unix environments.

Ruby Versioning

The documented Ruby versions available at the time of writing are:

VersionSelection Method
3.2.11Topology wizard or container redeployment
3.3.11Topology wizard or container redeployment
3.4.9Topology wizard or container redeployment
4.0.2Topology wizard or container redeployment
i

Check current versions

Review the regularly updated Software Stack Versions document before creating or redeploying a production environment.

Ruby Application Deployment

  • Application archive uploaded from a local computer
  • Application archive provided through an external URL
  • Remote VCS repository, such as GitHub
Ruby application deployment
Deploy a Ruby application from an archive or remote repository.

Ruby applications use one ROOT context. Select the required RAILS_ENV deployment type:

developmentReloads application classes and disables caching.
productionEnables caching for production workloads.
testUses the test environment and clears the database between test runs.
Ruby deployment types
Switch between development, production, and test deployment types.

Ruby Dependency Management

All managed Ruby instances include Bundler. When a project contains a Gemfile in its root directory, Bundler automatically resolves and installs the required gems after deployment. Ruby on Rails is available by default, and other frameworks can be included through the Gemfile.

Ruby Post-Deploy Configuration

Create a rake_deploy file in the project root for repeatable post-deployment actions, such as database migrations. Add one command per line. The commands run consecutively through Rake after an Apache or NGINX node restart, and the file is removed after successful execution.

Domains Management

CNAME redirectUse with the Shared Load Balancer; recommended for development and test environments.
DNS A recordUse with a public IP; suitable for production and high traffic.
Swap DomainsMove traffic between environments without downtime.
Ruby domain management
Bind a custom domain or swap domains between Ruby environments.

Automatic Vertical Scaling

Set the maximum Cloudlet limit for the Ruby server. The platform dynamically allocates RAM and CPU according to load. One Cloudlet represents 128 MiB of RAM and 400 MHz of CPU.

Ruby automatic vertical scaling
Set the resource limit and allow the platform to scale with demand.
Ruby pay-per-use pricing
Charging is based on actual resource consumption.

Manual Horizontal Scaling

StatelessCreates all new nodes from the base image template simultaneously.
StatefulCopies the primary container file system to new nodes sequentially.
Ruby horizontal scaling
Choose the node count and scaling mode.

Automatic load balancer

A load-balancer node is added automatically when the Ruby layer is scaled beyond one node.

The maximum same-type node count depends on the hosting provider. The commonly documented limit is 16 nodes and may be increased through support.

Automatic Horizontal Scaling

  • Open Settings > Monitoring > Auto Horizontal Scaling.
  • Select the required application-server layer.
  • Monitor CPU, RAM, Network, Disk I/O, or Disk IOPS.
  • Define the threshold, duration, node adjustment, and scaling limits.
Ruby automatic horizontal scaling
Configure load-based triggers to add or remove Ruby nodes.

Additional Platform Capabilities

  • Built-in SSL and Custom SSL
  • Public IPv4 and IPv6
  • SQL and NoSQL databases
  • Container firewalls, endpoints, and network isolation
  • Dashboard and SSH access
  • Open API and Cloud Scripting
  • Pay-per-use pricing
  • Team collaboration
  • Multi-cloud distribution

Important Notes

  • Confirm current Ruby releases in Software Stack Versions.
  • Ruby applications use only the ROOT deployment context.
  • Bundler processes a project-level Gemfile after deployment.
  • Use rake_deploy for repeatable post-deployment tasks.
  • Select Stateful scaling when new nodes must inherit the primary node file system.
  • Review the provider node-count limit before large-scale expansion.