---
title: "GET /#Action=CreateBlueGreenDeployment"
method: GET
path: "/#Action=CreateBlueGreenDeployment"
---

# GET /#Action=CreateBlueGreenDeployment

`GET /#Action=CreateBlueGreenDeployment`

Creates a blue/green deployment.

A blue/green deployment creates a staging environment that copies the production environment. In a blue/green deployment, the blue environment is the current production environment. The green environment is the staging environment. The staging environment stays in sync with the current production environment using logical replication.

You can make changes to the databases in the green environment without affecting production workloads. For example, you can upgrade the major or minor DB engine version, change database parameters, or make schema changes in the staging environment. You can thoroughly test changes in the green environment. When ready, you can switch over the environments to promote the green environment to be the new production environment. The switchover typically takes under a minute.

For more information, see [Using Amazon RDS Blue/Green Deployments for database updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) in the _Amazon RDS User Guide_ and [Using Amazon RDS Blue/Green Deployments for database updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) in the _Amazon Aurora User Guide_.

## Query parameters

- `BlueGreenDeploymentName` string, required
- `Source` string, required
- `TargetEngineVersion` string
- `TargetDBParameterGroupName` string
- `TargetDBClusterParameterGroupName` string
- `Tags` object[] — A list of tags. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html">Tagging Amazon RDS Resources</a> in the <i>Amazon RDS User Guide.</i>
  - `Key` string — A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with <code>aws:</code> or <code>rds:</code>. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").
  - `Value` string — A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with <code>aws:</code> or <code>rds:</code>. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").
- `Action` 'CreateBlueGreenDeployment', required
- `Version` '2014-10-31', required

## Response `200`

Success

## Other responses

- `480` — DBInstanceNotFoundFault
- `481` — DBClusterNotFoundFault
- `482` — SourceDatabaseNotSupportedFault
- `483` — SourceClusterNotSupportedFault
- `484` — BlueGreenDeploymentAlreadyExistsFault
- `485` — DBParameterGroupNotFoundFault
- `486` — DBClusterParameterGroupNotFoundFault
- `487` — InstanceQuotaExceededFault
- `488` — DBClusterQuotaExceededFault
- `489` — InvalidDBInstanceStateFault
- `490` — InvalidDBClusterStateFault

---

[API](https://skmtc.net/aws/apis/rds.md) · [All operations](https://skmtc.net/aws/apis/rds/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/rds/revisions/e6b3ad7df19b/schema)
