When using Azure, you may have credits or be using a credit card, either way you're going to want to manage your costs! There are two main factors impacting cost: 1. The size of the VM, i.e. number of CPUs/cores and amount of RAM 2. How long the VM is turned on for Note that there is no requirement to use Azure, it is possible to [use local machine for development](./1b.-Getting-started:-Local-Environment). When provisioning your Azure environment via the deployment button provided, you are given a choice of what size VM to use: | Option | VM Type | vCPUs | RAM | GPU | $/hr | $/mon | |----------|--------------------|-------|-----|-----|----------|--------| | CPU-8GB | Standard_D2s_v5 | 2 | 8 | No | 0.1702 | 124.23 | | CPU-16GB | Standard_D4s_v5 | 4 | 16 | No | 0.3404 | 248.46 | | CPU-32GB | Standard_D8_v5 | 8 | 32 | No | 0.6808 | 496.93 | | GPU-56GB | Standard_NC6_Promo | 6 | 56 | Yes | 0.937759 | 993.83 | _Prices are in AUD. Listing is subject to change. For more information on prices visit the [Azure Calculator](https://azure.microsoft.com/en-au/pricing/calculator/)._ If you only have $100 of credit, you'll want to use your VM time responsibly, which means: --- :warning: **Shut down the VM to save credits when not in use!** :warning: --- If you exhaust your credits you will receive the following message via email. [[/images/26.png]] ## Shut Down Your VM You should shut down your VM when you're not using it to save credits. You will still pay a small amount for the disk space, however the bulk of the cost associated with running the VM will be saved. To shut down your VM: 1. Log in to your [Azure Portal](https://portal.azure.com) 2. Navigate to your VM 3. Click the **Stop** button at the top on the **Overview** page. ![image](https://user-images.githubusercontent.com/51142868/154228726-34787fd4-3272-4a55-8c24-6d34bc9c8386.png) ## Auto shutdown We strongly recommend you [implement auto shutdown](./2c.-Scheduling-auto-shutdown:-Azure) as soon as you have finished your deployment. This allows you to set a time that the VM will switch off each day in case you forget to do so after you've finished work. Just remember to disable it temporarily if you're running a big piece of analysis overnight. ## Delete Your Deployment Once the challenge is over and you have submitted your entry, you may want to [delete your deployment](./3c.-Deleting-your-data-science-environment:-Azure). Especially if you are using a credit card and have opted for pay-as-you-go (you will still be charged for the disk space even if the VM is switched off).