Moving a Network Load Balancer Between Compartments
Move a network load balancer to a different compartment in your Oracle Cloud Infrastructure tenancy.
See Managing Compartments for information about compartments and access control.
- Open the navigation menu, click Networking, and then click Load balancers. Click Network load balancer. The Network load balancers page appears.
- Select the Compartment from the list. All network load balancers in that compartment are listed in tabular form.
- Select a State from the list to limit the network load balancers displayed to that state.
- Select the network load balancer that you want to move to a different compartment. The network load balancer's Details page appears.
- Click Move resource. You can also click the for the network load balancer you want to delete and select Move resource. The Move resource to a different compartment dialog box appears.
- Select the compartment to which you want to move your network load balancer from the Choose new compartment list.
- Click Move resource.
The network load balancer now resides in the updated compartment. Use the oci network-load-balancer nlb change-compartment command and required parameters to move a network load balancer between compartments:
oci nlb network-load-balancer change-compartment --compartment-id compartment_ocid --network-load-balancer-id network-load-balancer_ocid [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeNetworkLoadBalancerCompartment operation to move a network load balancer to a different compartment.