Moving a Load Balancer Between Compartments

Move a load balancer to a different compartment in your Oracle Cloud Infrastructure tenancy.

See Managing Compartments for information about compartments and access control.

    1. Open the navigation menu, click Networking, and then click Load balancers. Click Load balancer. The Load balancers page appears.

    2. Select the Compartment from the list. All load balancers in that compartment are listed in tabular form.

    3. Select a State from the list to limit the load balancers displayed to that state.

    4. Click the load balancer that you want to move to a different compartment. The load balancer's Details page appears.

    5. Click Move resource. The Move resource dialog box appears.

    6. Choose the destination compartment from the list.

    7. Click Move resource.

  • Use the oci lb load-balancer change-compartment command and required parameters to move a load balancer between compartments:

    oci lb load-balancer change-compartment --compartment-id compartment_id [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ChangeLoadBalancerCompartment operation to move a load balancer between compartments.