AWS CodeDeploy supports Auto Scaling, an AWS service that can launch Amazon EC2 instances automatically according to conditions you define. These conditions can include limits exceeded in a specified time interval for CPU utilization, disk reads or writes, or inbound or outbound network traffic.
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
On the navigation bar at the top of the screen, select the region that you used when creating your load balancer.
On the navigation pane, under Auto Scaling, choose Auto Scaling Groups.
On the next page, choose Create Auto Scaling group.
Automatically launch or terminate EC2 instances based on user-defined policies, health status checks, and schedules using Amazon EC2 Auto Scaling.