capabilities.work

OCI Resize Flexible Compute Instance

A 3-step recipe with Oracle. We can help you get access.

Recipe · 3 steps

OCI Resize Flexible Compute Instance

with Oracle · IT Infrastructure Management

Update a flexible instance OCPU and memory then confirm the new configuration.

  1. Read the instance to confirm it exists and capture its current ETag for optimistic concurrency control on the resize.
  2. Update the instance shapeConfig to apply the new OCPU and memory values, guarded by the ETag captured when reading the instance.
  3. Read the instance back to confirm the new OCPU and memory configuration took effect.
What you'll need to have ready
  • instanceId: The OCID of the flexible-shape instance to resize.
  • ocpus: The target number of OCPUs for the instance.
  • memoryInGBs: The target amount of memory in GBs for the instance.
  • authToken: OCI request-signing bearer credential for the Authorization header.
For your developer

Arazzo workflow oracle:resize-flex-instance, 3 operations: GetInstance → UpdateInstance → GetInstance. Specs on APIs.io.