Reputation: 5933
The documentation specifies how to set a role to have more than one instance, as so:
<ServiceConfiguration serviceName="...">
<Role name="MyRoleName">
<Instances count="3"/>
</Role>
</ServiceConfiguration>
However, the new Azure has a bunch more properites in the portal, like scaling by a metric (queue), instance range, and queue name. How would one specifiy these values in the ServiceConfiguration file? I cannot find documentation on this.
Upvotes: 0
Views: 47
Reputation: 136336
Simple answer is that you can't. From what I understand, Autoscaling is a separate service (or component) which sits outside of your cloud service. There's a separate API for configuring this but to the best of my knowledge that has not been made public yet, information about which can be found here: http://msdn.microsoft.com/en-us/library/azure/dn510374.aspx. (Hat tip to @kwill for providing this information).
Upvotes: 1
Reputation: 15860
Scaling values are not provided in the service configuration. You can only define them thru a portal or an API. They live outside of your deployment.
Upvotes: 0