Browse Courses

Types of Virtual Machines

Comprehensive guide to different types of virtual machines in cloud computing including shared VMs transient VMs and reserved instances with their use cases and benefits

Cloud providers offer various types of virtual machines to meet different workload requirements, including shared VMs for cost efficiency, dedicated VMs for performance, reserved instances for predictable workloads, and transient VMs for fault-tolerant applications, each with unique pricing models and use cases.

This documents explains the different types of virtual machines available in the cloud. Machines, also known as Virtual Servers or Virtual Instances, are available in various configurations and deployment options to serve different use cases. When creating a virtual server in the cloud, you specify the Region and Zone or Data Center for provisioning and the desired Operating System. You can choose between shared (multi-tenant) VMs or dedicated (single-tenant) VMs, and select billing options (hourly or monthly), storage, and networking options.

Virtual Machines (VMs)

Virtual Machines, also known as Virtual Servers or Virtual Instances, are available in various configurations and deployment options to serve different use cases. When creating a virtual server in the cloud, you specify the Region and Zone or Data Center for provisioning and the desired Operating System. You can choose between shared (multi-tenant) VMs or dedicated (single-tenant) VMs, and select billing options (hourly or monthly), storage, and networking options.

Types of VMs

Shared or Public Cloud VMs

Shared or Public Cloud VMs are provider-managed, multi-tenant deployments that can be provisioned on-demand with predefined sizes. The underlying physical server is virtualized and shared across multiple tenants or users. Cloud providers offer configurations for different workloads, such as Compute Intensive, Memory Intensive, or High Performance I/O. Some providers also offer custom configurations. Public VMs are usually priced by the hour, with some providers offering monthly VMs for cost savings.

Transient or Spot VMs

Transient or Spot VMs take advantage of unused capacity in a cloud data center, available at a lower cost than regular VMs. However, the cloud provider can de-provision these VMs at any time. These VMs are ideal for non-production workloads, such as testing and developing applications, running stateless workloads, testing scalability, or running big data and high performance computing (HPC) workloads at a low cost.

Reserved Virtual Server Instances

Reserved virtual server instances allow you to reserve capacity and guarantee resources for future deployments. You can reserve the desired amount of virtual server capacity, provision instances when needed, and choose a term (e.g., 1 year or 3 years). This guarantees capacity within the data center for the contract term and can lower costs compared to hourly or monthly instances. Reserved capacity is useful when you need a certain level of cloud capacity for a specific duration. Note that not all predefined VM families or configurations may be available as reserved.

Dedicated Hosts

Dedicated hosts offer single-tenant isolation, meaning only your VMs run on a given host, making exclusive use of the underlying hardware’s full capacity and resources. When provisioning a dedicated host, you specify the data center and POD for placement and assign instances to a specific host. This allows for maximum control over workload placement and is typically used for meeting compliance and regulatory requirements or specific licensing terms.

Comparison of VM Types

VM TypeDescriptionUse CasesBillingIsolationControl
Shared VMsMulti-tenant, on-demand, predefined sizesGeneral-purpose computingHourly or MonthlySharedProvider-managed
Transient VMsLow-cost, de-provisioned at any timeNon-production workloads, testing, HPCHourlySharedProvider-managed
Reserved InstancesReserved capacity, guaranteed resourcesLong-term deployments, cost savingsMonthly or TermSharedUser-managed
Dedicated HostsSingle-tenant isolation, full hardware capacityCompliance, licensing, controlMonthlySharedUser-managed

Conclusion

Understanding the different types of virtual machines available in the cloud is essential for selecting the right deployment option for your workloads. Whether you need shared VMs for general-purpose computing, transient VMs for cost-effective workloads, reserved instances for guaranteed capacity, or dedicated hosts for compliance and control, cloud providers offer a range of options to meet your requirements. By choosing the right VM type, you can optimize performance, cost, and resource utilization for your cloud-based applications and services.


FAQ

Shared or Public Cloud VMs are provider-managed, multi-tenant deployments that can be provisioned on-demand with predefined sizes. The underlying physical server is virtualized and shared across multiple tenants or users.

A business might choose transient or spot VMs because they take advantage of unused capacity in a cloud data center, available at a lower cost than regular VMs. These VMs are ideal for non-production workloads, such as testing and developing applications.

Dedicated Hosts offer single-tenant isolation, meaning only your VMs run on a given host, making exclusive use of the underlying hardware’s full capacity and resources.

Yes, reserved virtual server instances can lower costs compared to hourly or monthly instances by allowing you to reserve capacity and guarantee resources for future deployments.

Dedicated hosts can be beneficial for meeting compliance and regulatory requirements or specific licensing terms, as they offer maximum control over workload placement.

If a cloud provider de-provisions a transient VM, the workload running on that VM will be interrupted. These VMs are ideal for non-critical workloads that can tolerate such interruptions.

When provisioning a virtual server in the cloud, you specify the Region and Zone or Data Center for provisioning and the desired Operating System. You can choose between shared (multi-tenant) VMs or dedicated (single-tenant) VMs, and select billing options, storage, and networking options.

A business should consider using reserved virtual server instances when they need a certain level of cloud capacity for a specific duration, such as 1 year or 3 years, to guarantee capacity and lower costs.

Shared or Public Cloud VMs are typically used for general-purpose computing workloads, such as web hosting, application development, and testing environments.

Yes, understanding the different types of virtual machines available in the cloud is essential for selecting the right deployment option for your workloads, optimizing performance, cost, and resource utilization.