IT Japanese · リリース作業手順書

Production Release Runbook and Rollback Procedure

Japanese Text

【リリース作業手順書】〔システム名〕ver〔〇.〇〕本番リリース

■作業概要
・作業日時:〔〇月〇日(〇) 22:00~24:00〕
・対象環境:本番環境
・作業内容:〔例:アプリケーションのデプロイ、DBマイグレーション(テーブル追加1件)〕
・サービス停止:〔あり(22:10~23:15予定)/なし〕
・体制:作業責任者 〔氏名〕/作業者 〔氏名〕/確認者 〔氏名〕
・緊急連絡先:〔氏名・電話番号〕

■事前準備(前日まで)
1. 利用者へのメンテナンス告知(〔〇月〇日〕掲載済み)
2. リリース対象(〔タグ名/ビルド番号〕)の確定
3. ステージング環境での切り戻し手順のリハーサル

■作業手順
1. 〔22:00〕作業開始を関係者へ連絡
2. 〔22:10〕メンテナンス画面へ切り替え
3. 〔22:15〕DBのバックアップを取得し、取得完了を確認
4. 〔22:30〕新バージョンをデプロイし、DBマイグレーションを実行
5. 〔22:50〕動作確認(ログイン、〔主要機能〕)
6. 〔23:15〕メンテナンス解除、作業完了を関係者へ連絡

■切り戻し判断基準
・〔例:23:30の時点で手順5の動作確認が完了していない場合〕
・〔例:手順5で重大な不具合が見つかり、その場で原因を特定できない場合〕
・判断者:〔作業責任者名〕

■切り戻し手順
1. メンテナンス画面へ切り替え(解除済みの場合)
2. 旧バージョン(〔タグ名〕)を再デプロイ
3. 〔例:手順3で取得したバックアップからDBを復元〕
4. 動作確認後、メンテナンス解除
5. 切り戻しの実施と理由を関係者へ報告

■作業後の監視
リリース後〔24時間〕は、エラーログと監視アラートを重点的に確認する。

以上

Structure Breakdown

The runbook must be drafted and approved PRIOR to release night; during deployment, engineers follow each sequential step without improvisation. Technical runbooks adopt direct declarative style without keigo.
Whether service downtime is scheduled, who holds operational sign-off (作業責任者), and whom to page in emergencies must be settled before maintenance windows open.
Rehearsing rollback procedures on staging beforehand is mandatory. Untested rollbacks almost invariably fail when executed under real production pressure.
Every procedural step lists target times and verification criteria. The DB backup step (3) must always precede schema migrations (4).
Pre-determine explicit rollback trigger criteria and designate a single authoritative decision-maker. Never debate whether to roll back amidst incident confusion.
Database restoration from backup is only safe while service is stopped with zero incoming traffic. If releasing without downtime, write backward-compatible migrations rather than restoring blindly.

English Translation

[Release Runbook] [System Name] ver[X.X] Production Release ■ Execution Overview ・Date & Time: [Month/Day (Day of Week) 22:00 - 24:00] ・Target Environment: Production Environment ・Work Content: [Example: Application deployment, database migration (1 new table added)] ・Service Downtime: [Scheduled (22:10 - 23:15 planned) / None] ・Team / Roles: Operation Lead [Name] / Operator [Name] / Verifier [Name] ・Emergency Contact: [Name & Phone Number] ■ Pre-flight Preparations (Completed by Day Prior) 1. User maintenance notification published (Posted on [Month/Day]) 2. Target release artifacts confirmed ([Tag Name / Build Number]) 3. Rehearsal of rollback procedure on staging environment ■ Execution Steps 1. [22:00] Notify stakeholders of work commencement 2. [22:10] Switch to maintenance landing screen 3. [22:15] Take DB backup and confirm completion 4. [22:30] Deploy new application version and execute DB migration 5. [22:50] Conduct post-deployment verification (Login, [Core Features]) 6. [23:15] Deactivate maintenance mode; notify stakeholders of completion ■ Rollback Decision Criteria ・[Example: Verification at Step 5 has not concluded by 23:30] ・[Example: A critical defect is uncovered in Step 5 whose root cause cannot be isolated immediately on site] ・Decision Maker: [Operation Lead Name] ■ Rollback Procedure 1. Re-enable maintenance screen (if deactivated) 2. Redeploy old version ([Tag Name]) 3. [Example: Restore database from backup captured in Step 3] 4. Complete operational verification, then deactivate maintenance mode 5. Report rollback execution and justification to all stakeholders ■ Post-Release Monitoring Intensively monitor error logs and alert triggers for [24 hours] following deployment. End of Document

Writing Tips & Notes

During deployment night, record actual execution timestamps alongside each step; if any step deviates from the runbook, log the operational justification. This live log provides the factual basis for the next day’s release completion report.

Source

Authored by GoMe