The customer's browser sends the order to the global load balancer.
Region A is active, so the load balancer sends the request there.
The checkout API asks the pricing service for the total, then queues the order for the workers.
A worker writes the order to the primary database.
The write is replicated to region B, which stays ready to take over.
The health check stops getting answers from region A.
The load balancer stops sending traffic to region A.
Region B's database is promoted from replica to primary.
All traffic now goes to region B.
The pipeline builds the new version and runs the tests.
The standby region gets the new version first, as a canary with no customer traffic.
Region A is updated one replica at a time, so it keeps serving during the rollout.