Cloud 66


Cloud 66 is a DevOps-as-a-Service for Rails, Node, and Docker. The instructions below focus on Rails; Node apps will have a similar setup, but may require some adjustment.


Create a Papertrail account (free)

If you don’t already have an account, sign up (free).

Set up deploy hooks

  1. Download the template configuration files from the linked Gist to a .cloud66 deployment folder that’s located in the root of your source code.
  2. Ensure that the latest release of remote_syslog2 will be deployed by modifying the version number contained within the download URL.

Provide the host and port details

Edit log_files.yml and provide the account-specific Papertrail host and port number, as shown under Log Destinations.

Deploy to Cloud 66

Cloud 66 will automatically read the contents of the .cloud66 directory and apply the details configured above.


Log files

The remote_syslog.init.d file by default grabs all the log files in the directory where Cloud 66 stores logs. To add additional files, modify EXTRAOPTIONS (if environment variables are needed to specify file locations) or provide a files: section in log_files.yml with absolute paths.

Deploy hooks

The default deploy hooks run on servers of any target type, and accomplish two key tasks:

These hooks can be adjusted to meet the needs of the particular stack, as long as those two objectives are accomplished. For example:

More information