Launching an Instance
Now you will launch an instance with the Oracle Linux image and basic shape.
- You have created a cloud network and subnet. See Creating a Virtual Cloud Network.
- You have an SSH key pair. See Creating a Key Pair.
Open the navigation menu. Under Core Infrastructure, go to Compute and click Instances.
- Click Create Instance.
- On the Create Instance page, enter the following:
- Name: Enter a name, for example: <your initials>_Instance.
- availability domain: Accept the default.
Instance type: Accept the default, Virtual Machine.
Instance shape: Accept the default, VM.Standard2.1 (1 OCPU, 15 GB RAM).
The shape defines the number of CPUs and amount of memory allocated to the instance.
- Configure boot volume: Leave both 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.
- 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.
- 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.
To connect to your instance in the next step, you'll need its public IP address.
To get the instance public IP address:
- Click the instance name to see its details.
The Public IP Address is displayed on the details page under Primary VNIC Information, as shown in the following image:
- Make a note of the Public IP Address before you continue.
Now use the IP address and your SSH key to connect. See Connecting to Your Instance.