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.
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:
First, let's install the add-on with
addons:add
:$ heroku addons:add statuspage
Now that it's installed, we can open up the StatusPage dashboard to configure it. It will walk us through...