Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Azure Extra Small Instance Harddisk Size

We have a Windows Azure Web Role on two extra-small instances that has been running for weeks without problems. This morning, we unintentionally passed some spending limit, which resulted in Windows Azure shutting down our complete service, without any prior warning!

We removed the spending cap and began to re-deploy the Web Role, with the same codebase that has been running for weeks. To our astonishment, we got the deployment error

Validation Errors: Total requested resources are too large for the specified VM size.

We upgraded the deployment to two small instances instead of the extra-small instances, whereupon deployment was working again. Now, the web role is back in the web.

However, we still don't understand why our deployment was suddenly too big for an extra-small instance. We didn't change one bit since the last successful deployment to extra-small instances. We then tried to remove the deployment size by moving some files to Azure Storage, but even after reducing the package file by more than 1 MB, deployment still failed.

The cspkg file, the deployment package, is currently at 9'359 KB. If unzipped, the complete sitesroot folder's size is 14 MB. Which is way below the 19'480 KB limit for the x-small instance.

Before we lose more time with trial-and-error, here's my question: How exactly are those 19'480 KB calculated? Is it just the sitesroot folder, or the zipped package, or is it the sitesroot and approot folder together, or the whole unzipped package?

Thank you!

EDIT:

enter image description here

like image 823
cheesus Avatar asked Nov 15 '12 09:11

cheesus


People also ask

What is OS disk size in Azure?

That OS disk has a pre-installed OS, which was selected when the VM was created. This disk contains the boot volume. This disk has a maximum capacity of 4,095 GiB.

Can we decrease disk size in Azure?

Change disk sizeOnce the VM is stopped, you can click on Disks in the left menu of the VM. Then click on the disk you want to change. In the disk blade, select size & performance. In this view, you can change the disk type: either Premium SSD, Standard SSD or Standard HDD.

What is the maximum size of OS disk in Azure?

Azure increases the maximum size and performance of Azure Disks. We are excited to announce an increase of maximum disk sizes for both Premium and Standard storage. This extends the maximum size of the disks from 1,024 GB to 4,095 GB and enables customers to add 4x more disk storage capacity per VM.

How do I tell how big my Azure VM disk is?

This is possible in Azure portal. In the VM resource page select the Logs blade and search "free disk". You'll get a default query which can be run to get the disk usage. You can pin this query to dashboard or send it to workbook to check the usage frequently.


1 Answers

Could you verify if your local resources exceed 20 GB:

enter image description here

like image 163
Sandrino Di Mattia Avatar answered Sep 22 '22 18:09

Sandrino Di Mattia