Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am playing with Windows Azure to create an small VM to host a service that almost doesn't take any space.

Windows Azure creates a default 130gb disk, with about 100gb free. That's way too much. I do not need that much space.

I understand that MSFT will charge the storage (ie: the 130gb), so I would like to create the VM smaller (probably 30 or 40gb).

  1. Is it true that MSFT will charge me for the unused space?
  2. Is there a way to create the machine the size I want?
  3. If there is no way to create the machine in the size I want, how to resize? (the option to download the .vhd to my computer and resize here looks way too much effort to say the less).

Thanks.

share|improve this question
up vote 2 down vote accepted

In azure only space really used is billed. For Linux VM, sadly, the whole space is billed. You can verify how much a drive costs you with some tools like IaaS Management Studio (works in the free version).

share|improve this answer

In my practise is frist run VM shrink disk with data - i use this script: Get-Volume c | resize-partition -size (40GB -1MB)

And next you can use CloudExplorer

Solutions: http://mijndertstuij.nl/resize-the-root-volume-of-an-azure-vm/

  1. For shrink disk you must firs click Acquire lease
  2. Click shrink diks and click button down with GB (if you write in input window this can't work) > click ok
  3. Click Break lease
share|improve this answer

I also asked in Stackoverflow with seems to be the place that MSFT monitors for Azure.

I got an answer, see: http://stackoverflow.com/questions/16192531/windows-azure-hdd-size/16192797?noredirect=1#16192797

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.