Description
A technique that reduces downtime and risk by running two identical production environments called Blue and Green.
Where to use
- Zero downtime deployment. \n
- Instant rollback.
Real World Example
Router points to Blue (v1). Deploy v2 to Green. Switch router to Green.
Code Example
class Blue–GreenDeployment:
def __init__(self):
pass
def execute(self):
print('Executing Blue–Green Deployment')
