Azure Virtual machine states & lifecycle
-
Power states:
- Starting: Not billed
- Running: Billed
- Stopping: Billed
- Stopped: Billed
- Deallocating: Not billed
- Deallocated: Not billed
-
The above mentioned billing includes only vm instance charges, your Disks & Network (if any) costs will still continue
-
Provisioning States:
- Create: VM Creation
- Update: updates the model for existing VM
- Delete: VM Deletion
- Deallocate:
Azure VM Purchasing Options
-
Normal (On-demand/Pay as you go):
- No long term commitment
- VMs are charged for hourly usage (minimum unit is 1 hour)
-
Reserved Instances
- Here we get into commitment with Azure for using a VM for a long term. Azure will offer us reservation discounts
- What can i change in my reservation after purchase?
- Update reservation scope
- Ownership
- Instance size flexibility
- What i cannot change
- An existing reservations region
- SKU
- Quantity
- Duration
- At any time you can cancel, exchange or refund reservations with certain limitations.
- How can i purchase Reserved VM Instance:
- Here we get into commitment with Azure for using a VM for a long term. Azure will offer us reservation discounts
-
SpotVMs:
- Using SPOT vms allows you to take advantage of unused capacity in Azure at very less prices.
- At any point in time when Azure needs the capacity back, the Azure infra will evict SPOT vms
- SPOT Vms don’t have any SLA
- Azure SPOT VMs cannot be used for B-series and Promo versions
-
Note: Use azure pricing calculator from here
