Tutorial: Use CodeDeploy to deploy an application to an Auto Scaling group - Amazon CodeDeploy
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Tutorial: Use CodeDeploy to deploy an application to an Auto Scaling group

In this tutorial, you'll use CodeDeploy to deploy an application revision to an Auto Scaling group. Amazon EC2 Auto Scaling launches Amazon EC2 instances using predefined conditions, and then terminates those instances when they are no longer needed. Amazon EC2 Auto Scaling can help CodeDeploy scale by ensuring it always has the correct number of Amazon EC2 instances available to handle the load for deployments. For information about Amazon EC2 Auto Scaling integration with CodeDeploy, see Integrating CodeDeploy with Amazon EC2 Auto Scaling.