title: AWS Auto Scaling - Down scale wait x minutes before server termination
body: <p>I have an application that is constantly gathering data from active connections and then writing compiled/batched data at the end of every minute. </p>
  
  <p>I have Amazon Auto Scaling working with these servers. The problem is.. when the group is down scaled I need to keep the servers writing their last minute worth of data before termination occurs after being removed from the ELB. </p>
  
  <p>Is there anyway to Remove the instance from the Load Balancer then have a wait period of X minutes before terminating the instance? (Ideally I would wait 2-5 mintues before termination of the instance)</p>
  
  <p>Any guidance would help</p>
  
  <p>Thanks</p>