Moving a Compute Cloud@Customer Infrastructure Between Compartments

Move an existing Compute Cloud@Customer infrastructure to a different compartment within the same tenancy.

You must have the required permissions in both compartments. See Preparing Your Tenancy for details.
    1. In the Oracle Cloud Console, open the navigation menu, select Hybrid, and then select Oracle Compute Cloud@Customer.
    2. Select Infrastructures.
    3. Select the name of the infrastructure that you want to move to a different compartment. If you don't see the infrastructure that you want, you might need to change compartments.
    4. From the Actions drop-down menu, select Move resource.
    5. Select the compartment to move the infrastructure to, and then select Move resource.
  • Use the ccc infrastructure change-compartment command and required parameters to move an infrastructure to a different compartment:

    oci ccc infrastructure change-compartment --compartment-id <compartment ocid of the new compartment> --infrastructure-id <OCID of the infrastructure to be moved> ... [OPTIONS]

    For a complete list of CLI commands, flags, and options, see the Command Line Reference.

  • Use the ChangeCccInfrastructureCompartment operation to move a Compute Cloud@Customer infrastructure to a different compartment in the tenancy.

    For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.