LAB 06 ‐ Instance Creation - gautam-amitesh/OCI GitHub Wiki
Instance
In terms of OCI an Instance is a virtual machine running in the cloud powered by the servers of Oracle. Hence it is the server where we deploy and run our applications, websites or databases.
Navigation
Navigation menu > Compute > Instances
Creation
-
On the Instances page click
Create instance -
Give the name for the instance and select the compute service compartment
-
In
Placementsection choose any one availability domain -
Click on
Advanced optionsand select prefered capacity type
-
Industry preference:
On-demand capacitywe pay only for services we use
-
Select
Fault domainI'm leaving it for the OCI to choose right FD for the instance -
Inside
Image and shape
- Image: OS of the server
- Shape: Hardware resources allocated to an instance
-
Click
Change image -
On
Select an imagepage select a OS and its version (second latest version is recommended for stability) and clickSelect image -
Click
Change shape -
On
Browse all shapespage select Instance type and Shape series (AMD recommended) -
Configure hardware resources
-
Click
Expandbutton -
Select Shape build (
Number of OCPUsandAmount of memory (GB)) then clickSelect shape
-
-
Click Next
-
Click Next
-
On
Networkingpage underPrimary networkchooseSelect existing virtual cloud networkand insideVirtual cloud network compartmentselectnetwork service compartmentit will automatically select VCN from that network service compartment -
Do same thing for
Subnetselection, select network service compartment forSubnet compartmentand then inSubnetselection dropdown selectpublic subnet
-
bastion: it tells we are using it to connect to the internet
-
Inside
Private IPv4 address assignmentselect Automatically assign -
Add SSH keys
-
to connect to the instance we need both SSH key pair public key and private key (asymmetric keys: different from each other)
-
first time when we are creating instance we generate key pair and download which is downloaded in .pem (Privacy-Enhanced Mail) format but while trying to login we need .ppk (PuTTY Private Key) format of key
-
next time while creating instance we can use same key pair by choosing second option
-
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.
-
Review all the details and click
Create