# Blue/Green deployment using Manifest

Blue/green strategy is a deployment strategy that is designed to minimize risk by gradually copying the contents of the old server group onto the new before disabling the old server group.&#x20;

Using a Blue/Green (AKA a red/black) Deployment strategy is easy, as Spinnaker natively supports a Blue/green strategy.

To use a Blue green Strategy,

1. **Go to** [**Application Dashboard**](https://docs.opsmx.com/user-guide/dashboard/application-dashboard): When you log in to ISD the application dashboard is displayed with the list of applications. You can create a new application also as given in [**create a new application**](https://docs.opsmx.com/release-history/previous-releases/isd-4.0/knowledge-base/manage-application/create-an-application).&#x20;
2. Click on the application for which you want to build this pipeline.&#x20;

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FGtB39Gz778eSQiC35gym%2Fimage.png?alt=media\&token=49d9e76c-3b31-4d2a-bbe3-1813993efb31)

3. **Pipelines:** Once you click on an application, it will redirect you to the **Pipelines** page. Click **+Create** button to [**create a new pipeline**](https://docs.opsmx.com/release-history/previous-releases/isd-4.0/knowledge-base/manage-pipelines/create-a-pipeline). Users can also view the existing pipelines displayed on the left.
4. **Click on** [**Add stage**](https://docs.opsmx.com/user-guide/manage-pipelines/add-stage)**:** The add stage button is displayed below the diagrammatic representation of the created pipeline. When you click this button, you can select the different types of stages that ISD supports.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F0am4bYcNCDsJikA9mZL9%2Fadd%20stage%201.png?alt=media&#x26;token=04e251dc-cf8e-4d8b-baca-5ab6412283a9" alt=""><figcaption></figcaption></figure>

5. **Select Deployment**: You can add a host of different stages from the **Type** drop down menu. They are all alphabetically sorted. Scroll down and select **Deploy(Manifest).**&#x20;

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FEf2k1T0DmqbZufrCiv3X%2Fmanifest%20file%203.png?alt=media&#x26;token=6ce66e1a-d375-4b80-a7fe-474de5cbc0ba" alt=""><figcaption></figcaption></figure>

6. **Select your account**: An account is the name given to a kubernetes cluster.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FNCqsWqSvaI8fjWFUJheE%2Fmanifest%20file2.png?alt=media&#x26;token=7562aa28-d3e3-46ea-8c42-b1e9cc668d0d" alt=""><figcaption></figcaption></figure>

7. **Select your namespace**: A namespace is a specific address within a Kubernetes cluster, select the checkbox that says override namespace and you will be able to select the namespace in which your manifest will deploy.
8. **Add your manifest object**: You can add your manifest as a [**text** ](https://docs.opsmx.com/release-history/previous-releases/isd-4.0/knowledge-base/manage-pipelines/execute-pipelines-run-deployments/deployment-to-kubernetes-namespace-with-manifest-file)or an [**artifact**](https://docs.opsmx.com/release-history/previous-releases/isd-4.0/knowledge-base/manage-pipelines/execute-pipelines-run-deployments/deployment-to-kubernetes-namespace-with-git-based-manifest)**.**

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FCEh5YdglghRuzXYZ2e34%2Fbluegreen%203.png?alt=media&#x26;token=6c509d97-db22-4b7a-9c42-6b392fc461f3" alt=""><figcaption></figcaption></figure>

9. **Select rollout strategy options**: Click on the checkbox **Spinnaker manages your traffic based on your selected strategy**. Define the **Service(s) namespace** and **Service(s)** you are applying to this strategy as shown in below screen.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FCiWWq6NBXdPHUm26lVa0%2Fbluegreen1.png?alt=media&#x26;token=36bf14d2-54a0-4d4e-82e9-7d60ebcaacc6" alt=""><figcaption></figcaption></figure>

10. Select your strategy from the drop-down list, you will find the **Red/black strategy**.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FF4C6dH9ytTOd3FK5OtFP%2Fbluegreen2.png?alt=media&#x26;token=5edc849a-6df8-4a06-8847-01a9b93745bf" alt=""><figcaption></figcaption></figure>

11. **Add additional configurations**: Finalize your configurations and click **Save Changes**.
