All Content
Timespan
explore our new search
Azure - Virtual machine (VM) costs optimisation
Compute
Mar 28, 2023 7:00 AM

Azure - Virtual machine (VM) costs optimisation

by HubSite 365 about John Savill's [MVP]

Principal Cloud Solutions Architect

Azure DataCenterComputeM365 Hot News

In this video we look at the ability to have a percentage mix of spot and non-spot as part of the VMSS Flexible profile.

In this video we look at the ability to have a percentage mix of spot and non-spot as part of the VMSS Flexible profile. Looking for content on a particular topic? Search the channel. If I have something it will be there!

A VMSS Flex Spot Mix is a feature of Microsoft Azure that allows you to optimize your virtual machine (VM) costs by using a combination of Azure Spot VMs and pay-as-you-go VMs in a single virtual machine scale set (VMSS).

Azure Spot VMs are spare Azure capacity that are available at a significantly discounted price compared to regular pay-as-you-go VMs. These Spot VMs are ideal for non-critical workloads that can tolerate interruptions and be quickly restarted elsewhere.

With a VMSS Flex Spot Mix, you can specify the percentage of Spot VMs and pay-as-you-go VMs you want to use in your VMSS. This allows you to balance cost savings with workload resiliency and performance. For example, you could choose to use 50% Spot VMs and 50% pay-as-you-go VMs to achieve a 50% cost savings on VMs while still ensuring that at least 50% of your VMs are always available.

Overall, VMSS Flex Spot Mix is a great way to save costs on VMs without sacrificing workload resiliency and performance.

In this Video

  • 0:00 - Introduction
  • 0:10 - Spot refresher
  • 2:35 - VMSS Flex refresher
  • 4:06 - Spot mix overview
  • 5:43 - Spot mix parameters
  • 9:30 - Spot eviction parameter
  • 11:42 - Example scenario
  • 14:48 - When balancing occurs
  • 16:24 - Deallocate eviction policy
  • 23:23 - Don't use it yet!
  • 24:48 - Delete eviction policy
  • 29:11 - Failure to allocate on create
  • 35:05 - Summary

Mar 8, 2023 — Learn how to run a mix of Spot VMs and uninterruptible standard VMs for Virtual Machine Scale Sets to achieve high availability and cost ...

10 key moments in this video

Mar 13, 2023 — Azure Virtual Machine Scale Sets (VMSS) are a way to create and manage a group of identical VMs that can automatically scale up or down ...

Jul 12, 2021 — Services that require High Availability and large scale; Services that want to mix virtual machine types, or leverage Spot and on-demand VMs ...