OCI Compute instance

Compute

  • 1-to-1 mapping for ASG and Instnace Pool
  • Scaling is done on the basis of
    • Metric based
      • Cpu utilization
      • Memory utilization
    • Schedule based: cron expression
      • Scale pool size
      • Change in instance state[start or stop]
  • In Event of Scale-In, instances are terminated first based on how many instances from the instance pool are in that availability domain and fault domain. Within a placement, the oldest instances are terminated first.

Instance types

  • BM [Bare metal / physical machine],
  • VM[Virtual Machine]
  • Template type
    • Fixed Shape [BM/VM] : Can not be resized
    • Flexible Shape [VM only] : Can be resized cpu and memory
  • Shape Types
    • Standard Shapes : Designed for general purpose workloads and suitable for a wide range of applications and use cases. Standard shapes provide a balance of cores, memory, and network resources. Standard shapes are available with Intel or AMD processors.
    • Dense I/O Shapes : Designed for large databases, big data workloads, and applications that require high-performance local storage. DenseIO shapes include locally-attached NVMe-based SSDs.
    • GPU Shapes : Designed for hardware-accelerated workloads. GPU shapes include Intel CPUs and NVIDIA graphics processors.
    • HPC Shapes : Designed for high-performance computing workloads that require high frequency processor cores and cluster networking for massively parallel HPC workloads.
    • Optimized shapes
  • Capacity Type
    • On-demand capacity
    • Preemptible capacity
    • Reserved capacity
    • Dedicated capacity
  • You can launch console connections that can be connected from your local machine or cloud itself.
  • Compute agent provides cpu/memory/io/read/write/network/load metric, which is genrally installed in available images
  • Default os can also show OS management and top process
  • Cloud-init script can be setup for executing at provison time
  • Stop and start does not change the IP [epeheraml ip], however, terminating instance will free that.
  • Custom Image from computing will  only include boot volume, region-specific. Maximum size is 300 GB. Instance will shut down for a few minutes while creating images.
  • Custom Images can be exported to OS and can be imported
  • You can move instances in different fault domains but SAME AD
  • Console connection
    • Not booting/need to reset ssh key for the OPC user [default user in oracle linux], edit system configuration
    • Serial console connection / vnc console connection
    • Need private/public key pair
    • Stop / start [can choose boot option and can edit boot file]/ reboot logs will display

Auto Scaling (ASG)

  • 1-to-1 mapping for ASG and Instnace Pool
  • Scaling is done on the basis of
    • Metric based
      • Cpu utilization
      • Memory utilization
    • Schedule based: cron expression
      • Scale pool size
      • Change in instance state[start or stop]
  • In Event of Scale-In, instances are terminated first based on how many instances from the instance pool are in that availability domain and fault domain. Within a placement, the oldest instances are terminated first.

Leave a Reply

Your email address will not be published. Required fields are marked *