Oracle Cloud Infrastructure Documentation

Launching an Instance

Now you will launch an instance with the Oracle Linux image and basic shape. More advanced options are available; see Overview of the Compute Service for more information.

Before You Begin

Launching an Instance

  1. Open the navigation menu. Under Core Infrastructure, go to Compute and click Instances.

  2. Click Create Instance.
  3. On the Create Instance page, enter the following:
    • Name: Enter a name, for example: <your initials>_Instance. Avoid entering confidential information.
    • Operating system: Accept the default, Oracle Linux 7.x.

    • availability domain: Accept the default.
    • Instance type: Accept the default, Virtual Machine.

    • Instance shape: Accept the default, VM.Standard.E2.1.Micro (1 OCPU, 1 GB RAM).

      The shape defines the number of CPUs and amount of memory allocated to the instance.

    • Virtual cloud network compartment: Select the compartment containing the cloud network that you created.
    • Virtual cloud network: Select the cloud network that you created.
    • Subnet compartment: Select the compartment containing the subnet that was created with your cloud network in availability domain 1.
    • Subnet: Select the subnet that was created with your cloud network in availability domain 1.
    • Configure boot volume: Leave all the options cleared.
    • Add SSH Key: Select Choose SSH key file. Click Choose Files, navigate to the location where you saved the public key portion (.pub) of the SSH key file that you created, select the file and click Open.

  4. Click Create.

The instance is displayed in the Console in a provisioning state. Expect provisioning to take several minutes before the status updates to Running. Do not refresh the page. After the instance is running, allow another few minutes for the operating system to boot before you attempt to connect.

Getting the Instance Public IP Address

To connect to your instance in the next step, you'll need its public IP address.

To get the instance public IP address:

  1. Click the instance name to see its details.
  2. The Public IP Address is displayed on the details page under Primary VNIC Information, as shown in the following image:

    Location of Public IP Address

  3. Make a note of the Public IP Address before you continue.

What's Next

Now use the IP address and your SSH key to connect. See Connecting to Your Instance.