Skip to content

Lab 8 ‐ Instance Creation

Md Mahbub Alam edited this page Oct 10, 2026 · 1 revision

Instance

In OCI (Oracle Cloud Infrastructure), an Instance is a virtual machine that runs on Oracle's cloud servers. It acts like a virtual server where we can deploy and run applications, websites, and databases.

  • Click on - Navigation menu > Compute > Instances

  • Creation On the Instances page click Create instance

image
  • Select Compartment and mention name for instance
image
  • In this section choose any availability Domain
image
  • Click Advanced Options and select the preferred Capacity Type.

Industry Preference: On-Demand Capacity – We pay only for the resources and services we actually use.

image
  • Select Fault domain
image
  • Image and Shape
image
  • On the Select an image page, choose the required OS and version. The second-latest version is recommended for better stability, then click Select image.
image image
  • Click Change shape
image
  • On Browse all shapes page select Instance type and Shape series
image
  • Configure hardware resources
image
  • Click on Next Button
image
  • Click on Next
image
  • On Networking page under Primary network choose Select existing virtual cloud network and inside Virtual cloud network compartment select network service compartment it will automatically select VCN from that network service compartment
image
  • For Subnet, select the Network Service Compartment under Subnet Compartment. Then, from the Subnet dropdown, select Public Subnet.

Bastion: It is used to securely connect to private resources without exposing them directly to the internet.

image
  • Inside Private IPv4 address assignment select Automatically assign
image
  • Add SSH Keys

To connect to an instance, we use an SSH key pair consisting of a public key and a private key. These are asymmetric keys because they are different from each other. When creating the instance, generate the key pair and download the private key in .pem format. For PuTTY, the private key needs to be converted to .ppk format before logging in.

image
  • next time while creating instance we can use same key pair by choosing second option
image
  • click Next

  • On Storage page we usually do nothing click Next Boot volume: A boot volume is a detachable device that contains the image used to boot the compute instance.

image
  • Review all the details and click Create
image image image

Clone this wiki locally