Creating a Capacity Reservation Instance

To create an instance in a capacity reservation see the following steps.

    1. Follow the steps to create an instance, until the Placement section.
    2. In the Placement section, select Show advanced options.
    3. For Capacity type, select Capacity reservation.
    4. For Capacity reservation, select the capacity reservation that you want to create the instance in.
    5. Finish configuring the instance, and then select Create.
  • Use the instance launch command and required parameters to create an instance:

    oci compute instance launch --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 create an instance: