Associate NSGs to a Recovery Service Subnet

If you have used a network security group (NSG) to implement security rules for Recovery Service in the database VCN, then you must add the Recovery Service NSG to the Recovery Service subnet.

The Recovery Service NSG can reside in the same compartment or in a different compartment. However, the NSG must belong to the same VCN to which the specified subnet belongs.
Note

For Oracle Database@Azure and Oracle Database@Google Cloud, you must register the Recovery Service subnet by associating network security groups (NSG).

Using the Console

  1. On the Recovery Service subnets list page, select the Recovery Service subnet that you want to work with. See Listing Recovery Service Subnets for details to access the list page.
  2. On the details page, go to the Network security groups tab.
  3. Select Add network security groups.
  4. In the Add network security groups panel, select the Compartment and the network security group you want to add.
  5. Select Add network security group.
    Note

    You can add a maximum of five NSGs to a Recovery Service subnet.
  6. If you want to replace an existing Network security groups, from the Actions menu, select Remove and then select Add network security group to add a new NSG.

Using the CLI

Use the oci recovery recovery-service-subnet get command and parameters to update the Recovery Service subnet.

See Autonomous Recovery Service CLI Command Reference for a complete list of parameters and values for CLI commands.

Using the API

Run the UpdateRecoveryServiceSubnet API operation to update a Recovery Service subnet.