Notifications
Clear all
Community Forum
2
Posts
1
Users
0
Likes
1,238
Views
Topic starter
25/07/2020 2:01 am
Life cycle event of code deploy seems to shutting down the instance of code deploy failure
Topic starter
25/07/2020 2:04 am
We can use following command on aws cli to isolate the ec2 instance.
$ aws autoscaling complete-lifecycle-action --profile account-name --auto-scaling-group-name test-ai-2-ELBAutoScale-82ZJU9SGIOR6-ServerGroup-4FBPJJ90KQLG --lifecycle-action-result CONTINUE --lifecycle-hook-name CodeDeploy-managed-automatic-launch-deployment-hook-tes342CodeDeploy1IGIHJCI9PUYRDeploymentGroup1BYZ90G1HRH27-f09bfcb5-c9ae-40ab-l009-3c70a94ea528 --instance-id "instanceid"