AperioFlow Start free

Blog

Going away for a week as the only developer: a checklist to run before you switch off

If you look after a few client sites, or one product on your own, you are usually the person who gets the message when something breaks. That works until the week you plan to be away. A failed backup at two in the morning on day three should not sit until Monday, and it should not land with a colleague who has never logged into the server.

The checklist below takes about an hour. Run it a day or two before you leave, not on the last evening.

The problem: you are the person who gets the message, and you will be away

Most small teams have an unwritten arrangement. The developer knows which site is fragile, which job sometimes runs long, and which alert can be ignored. None of that is written down, and none of it is available to someone else when you are on a plane.

The aim of a pre-departure check is to move that knowledge out of your head and into the tools, so that the right person hears about a problem and knows what to do with it.

Check the monitors: every live site has an HTTPS monitor, and each nightly job has a heartbeat

Start with the list of what you run. Every live site should have an HTTPS monitor. The same monitor checks the site's certificate and warns you before it expires. By default those warnings come at 30, 14 and 7 days left. If a certificate is due to renew while you are away, make sure the renewal happens on its own, and do not rely on a warning to remind you.

Then check the jobs. A heartbeat monitor works the other way round from a site check. The job checks in each time it succeeds, and you get an alert when a check-in is late. This is how you find out that last night's backup did not run, rather than discovering it when you need to restore. Make sure each nightly backup and cron job has a heartbeat, and that nothing has been added since you last looked.

Check the thresholds: set how many failed checks in a row before an alert, so a blip does not ruin the trip

Each monitor has a failure threshold that you set. It alerts only after that many failed checks in a row. Go through every monitor and read the number.

If the threshold is too low, a single slow response will send a message to someone who is supposed to be relaxing. If it is too high, a real problem can run for longer than it should before anyone hears about it. There is no single right figure. A site with a busy checkout needs a different number from a brochure site that changes twice a year. Choose a figure for each monitor and write down why, because you will want that reasoning when you come back and review the week.

Check where alerts go: email, web push or webhook, and a second person in your organisation who can act

Alerts can reach you by email, web push or a webhook. A webhook is useful if you want an alert to pass into a system your team already uses. Whichever routes you choose, check that they still point where you think they do. An old address or a former contractor's inbox is a common gap.

Alert emails go only to people in your organisation, so the person covering for you needs to be a member of it. Pick one person who has agreed to be the contact, and who knows enough to act. That means they can see the hosting, know how to restart the relevant service, and know who to ring if the fix needs you. A person who receives an alert but cannot do anything about it is still a gap.

Check the status page: confirm it is current and say who customers should expect to hear from

If customers rely on your status page, check that it is current before you go. Remove any incident that is finished, and make sure the components listed match what you actually run. Then add a line that says who customers should expect to hear from while you are away. Name the person and the route they should use. Do not promise a response time you cannot keep. A plain sentence is more useful than a long apology that nobody can check.

If something does go wrong, the update should say what is affected, what is being done and when the next update will come. Your cover should know how to post that update, so include the steps in the runbook.

Write the one-page runbook for your cover

The runbook is the document that lets your cover act without phoning you. Keep it to one page. Include:

  • a list of the live sites and jobs, with the monitor for each
  • where each one is hosted, and how to get access
  • how to restart the usual services, and how to roll back a deploy
  • which alerts can wait until you are back, and which cannot
  • who to contact for each client, and what to tell them
  • how to post a status page update

Ask your cover to read it once. If they cannot follow a step, rewrite the step. The runbook is finished when they could handle the most likely alert without messaging you.

Look at open errors and fix or note anything noisy

Before you leave, go through the errors and alerts that are still open. A noisy alert trains people to ignore alerts, and that is the one thing you do not want while you are away. Either fix the cause, or write down why the alert is safe to ignore for the week and put that note in the runbook. Do not leave it unexplained.

Do a test: pause nothing, send a check-in, confirm the alert reaches the right person

Leave every monitor running. Do not pause anything to make the week quieter, because a paused monitor cannot tell you when something is wrong.

Send a check-in from one of the jobs so you can see the success register. Then, on a test job, let a heartbeat go late on purpose so the alert fires. Confirm the alert reaches the person who is covering, not just you. If it lands in the wrong inbox, or nobody sees it, fix the route now and test again. A test that you skip is the one that fails.

Afterwards: review what fired while you were away

When you are back, go through what fired during the week. Look at the alerts and incidents, and ask three questions. Which alerts were useful? Which were noise, and which thresholds need changing? Did the cover have what they needed, or did they message you for something the runbook should have covered?

Update the runbook and the thresholds while the answers are fresh. The next time you go away, the checklist will take less time, and the week will be quieter.

A quiet week is easier to plan than to hope for. Start free at https://app.aperioflow.co.uk/#/signup

Start free More from the blog

Built for the people who write the code and answer the phone when it breaks.

Run from the UK. Hosted in the UK and Europe.

UK time --:--

Already in?Open the app Start free today
View our policies