Book Image

Heroku Cookbook

By : Mike Coutermarsh
Book Image

Heroku Cookbook

By: Mike Coutermarsh

Overview of this book

Heroku is a Platform as a Service that enables developers to rapidly deploy and scale their web applications. Heroku is designed for developer happiness, freeing developers from doing system administrative tasks such as configuring servers and setting up load balancers. Developers are able to focus on what they do best, building web applications, while leaving the details of deployment and scaling to the experts at Heroku. This practical guide is packed with step-by-step solutions to problems faced by every production-level web application hosted on Heroku. You'll quickly get comfortable with managing your Heroku applications from the command line and then learn everything you need to know to deploy and administer production-level web applications.
Table of Contents (17 chapters)
Heroku Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up a status page


What will happen if our application goes down? How do we communicate with our users? The best way is to have a status page that is hosted outside Heroku. Then, if our application goes down, we can focus on fixing it rather than figuring out how to communicate with our users. Here, we will quickly learn how to set up a status page that can e-mail, SMS, or even tweet about the status of our application.

There are multiple options that can be used to build a status page with Heroku. Here, we will cover one of the most popular ones, StatusPage.io.

Note

StatusPage starts at $29 per month. At the time of writing this book, there are no free options.

How to do it…

We will use the CLI to get started. Let's open up a terminal and navigate to one of our Heroku apps by performing the following steps:

  1. First, let's install the add-on with addons:add:

    $ heroku addons:add statuspage
    
  2. Now that it's installed, we can open up the StatusPage dashboard to configure it. It will walk us through...