Skip to content
IaaS Region AtlasAustralian cloud regions Find a region
Compute & desktops

Oracle Cloud Infrastructure Compute: bare metal and virtual machine instances

Oracle Cloud Infrastructure calls compute hosts instances, offers them as bare metal or virtual machines, and treats a compute instance as availability domain-specific.

Sources checked IaaS Region Atlas

Oracle Cloud Infrastructure's Compute service provisions and manages compute hosts, which Oracle calls instances. The service offers them in two forms: bare metal and virtual machine. Oracle's Regions and Availability Domains page lists a compute instance among the resources that are availability domain-specific, so where you place an instance is part of the design, not an afterthought.

What an instance gives you

Oracle's Compute overview says you create instances as needed to meet your compute and application requirements. Once an instance exists, you can access it securely from your computer, restart it, attach and detach volumes, and terminate it when you are done with it.

Storage behaviour differs by location. Any changes made to the instance's local drives are lost when you terminate it. Any saved changes to volumes attached to the instance are retained.

Linux instances can use Oracle Ksplice to apply critical kernel patches without rebooting. The same page says Ksplice can maintain specific kernel versions for Oracle Linux, CentOS and Ubuntu.

Oracle's overview also states that Compute is Always Free eligible, and points to its Free Tier material for the capabilities and limitations that apply.

Bare metal or virtual machine

Bare metal Virtual machine
What the overview says it is a compute instance that gives you dedicated physical server access an independent computing environment that runs on top of physical bare metal hardware
Where it fits performance and isolation applications that do not require the performance and resources (CPU, memory, network bandwidth, storage) of an entire physical machine

Virtualization is what makes the second column work: it makes it possible to run multiple VMs that are isolated from each other. An Oracle Cloud Infrastructure VM compute instance runs on the same hardware as a bare metal instance, using the same cloud-optimized hardware, firmware, software stack and networking infrastructure.

Shapes set CPUs, memory and network resources

When you create an instance, Oracle's overview says you select the type that suits your application based on characteristics such as the number of CPUs, amount of memory and network resources. A shape is the template that determines the number of CPUs, memory and other resources allocated to a newly created instance.

Shape type What the overview says it is designed for Hardware detail
Standard general purpose workloads, suitable for a wide range of applications and use cases a balance of cores, memory and network resources; available with Intel, AMD and Arm-based processors
DenseIO large databases, big data workloads, and applications that require high-performance local storage locally-attached NVMe-based SSDs
GPU hardware-accelerated workloads Intel, AMD or Arm CPUs with NVIDIA or AMD graphics processors; some bare metal GPU shapes support cluster networking
HPC and optimized high-performance computing workloads that require high frequency processor cores bare metal HPC and optimized shapes support cluster networking

Flexible shapes take the same idea further. With a flexible shape you choose the number of OCPUs and the amount of memory for the workloads that run on the instance. The network bandwidth and number of VNICs scale proportionately with the number of OCPUs.

Three instance features extend the shape choice. Burstable instances are VM instances that provide a baseline level of CPU performance with the ability to burst to a higher level for occasional spikes in usage. Shielded instances harden the firmware security on bare metal hosts and VMs to defend against malicious boot level software. Extended memory VMs provide more memory and cores than are available with standard shapes.

Compute instances and availability domains

Oracle's Regions and Availability Domains page defines a region as a localized geographic area, and an availability domain as one or more data centers located within a region. The same page states that a region is composed of one or more availability domains. Oracle's Compute overview describes the availability domain as the data center within your geographical region that hosts cloud resources, including your instances.

Placement is a choice. The Compute overview says you can place instances in the same or different availability domains, depending on your performance and redundancy requirements. The linked constraint is in the same page's limits section: to attach a volume to an instance, both the instance and the volume must be within the same availability domain.

Isolation is the reason the choice matters. Oracle's Regions page says availability domains are isolated from each other, fault tolerant, and very unlikely to fail simultaneously. They do not share infrastructure such as power or cooling, or the internal availability domain network, so a failure at one availability domain within a region is unlikely to impact the availability of the others in the same region. The availability domains within the same region are connected by a low latency, high bandwidth network, which makes it possible to provide high-availability connectivity to the internet and on-premises and to build replicated systems across availability domains.

Region counts are not uniform. Oracle's Regions page says that, to launch regions quickly in new geographies, Oracle has chosen to launch regions in those places with one availability domain. Traffic between availability domains and between regions is encrypted, according to the same page.

Capacity types and how charges are structured

On-demand capacity is the default. Oracle's Compute overview says you pay for only the compute capacity you use, you pay by the second, and, depending on the shape, you pay only for the seconds that your instances are running. Capacity availability is not guaranteed when launching large workloads.

Three alternatives sit alongside it:

  • Preemptible capacity suits workloads that only need to run for brief periods, or that can be interrupted when capacity is reclaimed. Preemptible instances behave the same as regular compute instances, but the capacity is reclaimed when it is needed elsewhere and the instances are terminated.
  • Reserved capacity is capacity reserved for future usage so it is available when you launch instances against the reservation. When those instances are terminated, the capacity returns to the reservation and the unused capacity in the reservation increases. Unused reserved capacity is metered differently than used reserved capacity.
  • Dedicated capacity runs VM instances on dedicated servers that are a single tenant and not shared with other customers. Oracle's overview ties this to compliance and regulatory requirements for isolation, and to node-based or host-based licensing requirements that require licensing an entire server.

Service limits and compartment quotas apply to all types of host capacity. For reserved capacity, if your request will exceed your service limits, the overview says to request a service limit increase before you reserve the capacity. A service limit is not the same thing as host capacity: the limit is the quota or allowance set on a resource, while host capacity is the physical infrastructure that resources such as compute instances run on.

Instance charges are not the whole bill. Resources created and used by compute instances, such as boot volumes and network traffic, are billed separately from the compute instance.

What has to be in place before you launch

The Compute overview lists these components for launching an instance:

  • Availability domain — the data center within your geographical region that hosts cloud resources, including your instances.
  • Virtual cloud network — a virtual version of a traditional network, including subnets, route tables and gateways, on which your instance runs. At least one cloud network has to be set up before you launch instances.
  • Key pair, for Linux instances — the security mechanism required for Secure Shell access. Before you launch an instance, you need at least one key pair.
  • Password, for Windows instances — the security mechanism required to access an instance that uses a Windows platform image. The first time you launch an instance using a Windows image, Oracle Cloud Infrastructure generates an initial, one-time password you can retrieve using the console or API, and that password must be changed after you initially log on.
  • Image — a template of a virtual hard drive that determines the operating system and other software. The overview lists Oracle Cloud Infrastructure platform images, trusted third-party images published by Oracle partners from the Partner Image catalog, pre-built Oracle enterprise images and solutions, custom images including bring your own image scenarios, community images, and boot volumes as sources.
  • Shape — the template that determines the number of CPUs, memory and other resources allocated to the new instance.
  • Tags — applied when you create a resource, and updated later to add, revise or remove them.

Volumes are optional at launch and can be attached to an instance afterwards.

Access, permissions and operations

Oracle's Compute overview names three ways to reach Oracle Cloud Infrastructure: the Console, a browser-based interface; the REST API; and the OCI CLI. The Console requires a supported browser, and sign-in asks for your cloud tenant, your user name and your password.

Each service integrates with IAM for authentication and authorization across all interfaces: the Console, SDK or CLI, and REST API. An administrator sets up groups, compartments and policies that control which users can access which services, which resources, and the type of access. The page notes that a regular user who needs to use resources the company owns should contact an administrator to set up a user ID, and the administrator can confirm which compartments the user can use.

The security guidance on the same page is short and specific: encrypt boot volumes with a custom key and rotate keys; apply the latest security patches to instances; use Oracle Cloud Guard to detect and respond to security problems; perform a security audit.

Operationally, compute resources emit events that you can use to build automation: autoscaling configurations and autoscaling policies, cluster networks, console histories, images, instances and instance attachments, instance configurations, console connections, and instance pools. Most Oracle Cloud Infrastructure resources also carry an Oracle Cloud ID, the Oracle-assigned identifier for the resource. Compute is integrated with the Work Requests API.

Storage can be added through Block Volume, File Storage, Object Storage and Archive Storage. Disaster recovery for compute instances runs through OCI Full Stack Disaster Recovery. The overview describes two routes: QuickDR, configured from the instance details page of any compute instance, and the Full Service, used for entire application stacks that include virtual machines, storage, databases, load balancers and other OCI services. Full Stack DR can orchestrate recovery for virtual machines alone, but it is intended to handle recovery for entire application stacks.

Frequently asked questions

Is an OCI compute instance a virtual machine or a bare metal server?

It can be either. Oracle's Compute overview says Oracle Cloud Infrastructure offers both bare metal and virtual machine instances: bare metal gives you dedicated physical server access, while a virtual machine is an independent computing environment that runs on top of physical bare metal hardware.

What happens to data on the instance's local drives when I terminate it?

Changes made to the instance's local drives are lost when you terminate it, according to Oracle's Compute overview. Saved changes to volumes attached to the instance are retained.

Which setting decides how many CPUs and how much memory an instance gets?

The shape. Oracle's overview describes a shape as the template that determines the number of CPUs, amount of memory and other resources allocated to a newly created instance. With a flexible shape, you select the number of OCPUs and the amount of memory you need.

Does an attached volume have to be in the same availability domain as the instance?

Yes. In the limits section of Oracle's Compute overview, attaching a volume to an instance requires both the instance and the volume to be within the same availability domain.

Sources

Checked 30 November 2026

Find an Australian regionAll AU regions