Adding a Capacity Configuration

Add a capacity configuration to a capacity reservation using the following steps.

    1. Navigate to the Capacity Reservations list page. If you need help finding the list page, see Listing Capacity Reservations.
    2. Select a capacity reservation.
    3. Under Capacity configurations, select Add capacity configuration.
    4. Enter the configuration data:
      • Fault domain: Select First available to allow OCI to select the fault domain. Alternately, enter a fault domain.
      • Shape: Select the shape to use for instances created against this capacity configuration. If you select a flexible shape, enter values for Cores and Memory (GB).
      • NVMe drives: (If available) Select the number of drives.
      • Count: Enter the total number of instances that can be created with this capacity configuration.
    5. To add additional capacity configurations for shapes, select the option you see:
      • Add shape
      • + Another shape
    6. Select Add configuration.
  • Use the capacity reservations update command and required parameters to create a capacity reservation:

    oci compute capacity-reservation update --from-json <file://path/to/file.json>

    <file://path/to/file.json> is the path to a JSON file that defines the instance details. For information about how to generate an example of the JSON file, see Advanced JSON Options.

    For a complete list of flags and variable options for the Compute service CLI commands, see the command line reference for Compute.

  • For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.

    Use this API operation to add a capacity configuration to a capacity reservation: