From 9f3d0b639ac118d9ebf9594e6e3fd63a0dc9df1d Mon Sep 17 00:00:00 2001
From: Michael Freytag
-If your app uses a relational database, blue-green deployment can lead to discrepancies between your green and glue databases during an update. To maximize data integrity, configure a single database for backward and forward compatibility.
$ cf create-route example.com --hostname demo-time-temp @@ -68,7 +67,7 @@ After this push: * Two instances of the app are now running on Cloud Foundry: the original Blue and the updated Green. * The Cloud Foundry Router continues sending all traffic for `demo-time.example.com` to Blue. -The router now also sends any traffic for `demo-time-temp.example.com` to Green. +The router also sends any traffic for `demo-time-temp.example.com` to Green.  @@ -110,7 +109,7 @@ Now all traffic for `demo-time.example.com` is sent to Green. ### Step 5: Remove temporary route to Green -You can now use `cf unmap-route` to remove the route `demo-time-temp.example.com` from Green. You can delete the route using `cf delete-route` or reserved it for later use. You can also decommission Blue, or keep it in case you need to roll back your changes. +You can now use `cf unmap-route` to remove the route `demo-time-temp.example.com` from Green. You can delete the route using `cf delete-route` or reserve it for later use. You can also decommission Blue, or keep it in case you need to roll back your changes.  From 638fe93e67b59bf154eba7859e4d0cf559ff97fb Mon Sep 17 00:00:00 2001 From: Michael FreytagDate: Tue, 5 Aug 2025 06:43:21 -0700 Subject: [PATCH 2/2] fix: add line 18 back in --- deploy-apps/blue-green.html.md.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy-apps/blue-green.html.md.erb b/deploy-apps/blue-green.html.md.erb index a6c4ea83..ac0f6f35 100644 --- a/deploy-apps/blue-green.html.md.erb +++ b/deploy-apps/blue-green.html.md.erb @@ -15,6 +15,7 @@ As you prepare a new version of your software, deployment and the final stage of testing takes place in the environment that is not live: in this example, Green. After deploying and fully testing the software in Green, you switch the router so that all incoming requests now go to Green instead of Blue. +Green is now live, and Blue is idle. This technique can eliminate downtime due to app deployment. In addition, blue-green deployment reduces risk: if something unexpected happens