Creating a Blue/Green Deployment
You can create a blue/green deployment.
This task requires the following:
- An existing standalone source DB system.
- A policy that permits you to create DB systems and blue/green deployments in the target compartment.
- A policy that permits you to use, update, and write content to the source DB system.
- A policy that permits you to create replication channels in the deployment compartment.
- If you specify a custom configuration for the target DB system, a policy that permits you to read the configuration.
- Policies that permit the service to read and attach the source DB system subnet and network security groups.
Use the Console, a command-line interface, or the REST API to create a blue/green deployment.
- Using the Console
- Using the CLI
- Using the REST API, run the CreateBlueGreenDeployment operation.
Using the Console
Use the Console to create a blue/green deployment.
When you create a blue/green deployment, the service creates the green (target) DB system and a replication channel.
Do the following to create a blue/green deployment:
The blue/green deployment is created. The source DB system remains active while the service provisions and prepares the target DB system and replication channel. The target DB system is derived from the source DB system and uses the target settings that you provide for the deployment.
Using the CLI
Use the command-line interface to create a blue/green deployment.
In addition to the requirements for creating a blue/green deployment, this task requires
the following:
- A compartment and source DB system Oracle Cloud Identifier (OCID).
- A properly configured CLI installation and the requisite SSH keys. See Command Line Interface.
Do the following to create a blue/green deployment:
The blue/green deployment is created. The source DB system remains active while the service provisions and prepares the target DB system and replication channel.