title: Rapid AWS autoscaling
body: <p>How do you configure AWS autoscaling to scale up quickly? I've setup an AWS autoscaling group with an ELB. All is working well, except it takes several minutes before the new instances are added and are online. I came across the following in a post about Puppet and autoscaling:</p>
  
  <blockquote>
    <p>The time to scale can be lowered from several minutes to a few seconds if the AMI you use for a group of nodes is already up to date.</p>
  </blockquote>
  
  <p><a href="http://puppetlabs.com/blog/rapid-scaling-with-auto-generated-amis-using-puppet/" rel="noreferrer">http://puppetlabs.com/blog/rapid-scaling-with-auto-generated-amis-using-puppet/</a></p>
  
  <p>Is this true? Can time to scale be reduced to a few seconds? Would using puppet add any performance boosts?</p>
  
  <p>I also read that smaller instances start quicker than larger ones:</p>
  
  <blockquote>
    <p>Small Instance 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of instance storage, 32-bit platform with a base install of CentOS 5.3 AMI</p>
    
    <p>Amount of time from launch of instance to availability:
        Between 5 and 6 minutes us-east-1c</p>
    
    <p>Large Instance 7.5 GB of memory, 4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each), 850 GB of instance storage, 64-bit platform with a base install of CentOS 5.3 AMI</p>
    
    <p>Amount of time from launch of instance to availability:<br>
    Between 11 and 18 minutes us-east-1c</p>
    
    <p>Both were started via command line using Amazons tools.</p>
  </blockquote>
  
  <p><a href="http://www.philchen.com/2009/04/21/how-long-does-it-take-to-launch-an-amazon-ec2-instance" rel="noreferrer">http://www.philchen.com/2009/04/21/how-long-does-it-take-to-launch-an-amazon-ec2-instance</a></p>
  
  <p>I note that the article is old and my c1.xlarge instances are certainly not taking 18min to launch. Nonetheless, would configuring an autoscale group with 50 micro instances (with an up scale policy of 100% capacity increase) be more efficient than one with 20 large instances? Or potentially creating two autoscale groups, one of micros for quick launch time and one of large instances to add CPU grunt a few minutes later? All else being equal, how much quicker does a t1.micro come online than a c1.xlarge?</p>