Changing an Instance Shape

You can change the shape of an instance to change the vCPU and memory configuration of an instance. You must shut down the instance, change the shape, and then restart the instance.

  1. Log in to the UI and go to the Self Service Portal.
  2. In the Home tab, select and click an orchestration.
    All the instances in the orchestration are displayed.
  3. In the Name column, click an instance for which you want to change the shape.
  4. In the instance details page, click the Edit icon for Shape in the Configuration section.
  5. Select the desired shape from the list and click OK.
  6. Start the instance to apply the new shape.

Changing an Instance Shape Using the CLI or API

Use the following command to change the shape of an instance:

oracle-compute update instance name [--shape]

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

To change the shape 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.