Deletion and Cleanup of OCI Multicloud Resources
Learn how to safely delete old Multicloud database resources so that your OCI tenancy remains correctly configured for future deployments.
If you have old or non-production Multicloud database resources in your OCI tenancy, you might want to delete them to prepare for a future deployment or because they are no longer needed. This topic explains what resources you should leave intact in your OCI tenancy as you are deleting unneeded Multicloud database resources.
As a part of the initial OCI
Multicloud environment creation for services like
OracleDB for Azure, Oracle creates a Multicloud compartment in your OCI tenancy. This compartment is named
CloudLink_<cloud_name>_<YYYYMMDDHHMMSS>
,
where <cloud_name>
is the name of another cloud
provider, and <YYYYMMDDHHMMSS>
represents the
date and time when the compartment was created. For example:
CloudLink_Azure_20230630183515
.
After deleting a Multicloud database resource like an Exadata VM cluster, your Multicloud compartment still contains automatically created networking resources including Virtual Cloud Networks (VCNs) and Dynamic Routing Gateways. Your Multicloud compartment also includes an IAM policy named "CloudLink_Management_Policy" that allows Multicloud database resources to use networking resources including cloud links created and managed by Oracle.
Note the following as you delete your Multicloud database resources:
- Oracle recommends that you leave within the Multicloud compartment all VCNs and Dynamic Routing Gateways that were created by during the deployment of the database resources that you are deleting. Oracle automatically removes these unused networking resources 7 days after the associated database resource is deleted, as detailed later in this topic. You do not need to manually remove these networking resources to create new Multicloud databases and infrastructure.
-
Oracle recommends that you leave the "CloudLink_Management_Policy" IAM policy within your Multicloud compartment (this policy can be viewed in the Identity and Access Management section of the OCI Console).
Important
If you remove the "CloudLink_Management_Policy" IAM policy, you will not be able to deploy additional database resources within your Multicloud environment.
OCI-Managed Cleanup of Unused Multicloud Networking Resources
After you delete a Multicloud database resource like an Exadata VM cluster, OCI removes the associated network links and networking resources like VCNs and Dynamic Routing Gateway as follows:
- If a database infrastructure resource like a VM cluster is deleted, OCI deletes the associated network resources after 7 days.
- If a network link associated with a deleted database resource is in a failed state, OCI deletes the network link after 48 hours. If the network link delete operation fails, OCI retries the operation after 54 hours.