Trouble Shooting Potential Autoscaling Issues
Amazon EC2 Auto Scaling continuously launches and terminates Amazon EC2 instances.
- Resolve by changing
- Disassociate the Amazon EC2 Auto Scaling group from the CodeDeploy deployment group or
- the configuration of your Amazon EC2 Auto Scaling group as per current number of instances.
The CodeDeploy agent is unresponsive.
- The CodeDeploy agent might not be installed
- Resolve by moving initialization scripts into CodeDeploy application revision.
An Amazon EC2 instance in an Amazon EC2 Auto Scaling group reboots during a deployment.
- Deployment can fail if an Amazon EC2 instance is rebooted during a deployment or
- CodeDeploy agent is shut down while processing a deployment command.
Multiple application revisions are deployed simultaneously to the same Amazon EC2 instance in an Amazon EC2 Auto Scaling group.
- one of the deployments has scripts that run for more than a few minutes.
- Resolve by not deploying multiple application revisions to the same Amazon EC2 instances in an Amazon EC2 Auto Scaling group.
Are you an AWS SysOps Administrator Associate?Take a Quiz