Both the blue and green versions of my web application are on the same VM. I use an F5 load balancer which points to either the blue version or the green version. My deployment looks like this (assume
Blue is active):
- Deploy database
- Deploy to
- Update F5 to point to
Greenversion of the application
Right now I have to have two environments, one blue and one green. I’d like to have a single environment. How can I have a single environment,
Production while still having blue/green deployments? I could look at the previous deployment and determine which one, blue or green, was last deployed to.