Permission denied @ rb_sysopen - C:\ProgramData/Amazon/CodeDeploy/ongoing-deployment/<deployment-id>(error)-For CodeDeploy downloadBundle stage triggered via ASG default lifecyclehook for new instance

0

Whenever a New AMI is created out of a working production windows app machine and is assigned to aws launch template, we are able to launch new instance with ASG. But, if we try to terminate and wait for the instance replacement (In Our case its capacity is 1 for all desired, minimum and maximum) it fails at third time with an error mentioned on the title. This is super weird as it works fine for 1 and 2 time but not for third time. The error above comes from AWS codedeploy which is triggered due to default lifecycle hooks in place on Auto Scaling Group. Thus, after failure it terminates our instance and new one is spawned as a replacement. Now, we face the same error and this cycle goes on until I manually scale down ASG to 0. This is not observed if the instance is launched manually out of ASG and we create deployment trigger manually from the deployment group.

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠