Attaching a Network to an Instance

You can attach a tenant or service network to an instance. The IPoIB network type facilitates the internal communication, and the EoIB network type facilitates the external communication.

Note:

If you are updating an instance hosting a Database Cloud Service RAC database, you must shut down the instance before attaching a network.
  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 attach the network.
  4. In the instance details page, click Attach in the Network section.
  5. In the Select Network window, select one or more tenant or service networks that you want to attach to the instance.
  6. Click Attach.

Attaching a Network to an Instance Using the CLI or API

Use the following command to attach a network to an instance:

oracle-compute update instance name [--networking]

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

To attach a network to 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.