question

MichaelShparber-6569 avatar image
0 Votes"
MichaelShparber-6569 asked ·

Migrating to Managed Disks and pricing question - Azure VM

Hello,

I've been using VM with 128 GB unmanaged disk. I pay $0.72 a day.
I am using this VM maybe 5 hours a month only.
Is there a way to pay for disk per used hour only, same way as I pay for VM?

Also, how can I migrate to managed disks, but smaller size, say 64GB. I don't need that much space...

Thank you
Michael

azure-virtual-machinesazure-managed-disks
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MichaelShparber-6569 avatar image
2 Votes"
MichaelShparber-6569 answered ·

I'll mark my solution as an Answer to this:

I have just migrated to managed disk.
And I also shrank the size from 128 to 32 (P4) after the migration by using this wonderful post:
https://jrudlin.github.io/2019-08-27-shrink-azure-vm-osdisk/

I hope it'll save me several bucks!

I still don't see how I can pay per hour.... In the link you posted - it says for P4 32GB disk the MONTHLY cost is $5.81 (which is still not bad)

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

prmanhas-MSFT avatar image
1 Vote"
prmanhas-MSFT answered ·

@MichaelShparber-6569 Thank you for your query!!!

Unmanaged disk has a fixed price per disk size (Per month), whatever the disk usage is.

Option to pay hourly for the disk is available for managed disks in Azure VM. Azure Managed Disks are t recommended disk storage offering for use with Azure virtual machines for persistent storage of data. You can use multiple Managed Disks with each virtual machine. We offer four types of Managed Disks — Ultra Disk, Premium SSD Managed Disks, Standard SSD Managed Disks, Standard HDD Managed Disks. For Azure Managed Disks, you will be billed on an hourly basis.

You can read more about it here.

You can convert your unmanaged disk to managed one using this doc or this based on type of VM which has step by step guide to do same.

You won't be able to reduce disk size since it since new size should be greater than the existing disk size as mentioned here as well.

Hope it helps!!!

Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics



· 4 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you @prmanhas-MSFT !

I have just migrated to managed disk.
And I also shrank the size from 128 to 32 (P4) after the migration by using this wonderful post:
https://jrudlin.github.io/2019-08-27-shrink-azure-vm-osdisk/

I hope it'll save me several bucks!

I still don't see how I can pay per hour.... In the link you posted - it says for P4 32GB disk the MONTHLY cost is $5.81 (which is still not bad)

1 Vote 1 ·

@MichaelShparber-6569 Thank you for sharing out the link and I am glad that you were able to resize the disk. I shared the information based on what I found on various Microsoft article that currently the scenario is not supported but I will indeed take it as feedback to our internal team if it can be in pipeline for future :)

Article mentions about Ultra Disk which are charged on hourly basis and as such for other disk you can indeed provide it as feedback on below forum where our Product Group is quite active:

https://feedback.azure.com/forums/34192--general-feedback

This disk FAQ is beneficial as well for your queries :)

Hope it helps!!!

If the suggested response helped you resolve your issue, do click on "Mark as Answer" and "Up-Vote" for the answer that helped you for benefit of the community.



0 Votes 0 ·

Thank you, @prmanhas-MSFT ,
I've checked Ultra Disks.
It says here (https://docs.microsoft.com/en-us/azure/virtual-machines/disks-types)
That "Ultra disks can only be used as data disks. We recommend using premium SSDs as OS disks."
So I cannot use it for my main C:/ Windows drive.
So I guess, I'll stick with $5.81 per month for a Premium SSD P4 32GB
Thanks
Michael

0 Votes 0 ·

@MichaelShparber-6569 Sure since it will best fit your requirement :)

Do let me know in case you need any further help :)




1 Vote 1 ·