Manage Cluster Hopping
“Cluster-hopping” is a catch-all term for one of the ways Codiac makes your life easier. When you drag and drop an asset (workload) from one cluster to another, we call that “cluster-hopping.”
Let’s say you have a cabinet running a production workload comprising several assets. It’s time to upgrade one of those assets. Huge hassle, right? Lots of downtime? Not to sound like a late-night television ad, but “There’s got to be a better way!”
There is. It’s Codiac.
There are many ways to approach this scenario in Codiac. Still, they all simplify the deployment process by letting you use the web UI to drag an asset from one cabinet to another without downtime.
Examples
These are just a few examples of using Codiac’s cluster-hopping workflow.
Direct Upgrade
Different version, same cluster
In this example, we perform an in-place upgrade of an asset from version 1.0 to version 2.0. We have already tested version 2.0 to verify it’s ready for production, so all we have to do is drag the newer version into the cabinet. Codiac automatically updates the asset version.
Direct Upgrade Overview:
- Drag the new asset version into an existing cabinet.
Blue-Green Upgrade
Different version, same cluster.
This version of the classic blue-green deployment upgrades the asset version on the existing (blue) cabinet after testing the new asset on a new (green) cabinet. After testing, we remap the domain from the blue cabinet to the green cabinet.
Blue-Green Upgrade Overview:
- Create a green cabinet in the existing environment.
- Deploy new asset version to green cabinet and test.
- Remap the domain name from the blue cabinet to the green cabinet.
Blue-Green Cross-Cluster
Same version, different cluster
This blue-green deployment recreates the existing (blue) cabinet on a new cluster. To do this, we create a new environment on a new cluster, create a new (green) cabinet on the new environment, deploy the existing asset version to the green cabinet, and then update the DNS to point to the green cabinet.
Blue-Green Cross-Cluster Overview:
- Create a green environment with the new green cluster.
- Create a green cabinet on the green environment.
- Deploy existing asset version to green cabinet and test.
- Remap domain name from blue cabinet to green cabinet.