OCI Notes

IAM

Compute:

1) Generate a keypair using cloudshell.

appsdba_ka@cloudshell:~ (ca-toronto-1)$ ssh-keygen

Generating public/private rsa key pair.

Enter file in which to save the key (/home/appsdba_ka/.ssh/id_rsa):

Created directory '/home/appsdba_ka/.ssh'.

Enter passphrase (empty for no passphrase):

Enter same passphrase again:

Your identification has been saved in /home/appsdba_ka/.ssh/id_rsa.

Your public key has been saved in /home/appsdba_ka/.ssh/id_rsa.pub.

The key fingerprint is: SHA256:Qtgkb4bZs52aEZlvJ7OLTAGNuq3wj/1ZQ1lreLM9Cqs

appsdba_ka@bb90036a4766 The key's randomart image is: +---[RSA 2048]----+ | . . | | % o | | & . | | . = \= . | | . = S * | | o O B + | |. . . + = . o | | o + o + = . . | | +.o.E.o . | +----[SHA256]-----+

appsdba_ka@cloudshell:~ (ca-toronto-1)$ cd .ssh

appsdba_ka@cloudshell:.ssh (ca-toronto-1)$

ls id_rsa id_rsa.pub

Types of compute instance:

Preemptible instance, Capacity reservation, Dedicated VM Host, Burstable instance

Preemptible instances behave the same as regular compute instances, but the capacity is reclaimed when it's needed elsewhere, and the instances are terminated. If your workloads are fault-tolerant and can withstand interruptions, then preemptible instances can reduce your costs.

GPU Shapes are designed for hardware-accelerated workloads. GPU Shapes include Intel or AMD CPUs and NVIDIA graphics processors.

Dedicated virtual machine hosts let you run Oracle Cloud Infrastructure Compute virtual machine (VM) instances on dedicated servers that are single tenant and not shared with other customers. Use dedicated virtual machine hosts to meet compliance and regulatory requirements for isolation that prevents you from using shared infrastructure.