Is there any limit on the number of instances for a subscription AND any limit on the number of cores for the subscription and it calculation - Any link on it.
-
sexta-feira, 26 de agosto de 2011 11:05
Hi,
Wanted to know how through my code can i check if my subscription has reached the maximum cores limit reached, so that i can stop my instance increase.
(or) I could change my instance type to low so that i can add more instances.
Is there any site which says the core limits and how the cores count are related to instances count.(Latest version)
Thanks,
Karthick
Todas as Respostas
-
sexta-feira, 26 de agosto de 2011 19:32Usuário que responde
There is a soft limit of 20 cores per subscription - with the limit in place to protect both you and Microsoft in the event of an attempt to launch a large number of instances. You can apply for a quota increase here. A small instance consumes one core and the larger sizes double the core count up to eight cores for extra--large.
The Windows Azure Service Mangement REST API can be used to retrieve various properties of a hosted service - but I believe instance size (and, by implication, core count) is not exposed.
- Marcado como Resposta Wenchao ZengModerator sexta-feira, 2 de setembro de 2011 07:56
-
sábado, 27 de agosto de 2011 05:58
Adding to what Neil has mentioned, one way to programmatically do it would be making use of Service Management REST API and invoking change deployment configuration (http://msdn.microsoft.com/en-us/library/ee460809.aspx). This is where you would change the configuration file contents and specify the new instance count. When you exceed the quota, this operation will throw an error and you could catch that error to see if you have indeed exceeded the quota. However this is not a foolproof mechanism as this operation could also throw error if there is something else wrong with changing configuration file contents (may be invalid data or something else), so you will have to parse the error message to be sure that the error is thrown because you are exceeding the quota.
Hope this helps.
Thanks
Gaurav Mantri
Cerebrata Software
-
sexta-feira, 2 de setembro de 2011 09:39
Thanks for your replies.
What i would like to know in particular is:
Is there any formula like: Number of cores for this subscription = Instance type * Instance count * Hosted service count....etc...
Please help me on this, if there is any such calculations that cud be done on Cores.
Regards,
Karthick
-
terça-feira, 10 de abril de 2012 19:13
I guess you are looking for something like this.
Virtual Machine Size CPU Cores Memory Disk Space for Local Storage Resources in Web and Worker Roles Disk Space for Local Storage Resources in a VM Role Allocated Bandwidth (Mbps) ExtraSmall
Shared
768 MB
19,480 MB
(6,144 MB is reserved for system files)
20 GB
5
Small
1
1.75 GB
229,400 MB
(6,144 MB is reserved for system files)
165 GB
100
Medium
2
3.5 GB
500,760 MB
(6,144 MB is reserved for system files)
340 GB
200
Large
4
7 GB
1,023,000 MB
(6,144 MB is reserved for system files)
850 GB
400
ExtraLarge
8
14 GB
2,087,960 MB
(6,144 MB is reserved for system files)
1890 GB
800

