Oracle Cloud Infrastructure Documentation

Launching a Linux 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 your instance: Enter a name, for example: <your initials>_Instance. Avoid entering confidential information.
    • Choose an operating system or image source: 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.

    • In the Configure networking section, do the following:

      • 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 public subnet that was created with your cloud network.
      • Subnet: Select the public subnet that was created with your cloud network.
      • Leave the Use network security groups to control traffic option cleared.
      • To create a public IP address for the instance, select the Assign a public IP address option.
    • 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 the 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.