Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there way to change to instance type in Azure Cloud Services

Tags:

Is there any way to change the VM Size of an Azure Cloud Service without having to rebuild the package?

The vmsize parameter is defined in the .csdef file rather than the .cscfg file that is uploaded into Azure and doesn't appear in the other included XML files of the package.

Please note that we're not looking to change the instance count (scale out) but the size type (i.e. from Extra Small (A0) to Medium (A2)).

like image 952
user145610 Avatar asked Nov 19 '13 21:11

user145610


People also ask

What are Azure instances called?

What is an Azure Instance? Simply put, an instance in Azure can be understood as a Virtual Machine. Microsoft Azure Websites can be defined as a high-density, multi-tenancy platform.

How many cloud service models does Azure support?

The Azure cloud platform is more than 200 products and cloud services designed to help you bring new solutions to life—to solve today's challenges and create the future. Build, run, and manage applications across multiple clouds, on-premises, and at the edge, with the tools and frameworks of your choice.


2 Answers

The vmsize is attribute of csdef file and not of ServiceConfiguration.cscfg

You can see on http://msdn.microsoft.com/en-us/library/jj156212.aspx

like image 147
Giovanni Caputo Avatar answered Oct 07 '22 19:10

Giovanni Caputo


Yes, when you create your service model, you can specify the size to which to deploy an instance of your role, depending on its resource requirements. The size of the role determines the number of CPU cores, the memory capacity, and the local file system size that is allocated to a running instance.

Basically, you need to change the “vmsize” parameter in the ServiceConfiguration.cscfg file to the required value (vmsize="[ExtraSmall|Small|Medium|Large|ExtraLarge]") and re-deploy the package back to Azure.

http://www.nimbo.com/blog/changing-the-instance-size-from-the-windows-azure-management-portal/

like image 35
Thiago Custodio Avatar answered Oct 07 '22 21:10

Thiago Custodio