Editing Custom Instance Display and Instance Host Names

Change custom instance display name and host name for instances you create in an instance pool.

    1. Open the navigation menu and click Compute. Under Compute, click Instance Pools.
    2. In the List scope section, select the compartment that contains the instance pool that you want to update.
    3. Click the name of the instance pool that you want to edit to display the details page.
    4. Click Edit.
    5. In the Instance display name formatter field, enter a new text string that includes lowercase alphanumeric characters, symbols, and dashes. The name must include the ${launchCount} token. For example: my-string-${launchCount}.
    6. In the Instance host name formatter field, enter a new text string that includes lowercase alphanumeric characters, symbols, and dashes. The name must include the ${launchCount} token. For example: my-string-${launchCount}.
    7. Click Save.
  • Use the instance-pool update command to change the custom display name for instances you create in an instance pool.

    oci compute-management instance-pool update --instance-pool-id <INSTANCE_POOL_OCID> --display-name <INSTANCE_POOL_NAME>

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

  • Use the UpdateInstancePool operation to change the custom display name for instances you create in an instance pool.