How to Setup/Install Ruby on Rails Server on Azure/AWS/GCP

To setup and install Ruby on Rails on any of the cloud platforms, the recommended way is to setup a Ruby on Rails server using the image available in any of the cloud marketplaces below (preinstalled with SQLite3, Node.js and Yarn) :

Run Ruby on Rails in the Cloud

Table of Contents

Ruby on Rails Server Features

  • MVC Architecture
  • Active Record
  • Convention over Configuration
  • Automated Testing – Unit testing setup called RSpec
  • Automated Deployment
  • Simple Programming Language
  • Scaffolding
  • Libraries
  • Localization
  • Easily scalable with quality output
  • SQLite3, Node.js, Yarn pre installed.

Getting Started with Ruby on Rails

Once your Ruby on Rails server has been deployed, the following links explain how to connect to a Linux VM:



Once connected and logged in, you’re ready to start configuring Ruby on Rails

Using Ruby on Rails

Once logged in you can check its working by running:

					ruby -v

And the output should show the version thats installed.


For documentation on using  Ruby, refer to:

Ruby on Rails Firewall Ports

By default Ruby on Rails uses the following ports:


  • TCP 3000
  • TCP 80
  • TCP 443


If you are using any of the cloud security groups and need to change / add ports refer to the following guides:


To setup AWS firewall rules refer to – AWS Security Groups

To setup Azure firewall rules refer to – Azure Network Security Groups

To setup Google GCP firewall rules refer to – Creating GCP Firewalls

Support / Documentation

If you are experiencing any issues in getting the Rails server up and running, please contact us.


For application support, refer to the community forum:


Disclaimer: Ruby on Rails is a registered trademark of David Heinemeier Hansson and is licensed under MIT License License. No warrantee of any kind, express or implied, is included with this software. Use at your risk, responsibility for damages (if any) to anyone resulting from the use of this software rest entirely with the user. The author is not responsible for any damage that its use could cause.

Avatar for Andrew Fitzgerald
Andrew Fitzgerald

Cloud Solution Architect. Helping customers transform their business to the cloud. 20 years experience working in complex infrastructure environments and a Microsoft Certified Solutions Expert on everything Cloud.

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x