Oracle Cloud Infrastructure- Create VCN + Compute Ubuntu Linux 18.04

In this post, I'll demonstrate how to create a new VCN (Virtual Cloud Network) with Internet Gateway+ NAT Gateway + Service Gateway followed by the creation of a new compute instance with Ubuntu 18.04.

Environment

In order to create a new compute instance in oracle cloud, there are few prerequisites-

  1. A valid OCI account
  2. A virtual Cloud network
  3. Optional SSH keys in case you want your own keys to be used

Below is the network diagram of the virtual cloud network with the schematic wizard provided by OCI for quick setup of a VCN-


Steps to achieve

So, let's login to your OCI console and navigate to Networking >> Overview from the left navigation panel. From the right-side panel, click on start VCN wizard as shown below-

This will open a web form to provide basic details like- VCN name and rest of the things are provided as default as shown below-

Further, click on next and the Create. Once created, the VCN details look as shown below.

So, this way our VCN is ready. We should now move to create a compute instance with Ubuntu 18.04 image. 

So navigate to compute instances from the left navigation menu as-

Next, Click on 'Create Instance' button as shown below- 

This will open a form as shown below. By default it selects Oracle Linux Image, we should change this to Ubuntu 18.04 Canonical by clicking on change shape and selecting the appropriate image-

Fill all details and click on 'Create', the instance will be in 'PROVISIONING' state and within 2-5 mins, it will be provisioned and became in 'RUNNING' state as shown below-


Below is the end-to-end demonstration of this use case- 


In case of VNC access requirement, refer to my this blog- AWS EC2 Ubuntu Instance VNC access. Although I did this for AWS,  but the steps will remain the same for oci as well.

Comments

Popular posts from this blog

Oracle SOA Suite- Implementing Email Notification

Oracle SOA Suite 12c- PKIX path building failed & unable to find valid certification path to requested target

Migration of Oracle SOA Suite Composite from 11g to 12c