small medium large xlarge

Deploying Rails: Automate, Deploy, Scale, Maintain, and Sleep at Night now in beta

January 19, 2012

Welcome to the only current book specifically addressing deployment and operation of Rails applications: Deploying Rails: Automate, Deploy, Scale, Maintain, and Sleep at Night.

With this book, you’ll set up scripts to install and configure all the software your servers need, including your application code. Once you’re in production, you’ll learn how to set up systems to monitor your application’s health, gather metrics so you can stop problems before they start, and fix things when they go wrong. Now in beta from

Deploying Rails: Automate, Deploy, Scale, Maintain, and Sleep at Night now in beta

Deploying Rails takes you on a expertly guided tour of the current best practices in Rails deployment and management. You’ll find in-depth explanations on effectively running a Rails app by leveraging popular open source tools such as Puppet, Capistrano, and Vagrant. Then you’ll go beyond deployment and learn how to use Ganglia and Nagios to monitor your application’s health and gather metrics so you can head off problems before they happen.

You’ll start out by building your own virtual environment by writing scripts to provision a production server with Vagrant and Puppet. Then you’ll leverage the popular Rails deployment tool Capistrano to deploy an application into this infrastructure. Once the app is live, you’ll monitor your application’s health with Nagios, and configure Ganglia to collect system metrics. Finally, you’ll see how to keep your data backed up, recover data when things go wrong, tame your log files, and use Puppet to automate everything along the way.

Whether you’re a Rails developer who wants a better understanding of the needs of a production Rails system, if you’re a system administrator who wants to manage a Rails application, or if you’re bridging the gap between development and operations, this book will be your roadmap to successful production deployment and maintenance, whether your application has ten users or ten million users.

Now available in beta from

Don’t Get Left Out

Are your friends jealous that you get these spiffy email newsletters and they don’t? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

Are you following us on Twitter and/or Facebook? Here’s where you can find us and keep up with the latest news and commentary:

Coming Soon:

  • The Cucumber Book in print
  • The Developer’s Code: What Real Programmers Do in print
  • Rails Recipes: Rails 3 Edition in print
  • Technical Blogging: Turn Your Expertise into a Remarkable Online Presence in print

Recently Released:

  • Web Development Recipes [in print]
  • Pragmatic Guide to Sass [in print]
  • iOS SDK Development [in beta]
  • Cutting an Agile Groove [video]
  • Thanks for your continued support,

    Dave & Andy

    Books • eBooks • Screencasts • PragPub Magazine