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-
- A valid OCI account
- A virtual Cloud network
- 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-
So navigate to compute instances from the left navigation menu as-
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-
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
Post a Comment