by atemerev · 7y ago · 0 comments
There are two identical prod servers/cloud configurations/datacenters: blue and green. Each new version is deployed intermittently on blue and green areas: if version N is on blue, version N-1 is on green, and vice versa. If some critical issue happens, rolling back is just switching the front router/balancer to the other area, which can be done instantly.
Any mechanism for rollbacks that isn't tested continuously is likely to fail during incident response. It's a huge anti-pattern to have 'dark' processes only used during incident response -- same thinking behind why you should also be continually testing your backups, continuously killing servers to verify recovery, etc.
It takes Pulumi about 15 minutes to create our kubernetes cluster with all pods and monitoring in place.
After a succesful rollout we can pulumi down one of the clusters and reduce costs (We're on azure.)