- INFORMATION
-
gcloud alpha sql blue-green-deploymentsis not available in universe domainuniverse. - NAME
-
- gcloud alpha sql blue-green-deployments - provide commands for managing Cloud SQL blue-green deployments
- SYNOPSIS
-
-
gcloud alpha sql blue-green-deploymentsCOMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)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-
(ALPHA)Creates a Cloud SQL blue-green deployment. delete-
(ALPHA)Deletes a Cloud SQL blue-green deployment. describe-
(ALPHA)Retrieves information about a Cloud SQL blue-green deployment. list-
(ALPHA)Lists Cloud SQL blue-green deployments. switchover-
(ALPHA)Performs switchover for a Cloud SQL blue-green deployment.
- NOTES
-
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation-only early access
allowlist. This variant is also available:
gcloud beta sql blue-green-deployments
gcloud alpha 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-09-01 UTC."],[],[]]