Moving a Load Balancer Between Compartments
Describes how to move a load balancer between compartments.
See Managing Compartments for information about compartments and access control.
Open the navigation menu, click Networking, and then click Load Balancers.
Select the Compartment from the list.
All load balancers and network load balancers in that compartment are listed in tabular form.
(optional) Select a State from the list to limit the load balancers displayed to that state.
(optional) Uncheck Network Load Balancer under Type to only display load balancers.
Click the Actions icon () associated with the load balancer you want to move, then click Move Resource.
The Move Resource dialog box appears.
Choose the destination compartment from the list.
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 flags and variable options for CLI commands, see the Command Line Reference.
Run the ChangeLoadBalancerCompartment operation to change the compartment of a load balancer.