- NAME
-
- gcloud beta sql blue-green-deployments - provide commands for managing Cloud SQL blue-green deployments
- SYNOPSIS
-
-
gcloud beta sql blue-green-deploymentsCOMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Blue-green deployment is a strategy that minimizes database downtime when you make changes, like major version upgrades, by copying a production environment to a separate, synchronized staging environment.With blue-green deployments, you can make changes to a staging environment-the green environment-without affecting the production environment-the blue environment. When you're ready, you can switch over with low downtime, promoting the staging environment to be the new production environment.
These commands help you manage the lifecycle of creating the green environment, testing, switching over, and cleaning up old resources in Cloud SQL.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMANDcreate-
(BETA)Creates a Cloud SQL blue-green deployment. delete-
(BETA)Deletes a Cloud SQL blue-green deployment. describe-
(BETA)Retrieves information about a Cloud SQL blue-green deployment. list-
(BETA)Lists Cloud SQL blue-green deployments. switchover-
(BETA)Performs switchover for a Cloud SQL blue-green deployment.
- NOTES
-
This command is currently in beta and might change without notice. This variant
is also available:
gcloud alpha sql blue-green-deployments
gcloud beta sql blue-green-deployments
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-09-01 UTC.