Journal

The go-live runbook: how we cut a rebuilt store over

Live in an evening, nothing broke that a customer could see. What the runbook lists before the day, the cutover order, and the log that doubles as the rollback plan.

A rebuilt store went live this month: new server, current platform, cleaned-up catalogue, hundreds of legacy URLs redirected. The cutover took an evening and nothing broke that a customer could see. That is not luck. It is a runbook, written before the day, that lists every step, who does it, how it is checked and how it is undone. Here is what ours contains.

Before the day

  • The new environment has been live-tested as if it were live. Real orders through sandbox gateways, real customer logins, the integrations against test endpoints, every page type checked on phone and desktop. Nothing on cutover day should be the first time something runs.
  • The redirect map is complete and tested. Every old URL that gets search impressions has a destination, and a script has confirmed each one returns a single permanent redirect on the new environment. Rankings are not a thing to recover after the fact.
  • Tracking is in place and verified. Analytics, tag manager and ads conversions fire on the new site in a test container, with the production container ready to publish. A store that goes live blind loses the week of data that would tell you whether the launch worked.
  • The DNS time-to-live has been lowered a day ahead, so the switch propagates in minutes rather than hours.
  • Backups exist of the old site, the old database and the new one, taken that afternoon, with a tested restore command for each.

The cutover

The order matters. Put the old store into maintenance mode so no orders arrive during the switch. Take the final export of anything that changed since the last sync: orders, customers, stock. Import it to the new store and confirm the counts match. Switch DNS. Watch the new environment’s logs as traffic arrives. Place a real order and confirm it reaches the payment gateway, the order email and the back office. Publish the production tracking container. Submit the new sitemap. Only then take the old store out of maintenance mode as a redirect-only host, or decommission it.

Each step is one line in the runbook with a tick box, a command where there is one, and the name of the check that proves it worked. The person running it is not deciding anything on the night. They are executing.

The log

From the moment the new store is live, every change to it is logged with a date, what was done, why, and how to reverse it. Not in a chat thread, in one file that the whole team can read. Three weeks after this launch, that log is forty entries long, and when a question comes up about why a setting is the way it is, the answer is in there with its date. It is also the rollback plan for each change, written at the time it was made rather than reconstructed afterwards.

The first week

Search console crawl errors, checked daily. Order volume against the same days last month. Page speed from a real device. The error log, which will reveal every integration and extension that was quietly misconfigured. And a rule that the old environment is kept, untouched, for at least a month, because the question nobody can answer on day one is which old file or old table someone is going to need.

What the runbook is for

It is not a formality. It is the difference between a launch where the team knows what to do at the first problem, and one where everyone is reading log files at eleven at night trying to remember what they changed. We write one for every store launch and migration, and we keep the log running for as long as we run the store.

Got a similar problem? Talk to us.

Start a project