Using an Instance Configuration to Create an Instance
On Compute Cloud@Customer, you can use an instance configuration to launch a compute instance.
This method of launching a compute instance is an alternative to the method described in Creating an Instance.
The name of the instance is determined as follows:
-
If the instance configuration specifies a value for the
displayName
property, the name of the instance will bedisplayName
. If you use the same instance configuration with multiplelaunch-compute-instance
commands, all instances will have the same name. Instance names aren't required to be unique. -
If the instance configuration doesn't specify a value for the
displayName
property, the default name of the instance will beinstanceYYYYMMDDhhmmss
, whereYYYYMMDDhhmmss
is the creation date and time.
Avoid entering confidential information in names.
This task can't be performed using the Console.
Use the oci compute-management instance-configuration launch-compute-instance command and required parameters to change the instance configuration name or tags.
oci compute-management instance-configuration launch-compute-instance [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the GetInstanceConfiguration operation to change the instance configuration name or tags.
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.