Blue-Green Deployment
ブルーグリーンデプロイメント
ブルーグリーンデプロイメントでは、現在のバージョンと新しいバージョンを別々の環境に保持します。新しい環境が確認された後にトラフィックが切り替わります。
blue active + green ready -> validate -> switch traffic -> observe -> retire or switch backライブ 100%GREEN · v2プレビュー準備完了health + smoke ✓→blue active + green ready -> validate -> switch traffic -> observe -> retire or switch backOPSもう一つの例
ブルーはチェックアウトトラフィックを処理します。グリーンはバージョン2を実行し、チェックに合格します。ルーティングはブルーを保持したままグリーンに切り替わります。
主な部分
- 01アクティブ環境
- 02プレビュー環境
- 03一致する設定と容量
- 04切り替え前のチェック
- 05トラフィックスイッチ
- 06観察およびリターンウィンドウ
以下の場合に使用します
2つの環境が予算内で収まり、迅速なトラフィックスイッチが重要な場合に使用してください。チェック、容量、切り替え、観察、および戻りを計画してください。
以下の場合は使用しないでください
ゼロダウンタイムや簡単なデータベースのロールバックを約束しないでください。ルーティングの遅延、長時間の接続、互換性のないデータ変更でスイッチが壊れる可能性があります。
コードで使用する名前
blue active + green ready -> validate -> switch traffic -> observe -> retire or switch back 出荷前に
Before publishing, check the exact repository, branch, target, and diff. Keep unpublished work. Pass review and CI checks. Record conflict and data-loss risks, release order, traceability, recovery, and rollback.
Outcome:Complete the task with ブルーグリーンデプロイメント (Blue-Green Deployment)。 User context:ブルーはチェックアウトトラフィックを処理します。グリーンはバージョン2を実行し、チェックに合格します。ルーティングはブルーを保持したままグリーンに切り替わります。 Delivery concept or operation:ブルーグリーンデプロイメント (Blue-Green Deployment)。 Why it fits:2つの環境が予算内で収まり、迅速なトラフィックスイッチが重要な場合に使用してください。チェック、容量、切り替え、観察、および戻りを計画してください。 Do not use it when:ゼロダウンタイムや簡単なデータベースのロールバックを約束しないでください。ルーティングの遅延、長時間の接続、互換性のないデータ変更でスイッチが壊れる可能性があります。 Delivery requirements: Name the code repository and target. List preconditions, changes, review and CI checks, conflict and data-loss risks, release order, and the rollback or recovery command. Repository safeguards: Keep unpublished work and a clear history. Do not run destructive steps without an explicit backup. Check the exact code diff and remote target before publishing. Acceptance criteria: Review the intended diff and pass all required checks. Keep the target version traceable. Practice failure recovery and keep published history clear. Evidence and limits (evidence boundary):単一の公式標準が全体の用語を管理するわけではありません。その意味はチーム、プラットフォーム、またはフレームワークによって変わる可能性があります。 Unknowns to confirm: Repository, branch, team activity, release environment, approval owner, protected checks, and rollback target.
このリクエストを確認する
Review how ブルーグリーンデプロイメント (Blue-Green Deployment) is used now. Definition: ブルーグリーンデプロイメントでは、現在のバージョンと新しいバージョンを別々の環境に保持します。新しい環境が確認された後にトラフィックが切り替わります。 Release checks: Before publishing, check the exact repository, branch, target, and diff. Keep unpublished work. Pass review and CI checks. Record conflict and data-loss risks, release order, traceability, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.