title: How to limit instance spawning (autoscaling) on GAE?
body: <p>I have noticed a recent surge in instance spawning on GAE.</p>
  
  <p>In my app.yaml I have clearly defined that max two instances should be created at a time.</p>
  
  <pre><code>application: xxx
  version: 1-6-0
  runtime: python27
  api_version: 1
  instance_class: F2
  automatic_scaling:
    max_idle_instances: 2
  threadsafe: true
  </code></pre>
  
  <p>However the dashboard is showing 4 instances and the bills are going up.  How can I stop this madness? :)</p>
  
  <p><a href="https://i.stack.imgur.com/hcQ00.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hcQ00.png" alt="enter image description here"></a></p>