Note: if you are familiar with the Azure pricing model, just go to the Question section.
Microsoft will begin charging for the use of the Azure platform starting February 1, 2010 . The monthly bill will be a function of bandwidth, storage and others. Among the factors used to calculate the account is the calculation time. However, this last factor has a misleading name: instead, the placement time of the instance instance should be called. Quoting the azure pricing page for windows:
When developing and testing your application, developers will want to remove instances of the calculations that are not used to minimize the bit count of the calculations.
Thus, making you think that it does not calculate hours, but hours of uptime, for which you will pay. Doubt disappears completely after reading the official answer to this question on the MSDN forums:
I can confirm that every instance (of any role) is counted, and all the hours for which you have an instance counter (no matter how much “activity” they have). For an application that has two instances of a web role and two instances of a worker role, you will be billed for four instances
In the case of $ 0.12 / hour per instance, an application using N copies will be billed on average 24 * 30 * 0.12 * N / month = ~ $ 86 / month per instance. Things get worse for smaller websites when you take into account the fact that you cannot have less than two copies if you want a 99.9% uptime service level agreement .
So, a small, inexpensive website with computing power is probably not the target market for Azure. But for batch processes, the burden is likely to disappear.
Question
Speaking only of computing power billing and “clock computing”, Azure will be a good hosting option for a batch process that runs only a few hours a month, if and only if you can scale (and down!) The number of copies easily. So:
- Can I programmatically increase and increase the number of instances in Azure? Are there any other parameters besides manually changing the configuration file?
- Are there any unobvious problems with reducing the number of instances?
- How long does Azure take to “confirm” your application’s downsizing?
Regarding the last question: take the extreme case when you have a lot of instances (say, 1000) working for 45 minutes. If Azure cannot take steps to downscale within 15 minutes after the process is complete, you will be charged for another 1,000 hour hours.
cloud batch-file azure multiple-instances
Pablo marambio
source share