Use the Linux Virtual Machines Pricing page to ascertain pricing.
An Azure virtual machine can be shutdown when not in use. There is no compute cost when the machine is shut down, though disk storage still costs. Automatic rules can shut the machine down at 7pm every evening, for example.
With some daily use and the machine shut down for roughly 50% every day it is about $2 per day for a D2s v3. Cheaper VMs are available for as little as 20c per day ($6 per month) but they have limited resources. These figures are approximate and you can check on the Azure pricing pages.
The default system disk is a 30GiB Premium SSD and will cost about 20c per day irrespective of whether the VM is running. An additional 1TB of premium SSD is about $6 per day or according to Azure Pricing is about $186 per month. This is storage allocated and paid for whether it is in use or not—it’s a fixed overhead.
When creating an Azure Ubuntu VM note that a new disk can always be created later and attached to the VM so it need not be chosen at VM creation time.
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0