# Blue/Geen Deployments

* Strategy to deploy a new version of an application.&#x20;
* They work by starting an entirely new instance of the application and then routing traffic over to it

<figure><img src="https://3885248957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoE4wMO1dMVDOGDjh0En7%2Fuploads%2FqCbIN3AcIOR44os6GV8X%2Fimage.png?alt=media&#x26;token=9bc80c40-6e92-4faf-abea-3734c27a8705" alt=""><figcaption></figcaption></figure>

* After testing and making sure that everything runs fine, we redirect the users to the new version (Green) and shutdown the old (Blue)

<figure><img src="https://3885248957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoE4wMO1dMVDOGDjh0En7%2Fuploads%2FEzkOZNfo7BeasHPYJHVs%2Fimage.png?alt=media&#x26;token=66b5d1f8-d752-4fd0-bb9b-660e606c805f" alt=""><figcaption></figcaption></figure>

#### Benefits:

* Easy to understand
* Powerful
* Extendable to workflows

#### Cons:

* Difficutl to make hotfixes
* Resource allocation is not convenient
* Clusters can affect each other
