Hello, @Laukik Pachanekar !
Echoing what has been said, I wanted to provide some links so you can better understand Spot Virtual Machines in Azure. They are a great way to save money as long as your workloads can be interrupted but for tasks that can't be interrupted (like production environments), you'd want to look into something like reserved instances for VM savings:
Microsoft Docs: Use Azure Spot Virtual Machines
Using Azure Spot Virtual Machines allows you to take advantage of our unused capacity at a significant cost savings. At any point in time when Azure needs the capacity back, the Azure infrastructure will evict Azure Spot Virtual Machines. Therefore, Azure Spot Virtual Machines are great for workloads that can handle interruptions like batch processing jobs, dev/test environments, large compute workloads, and more.
Product Page: Azure Spot Virtual Machines
Run recommended workloads
On spot VMs, run only applications that can handle interruptions and don't need to be completed within a specific timeframe.
Spot VMs are ideal for the following types of workloads:
- Dev/test environments, including continuous integration and continuous delivery (CI/CD) workloads.
- Select high-performance computing scenarios, batch processing jobs, or visual rendering applications.
- Big data, analytics, container-based, and large-scale stateless applications.
I hope this helps!