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

From Iwan
Jump to: navigation, search

2-profile.jpg

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.png

  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.png

Select “Instances” from the home menu.

Create-OCI-Linux-Instance3.png

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

Create-OCI-Linux-Instance4.png

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

Create-OCI-Linux-Instance5.png

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

Create-OCI-Linux-Instance6.png

  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.png

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.png

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

Create-OCI-Linux-Instance9.png

Review the status that will start with “PROVISIONING”.

Create-OCI-Linux-Instance10.png

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.png

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.png

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

Create-OCI-Linux-Instance13.png

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

Create-OCI-Linux-Instance14.png

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.