iwan.hoogendoorn
Oracle Cloud · · 2 min read

Create your first free (Linux) Compute instance using OCI (with your free OCI account)

2-profile

In this article, I will be explaining how you create a free Oracle Instance (Workload / Virtual Machine) based on Linux.

Create a new Compute Instance

I am going to create a new (Linux) Compute Instance inside my new OCI Tenant.

When you create (or use) a Free Trial OCI account there will be a default tenant, a default root compartment, and a VCN and internet Gateway will be created for you. In the diagram below I will be creating the yellow Compute Instance inside the VCN.

Create-OCI-Linux-Instance1

  1. When logging into the console notice that I am using OCI in Free Trail mode so there will be some limitations.
  2. Click on the hamburger menu in the upper left corner.

Create-OCI-Linux-Instance2

Select “Instances” from the home menu.

Create-OCI-Linux-Instance3

  1. Select the root compartment.
  2. Click on “Create Instance”.

Create-OCI-Linux-Instance4

  1. Provide a Name for the new Instance.
  2. Scroll down to see the other options.

Create-OCI-Linux-Instance5

Review the options leave everything default for now and scroll down again.

Create-OCI-Linux-Instance6

  1. In order the access and manage this Linux Instance you need to work with SSH Keys. For now, I will let OCI Generate a new SSH Key pair.
  2. Download the private and public keys on your local computer so I can use these to access and manage this Linux Instance (after creation).
  3. Scroll down to review the other options

Create-OCI-Linux-Instance7

Make sure you download the downloaded private and public keys are your local computer so I can use these to access and manage this Linux Instance (after creation).

Create-OCI-Linux-Instance8

Click on “Create” to create the new Linux Instance.

Create-OCI-Linux-Instance9

Review the status that will start with “PROVISIONING”.

Create-OCI-Linux-Instance10

Within a few seconds, you will see that some information is populated that you will need to access the instance like the IP addresses and the username.

Create-OCI-Linux-Instance11

Eventually, the Instance status will be “RUNNING” and I can start logging in to the Instance to perform some management tasks and start installing my applications.

Create-OCI-Linux-Instance12

Use the breadcrumbs to go back to look at the instance overview.

Create-OCI-Linux-Instance13

In the Instances Overview I can see all my deployed instances.

Create-OCI-Linux-Instance14

Conclusion

In this article, I have explained how you create a Linux Compute Image using the OCI Console.

I was able to successfully create a new Linux Compute Image that I could use to install applications in a later phase.

Originally published on the old wiki at /index.php/Create_your_first_free_(Linux)_Compute_instance_using_OCI_(with_your_free_OCI_account).