Updating the Network Configuration of an Instance

You must shut down an instance before updating the network information. The changes are applied after restarting the instance.

  1. Log in to the UI and go to the Self Service Portal.
  2. In the Home tab, click an orchestration in the Services section.
    All the instances in the orchestration are displayed.
  3. In the Name column, click an instance for which you want to update the network configuration.
  4. In the instance details page, click Edit in the Network section.
    The Edit Network window is displayed. All the network connections attached to the instance are listed.
  5. In the Edit Networks window, you can edit one or more network interfaces of the instance.
    You can modify the IP address, hostname, and the following parameters of an EoIB network:
    • Default Gateway: The selected network will be configured as the default gateway network.

    • Symmetric Routing: If this option is selected, the reply packets are routed through the same network interface on which the vNet IP packets were received.

    • Provider Role: If this option is selected, the instance becomes the service provider and provides shared services through the selected service network.

  6. Click Submit.

Updating the Network Configuration of an Instance Using the CLI or API

Use the following command to update the network configuration of an instance. The networking option of the command uses the same syntax of the networking object type of the orchestration JSON file.

oracle-compute update instance name [--shape] [--networking] [--nis] [--tag] [--delete_tag]

For more information, see CLI Reference for Oracle Compute Cloud Service.

To update the network configuration of an instance using the API, use the PUT https://api.oc.example.com/instance/name method.

For more information, see REST API Reference for Oracle Compute Cloud Service.