title: Multiple Aws CodeDeploy applications in a newly added instance
body: <p>I think i've done something wrong while designing my aws infrastructure.
  Actually i have one autoscaling group with one ec2 instance. </p>
  
  <p>On this instance there are 6 laravel projects that are associated to 6 applications in aws CodeDeploy, so when i want to update the version i simply update using codedeploy. </p>
  
  <p>Issues comes when the autoscaling group adds instances to the group, all my codedeploy applications are deployed to the newly created instance and it fails with this message:</p>
  
  <blockquote>
    <p>One or more lifecycle events did not run and the deployment was unsuccessful. Possible causes include:
    (1) Multiple deployments are attempting to run at the same time on an instance;</p>
  </blockquote>
  
  <p>So... what's the best way to get this to work ? </p>