I dont know if this is the right place, but I am assuming MSFT staff also answers these questions since the azure portal links to StackOverflow?
Questions:
I understand that Azure no longer bills me for a VM so long as it and its cloud service are stopped. But what is unclear is am I going to be billed for the Cloud Service itself? For example say i create a Virtual machine and by doing so i get a cloud service for it (with ip). Then I turn off that virtual Machine and the cloud service. Do i still get billed for the cloud service even though everything is turned off?
Continuing on the question above. Do i get billed storage fees for the Virtual Machines filesystem. Currently windows vms are around 120GB in size. How does the billing work out for virtual machines? And how does it change if the machine is turned off.
How are Custom Images billed? Say i create my Windows 2012 Master image with IIS and a few other components installed. Then I create my own Image so that I can bring up vms more rapidly. Where is the VM image stored? Will it be in my blob container under VHD's? And again will microsoft charge me to store this image? Will it be the full 120+ GB or the actual size of the image stored.
Sorry to ask these questions. Tried my best to google around and all i could find was a post by Scott Gu where he stated VMs wont be billed and very little detail beyond that.
I understand that Azure no longer bills me for a VM so long as it and
its cloud service are stopped. But what is unclear is am I going to be
billed for the Cloud Service itself? For example say i create a
Virtual machine and by doing so i get a cloud service for it (with
ip). Then I turn off that virtual Machine and the cloud service. Do i
still get billed for the cloud service even though everything is
turned off?
Essentially think of a cloud service as a shell under which you deploy a VM. Among other things, a cloud service provides you with a DNS (yourcloudservice.cloudapp.net for example). What you get charged for is the VM and not the cloud service so if you have nothing deployed in a cloud service, you don't get charged anything.
Continuing on the question above. Do i get billed storage fees for the
Virtual Machines filesystem. Currently windows vms are around 120GB in
size. How does the billing work out for virtual machines? And how does
it change if the machine is turned off.
Yes, I believe so. You would be charged for 120 GB of storage (based on this blog post: http://blogs.msdn.com/b/sql_shep/archive/2013/06/10/azure-billing-per-minute-and-no-compute-charge-for-a-stopped-iaas-vm.aspx) [See my note on pricing below].
How are Custom Images billed? Say i create my Windows 2012 Master
image with IIS and a few other components installed. Then I create my
own Image so that I can bring up vms more rapidly. Where is the VM
image stored? Will it be in my blob container under VHD's? And again
will microsoft charge me to store this image? Will it be the full 120+
GB or the actual size of the image stored.
Custom images are billed in a similar way as standard images as in both cases the VHD file is stored in your blob storage account so Microsoft will charge you for storage. Since VHDs are essentially saved as page blobs and page blobs are only charged based on the bytes occupied you will only be charged for the space you consumed.
UPDATE
VHD Pricing: Essentially VHDs are stored in blob storage as page blobs and the pricing of page blobs is calculated a little bit differently. For page blobs, you're only charged for the bytes you used instead of total blob size. So for example, you have a VHD of 120 GB size (i.e. your page blob size is 120 GB) but you're only occupying 30 GB there, you're only charged for 30 GB and not 120 GB.
As #Gaurav stated, you're not charged for the service container, only for running vm's. In the case of stopped VM's, you won't be charged, although you lose your assigned IP address if you have no other running vm's. You can choose to keep a vm provisioned to preserve IP address but then you'll continue paying for the VM. When a VM is stopped, you'll still pay for its storage (since these are persistent virtual machines).
Regarding storage costs: While the vhd might be a 120GB disk, you only pay for storage that's been actually used. That is, the page blob uses sparse allocation. If you format a 120GB volume but only use 30gb, you're billed for 30gb monthly, not 120gb. You pay for all vhd's, including your custom images, since each is stored in your storage account. Again, you don't pay for 120gb on your custom images; just for the allocated pages.
I don't think you get charged for the OS disk. If you have a data disk then you will be charged for the space used.
Related
I would like to create containers for each virtual machine, then deploy them.
As I known deploy is not free.
Is it free to create container in Azure?
For Azure Storage, you only pay for consumption, measured in GB/month (e.g. less than a nickel/month per GB). Containers are essentially free, since they take up virtually zero data.
The pricing of Azure storage is based on consumption or how much you use. More information of the pricing can be found on the Azure website.
Pricing also varies by region and by type of storage you provision.
I see there are some limitations on Azure:
1. On number of disks to be attached to VM;
2. The size of each disk/storage blob is limited by 1TB;
Is there any hack or workaround to attach larger disks/several disks to the same VM without increasing the processing power of VM as my application doesn't need high computing capacities, but needs plenty of space.
May be it's possible by contacting their billing department?
Currently I'm using A1 Standard VM instance with 2 disks (2 TB it total) attached to it already. The goal is to attach 5 TB total disk space to the same VM without upgrading the VM size to a larger instance.
You will need to change your VM size to attach more disks. One option is to look at Basic tier instead of using Standard tier A Series VMs to optimize your cost. Since you do not need a lot of computing power, basic tier VMs may work fine for you. You will want to look at Basic A3 which will allow you to attach 8 maximum data disks of 1 TB each. See more information here (https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-size-specs/)
Thanks,
Aung
I found a solution to attach 5TB folders as Azure File Sharing service.
It's possible via creating File Sharing containers through Azure Portal, then mounting the folder under Linux via CIFS (SMB3.0).
For those who are interested, there is an issue with mounting Windows File Sharing folders within CentOS 6.X under Azure. It works only with CentOS 7.X (keep it in mind).
You can use Storage Spaces in Azure to increment capacity and performance. The limit of the VHD is 1 TB per disk, using Storage Spaces you can pass this limitation. You need to have in mind that there is a limitation of disk to attach to the VM based on type you choose.
Sample explanation on:
https://blogs.msdn.microsoft.com/dfurman/2014/04/27/using-storage-spaces-on-an-azure-vm-cluster-for-sql-server-storage/
I'm using Azure Virtual Machines, specifically Linux. I went to add a blank disk ("attach...blank disk" in the portal) and discovered that Azure only allows a maximum size of 1023GB for disks. The portal won't allow you to specify a size beyond 1023GB.
What I'm looking for is a 4TB filesystem. The disks present themselves as /dev/xd?. I'm wondering if I could take four 1TB disks and stripe them (RAID 0) in the OS? If they're SAN disks then I'm not concerned about the redundancy since presumably they're already protected. I admit it sounds kind of hokey.
Is there another option to get bigger disks in Azure?
To be clear, I want persistent storage, not the ephemeral /mnt/storage.
You are correct. You need 4 disks in Raid0 to get 4TB of data. You can follow the guide below; just make sure to change parameters accordingly because the guide uses 3 disks only.
Configure Software RAID on Linux
https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-configure-raid/
Regarding redundancy, no matter what kind of storage you configured in Azure, the worst you can get is 3 mirrors for each disk so just go for full performance.
Azure Storage Replication
https://azure.microsoft.com/en-us/documentation/articles/storage-redundancy/
For Windows you may use Storage Spaces
http://blogs.msdn.com/b/dfurman/archive/2014/04/27/using-storage-spaces-on-an-azure-vm-cluster-for-sql-server-storage.aspx
https://technet.microsoft.com/en-us/library/hh831739.aspx
I don't know how I had two virtual machines in Windows Azure, one application server that was stopped and one running database server, and all of a sudden, the machines no longer exist.
I have these questions:
is there a way to restore the machines?
if not is there a way to delete the storage?
Go to Virtual Machines.
Click on Disks.
Click on any remaining disks.
Click on Delete Disk - there is an option to "retain", so make sure you choose delete.
Once all the disks are deleted, then delete the storage container.
You can delete the storage with the help of steps specified in the below post
Follow this post steps
You may have hit a billing limit for a subscription with a limit. This typically happens with MSDN and Trial accounts. Once the limit is hit, Microsoft deletes any VMs running in the subscription. For IaaS VMs the actual disks still exist in storage and the VMs can be rehydrated from there once the account has some money in it or the monthly limit is reset by a new month starting. For PaaS instances, the package and configuration file is presumably still deployed to Windows Azure so, again, the service can be rehydrated when the account is flush with money.
I have been doing some test and realized that when I stop a VM, I get a red warning saying that it still generates charges.
But on which basis ?
Furthermore, on some VM I created, the system without any reason starts fooling and reach a 98% CPU during several hours with no way to stop it or to connect with RDP. VM was totally dead and it's only after several hours that the stop command from the control panel succeeded.
Hope I will not been charged for this ? Who is able to decide if my VM is OK or fooling like a crazy horse ?
Moreover, is there any software allowing to transfer my VMs from Azure to my local system, and delete them on Azure to stop any charge ? for a simple backup with possibility to restore/restart them later ? Or to run them in my own hyper-V ?
Best regards
CS
Even if your VM is stopped, you still have resources that have been reserved for your VM (think of storage space, memory, CPU, ...) and these can't be 'sold' to anyone else. Deleting the VM will free these resoures and you'll no longer be charged.
Remember that Virtual Machines are still in preview, meaning things can go bad sometimes. And yes you'll be charged for this, but during the preview you get a 33% discount (more info here: https://www.windowsazure.com/en-us/pricing/details/).
The persistent disks of your VMs are stored in a storage account as page blobs. Using tools like Azure Storage Explorer, CloudXplorer, CloudBerry, ... you can download these VHD files and simply mount them in Hyper-V (You'll need to remember that you'll need a license if you want to run the machine on-premises).
Note that, if you simply delete the VM the disks won't be deleted (they will stay in your storage account). In that case you only pay for storage (which is very cheap).
The price of VM depends on their size and nature (prenium or not).
Also you have to pay for the storage, but a 120GB disks is not billed fully, only effectively used space is.
You can use IaaS Managament Studio to easily calculate how much your blob disk cost, and see links to pricing pages of azure.