You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Nemo d1580cd6e0
2 months ago
.github Create FUNDING.yml 10 months ago
cover add support to generate multi book 4 years ago
metadata add The Site Reliability Workbook 4 years ago
.dockerignore Easier Docker workflow 5 years ago
.editorconfig Initial commit 6 years ago
.gitignore Fix Directory Structure Changes (#17) 4 years ago
COPYING [docs] Add Linux/Mac instructions for both books 2 years ago
Dockerfile Switch to debian, fixes #31, closes #32 3 years ago
Gemfile Initial commit 6 years ago
Gemfile.lock Bump nokogiri from 1.13.8 to 1.14.0 2 months ago Update 2 months ago The books are now hosted on instead of 2 years ago
generate.rb The books are now hosted on instead of 2 years ago The books are now hosted on instead of 2 years ago

Google SRE Book/s

Generates a EPUB/MOBI/PDF for the Google SRE Books. Original sources are downloaded from

Visit the Releases page to download the latest release. Go through all the releases, and click "Assets" to view a list of files.


Site Reliability Engineering (2016) The Site Reliability Workbook (2018)
site reliability engineering cover
the site reliability workbook cover

A few other SRE books/reports are available as directly from Google or publishers. A few links point to Internet Archive. Links marked in 🔻 are currently down.

You might also like:


Docker (Preferred)


  • Docker

You can generate either of books using BOOK_SLUG variable.

Available values for BOOK_SLUG:

  • sre_book Site Reliability Engineering.
  • srw_book The Site Reliability Workbook.
$ docker run --rm --volume "$(pwd):/output" -e BOOK_SLUG='srw_book' captn3m0/google-sre-ebook:latest
  • You should see the final EPUB/MOBI/PDF files in the current directory after the above runs.
  • The file may be owned by the root user.

NOTE: You'll have to allow docker access to a directory that's local to your system. The safest way to do this is as follows:

$ mkdir /tmp/sreoutput
$ chcon -Rt svirt_sandbox_file_t /tmp/sreoutput
$ docker run --rm --volume "/tmp/sreoutput:/output" -e BOOK_SLUG='srw_book' captn3m0/google-sre-ebook:latest

The build for the above Docker image can be audited at

macOS / Linux


  • Ruby
  • gem install bundler
  • bundle install
  • brew install pandoc
  • brew cask install calibre
  • brew install wget

Run either of the following:

# To download Site Reliability Engineering.
BOOK_SLUG='sre_book' ./

# To download The Site Reliability Workbook.
BOOK_SLUG='srw_book' ./

Known Issues

  • metadata is not complete. There are just too many authors
  • Foreword/Preface is not part of the index
  • The typesetting is not great and does not match the original. See #22 for a list


This is licensed under WTFPL. See COPYING file for the full text.


I have a list of my E-book publishing related projects at Links to other related books can be found at