title: How do I scale my Azure application without having a temporary outage?
body: <p>I'm toying with Windows Azure Management API for scaling my Azure web role. At some point I have one instance and decide that I want to go from one instance to two instances. I send an HTTP POSt request to</p>
  
  <pre><code>https://management.core.windows.net:443/&lt;my-subscription-id&gt;/services/hostedservices/&lt;my-service-name&gt;/deployments/&lt;my-deployment-name&gt;/?comp=config
  </code></pre>
  
  <p>with an XML specifying the same configuration as deployment currently has and instances count set to two. The call succeeds and the change starts. Now for about 30 seconds the web role will not accept HTTP calls - the caller will get </p>
  
  <pre><code>10061 connection refused
  </code></pre>
  
  <p>in browser. Which means the role is not serving client requests. That's a problem.</p>
  
  <p>How do I scale the web role in such way that it serves client requests at all times?</p>