Creating an Instance from an Instance Configuration

You can create an instance by using an instance configuration as a template.

Many of the settings that are defined in the instance configuration cannot be changed when you create an instance from the instance configuration. For example, the availability domain, compartment, image, shape, and subnet cannot be changed.

Before You Begin

Before you create an instance from an instance configuration, you need an instance configuration to use as a template for the instance. In addition, there are specific requirements for Linux and Windows.

Linux Instance Requirements

To connect to your Linux instance, consider the following.

  • If the instance configuration does not include a public key, and you want to use your own Secure Shell (SSH) key to connect to the instance using SSH, you need the public key from the SSH key pair that you plan to use. The key must be in OpenSSH format. For more information, see Managing Key Pairs on Linux Instances.
  • If the instance configuration does include an SSH key, that SSH key must be used to connect to all instances created from the instance configuration.

Windows Instance Requirements

For Windows, you need a VCN security rule that enables Remote Desktop Protocol (RDP) access so that you can connect to your instance. Specifically, you need a stateful ingress rule for TCP traffic on destination port 3389 from source 0.0.0.0/0 and any source port. For more information, see Security Rules. You can implement this security rule in a network security group that you add this Windows instance to. Or, you can implement this security rule in a security list that is used by the instance's subnet.

Steps to Create an Instance from an Instance Configuration

Follow these steps to create an instance from an instance configuration using the Console, CLI, or API.