capabilities.work

Resize Instance Shape

A 4-step recipe with Oracle Cloud Infrastructure. We can help you get access.

Recipe · 4 steps

Resize Instance Shape

Stop an instance, resize its shape config, then start it again.

  1. Issue a STOP action to power down the instance before resizing.
  2. Poll the instance until it reports the STOPPED lifecycle state.
  3. Update the instance flexible shape configuration with new sizing.
  4. Start the resized instance so the new shape configuration takes effect.
What you'll need to have ready
  • instanceId: The OCID of the instance to resize.
  • ocpus: The new total number of OCPUs.
  • memoryInGBs: The new total amount of memory in gigabytes.
For your developer

Arazzo workflow oracle-cloud:resize-instance-shape, 4 operations: instanceAction → getInstance → updateInstance → instanceAction. Specs on APIs.io.