codedeploy blue-green deployment cannot be stopped

1

Neither the console Stop deployment and Stop and roll back deployment nor the aws cli can stop the blue-green deployment. There are always new instances in the Terminated state in the Instances list.

Deployment It has been going on for 5 hours, and stopping Pipelines has no effect.

Enter image description here

Instance state

Enter image description here

launch time Enter image description here

Why do I keep starting EC2 instances after running blue-green deployment, but all instances cannot start running, and the instance status is: terminated

Launching a new EC2 instance: i-0022e48aaf0890ee0. Status Reason: Instance became unhealthy while waiting for instance to be in InService state. Termination Reason: Client.InternalError: Client error on launch

2 Answers
0
Accepted Answer

Hello there,

To best troubleshoot this issue, we require information that is non-public information. Please open a support case with AWS Support using the following link

AWS
answered 5 months ago
0

Client.Internalerror when launching from an AutoScaling Group is almost always because of a CMK (Customer managed KMS Key) being used for the snapshot, AMI, and/or volume. AutoScaling needs to be given access to the key: https://docs.aws.amazon.com/autoscaling/ec2/userguide/key-policy-requirements-EBS-encryption.html

https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-instancelaunchfailure.html

AWS
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions