At our organization, Redis plays a crucial role in various capacities— as shared memory, for attack detection based on concentrated events, and more. To manage these diverse uses efficiently and to support dynamic scaling of our Redis clusters, we developed a blue-green deployment process using GCP Managed Instance Groups (MIGs). This process involves creating a new Redis cluster on a new MIG with the desired size alongside the current cluster MIG, switching traffic to the new one, and then deleting the previous cluster MIG. This approach was effective for all our Redis clusters.

(more…)