Tuesday, 20 August 2013

Struggling to move Web Role to a smaller vmsize

Struggling to move Web Role to a smaller vmsize

I want to move my web role to a smaller VM size for cost saving purposes.
I changed the vmsize attribute in WebRole in the ServiceDefinition.csdef
accordingly. On publishing I received the following error:
Total requested resources are too large for the specified VM size
So I then reduced the size of the local storage resources in the
ServiceDefinition.csdef. Then I got the error:
The size of local resources cannot be reduced. Affected local resource is
DataFiles in role Website.
From what I have read online, I will need to delete the deployment and
republish it. But this will assign a new IP to my cloud service. I can't
have this happen.
Is there another solution to my problem?

No comments:

Post a Comment