DEV Community

thebernardlim
thebernardlim

Posted on

2

How to identify an Azure Spot Virtual Machine?

Azure Spot Virtual Machines are one of the best ways to save costs on non-critical applications.

Here is how we identify which VMs we have are Spot and which ones are normal ones.

Virtual Machines Table

In the Virtual Machines page, click on Manage View -> *Edit Columns. *

Select the following columns:

  • Azure Spot eviction policy
  • Azure Spot eviction type
  • Azure Spot max price

Image description

Image description

Within a Virtual Machine

Under Settings, click on Properties.
If there are values under Azure Spot eviction policy and/or Azure Spot eviction type, this indicates this is a Spot machine.

Image description

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (2)

Collapse
 
leonardpuettmann profile image
Leonard Püttmann •

Didn't know that spot VMs existed until know! Do you know how high the risk is that spot-VMs will get shut down?

Collapse
 
thebernardlim profile image
thebernardlim •

Hey, Azure provides an eviction rate % for each VM size + Region. So far from my experience, somehow we have not been evicted even once for over 6 months. I can say it is pretty reliable. Regardless, it is still a spot machine hence always ensure your apps can tolerate such sudden interruptions.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more