Blue-Green Load Balancerとは?
blue-green load balancerは、稼働中のblueと準備済みのgreenという2つの同一なdeploymentの前段に位置し、一度の切り替えで一方から他方へトラフィックを移します。両方の環境が稼働したままなので、rollbackはtargetを元に戻すだけです。これはblue-green deploymentを可能にするルーティングの仕組みです。
なぜ重要か
即時の切り替えにより、ユーザーが中途半端にデプロイされた状態を目にすることはなく、問題のあるリリースは数秒で元に戻せます。CI/CDのpipelineは多くの場合、deploy jobの最後にこのload balancerを再設定してgreenのtargetをプロモートします。
関連ガイド
What Is Weighted Routing?Weighted routing splits traffic across two or more targets in proportions you set, such as ninety percent to…
What Is a Target Group?A target group is a named set of backend endpoints that a load balancer routes traffic to and runs health che…
What Is a Health Check Grace Period?A health check grace period is a window after a new instance starts during which failed health checks are ign…