Creating an Instance Configuration from an Instance

On Compute Cloud@Customer you can create an instance configuration by using the configuration information from an existing compute instance.

    1. On the Compute Cloud@Customer Console Dashboard, click Compute/View Instances.

    2. At the top of the page, select the compartment that contains the instance that you want to use to create the new instance configuration.
    3. Click the name of the instance that you want to use to create the new instance configuration.

    4. On the instance details page, click Controls (upper right corner), then click Create Instance Configuration.

    5. In the Create Instance Configuration dialog box, enter the following information:

      • Name: Enter a name for the instance configuration.

      • Compartment: Select the compartment where this instance configuration will be created.

      • Tagging: (Optional) Add one or more tags to this resource. If you aren't sure whether to apply tags, skip this option (you can apply tags later). For more information about tagging resources, see Resource Tags.

    6. Click Create Instance Configuration.

  • Use the oci compute-management instance-configuration create-from-instance command and required parameters to create an instance configuration by using the configuration information from an existing compute instance.

    oci compute-management instance-configuration create-from-instance --compartment-id <compartment_OCID> --instance-id <instance_OCID> --display-name <IC_name>

    The specified compartment is where this instance configuration is created.

    The specified display name is the name of the instance configuration. If you don't provide a value for the --display-name option, the default name of the instance configuration is instanceconfigurationYYYYMMDDhhmmss, where YYYYMMDDhhmmss is the creation date and time.

    The output of this command is the same as the output of the instance-configuration get command.

    For a complete list of CLI commands, flags, and options, see the Command Line Reference.

  • Use the CreateInstanceConfiguration operation to create an instance configuration using an instance.

    For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.