Google Cloud Platform

Ruby on Google App Engine goes beta

We’re excited to announce that Ruby runtime on Google App Engine is going beta. Frameworks such as Ruby on Rails and Sinatra make it easy for developers to rapidly build web applications and APIs for the cloud. App Engine provides an easy to use platform for developers to build, deploy, manage, and automatically scale services on Google’s infrastructure.

Getting started

To help you get started with Ruby on App Engine, we’ve built a collection of getting started guides, samples, and interactive tutorials that walk through creating your code, using our APIs and services, and deploying to production.

When running Ruby on App Engine, you can use the tools and databases you already know and love. Use Rails, Sinatra, or any other web framework to build your app. Use PostgreSQL, MySQL, or Cloud Datastore to store your data. The runtime is flexible enough to manage most applications and services — but if you want more control over the underlying infrastructure, you can easily migrate to Google Container Engine or Google Compute Engine for more flexibility and control.

Using Google’s APIs & services


Using the gcloud Ruby gem, you can take advantage Google’s advanced APIs and services, like our scalable NoSQL database Google Cloud Datastore, Google Cloud Pub/Sub and Google BigQuery:

  require "gcloud"
gcloud = Gcloud.new
bigquery = gcloud.bigquery
sql = "SELECT TOP(word, 50) as word, COUNT(*) as count " +
      "FROM publicdata:samples.shakespeare"
job = bigquery.query_job sql
job.wait_until_done!
if !job.failed?
  job.query_results.each do |row|
    puts row["word"]
  end
end

Services like BigQuery allow you to take advantage of Google’s unique technology in the cloud to bring life to your applications.

Committent to Ruby and open source


At Google, we’re committed to open source. The new core Ruby Docker runtime, gcloud gem, Google API client, everything — is all open source:


We’re thrilled to welcome Ruby developers to the Google Cloud Platform, and we’re committed to making further investments to help make you as productive as possible. This is just the start — stay tuned to the blog and our GitHub repositories to catch the next wave of Ruby support on GCP.

We can’t wait to hear what you think. Feel free to reach out to us on Twitter @googlecloud, or request an invite to the Google Cloud Slack community and join the #ruby channel.