CodeDeploy - DownloadBundle failing

0

With an existing auto-scaling group, and an existing CodeDeploy revision, we encounter quite a few DownloadBundle failures from CodeDeploy when a scale-out event occurs. What exactly is DownloadBundle doing? I would assume, based on the name, that it's pulling the zip file from "Revision location" (e.g - S3). According to the events log, the ApplicationStop event executed prior to DownloadBundle and that hook is defined in appspec.yml which is stored in the zip file ("Revision location") retrieved from S3 so I would assume the download from S3 has already happend.

질문됨 2년 전1564회 조회
1개 답변
0

What exactly is DownloadBundle doing?

The AWS Official FAQs state the following [1]

[1] AWS CodeDeploy FAQs | Amazon Web Sevices
https://aws.amazon.com/codedeploy/faqs/?nc1=h_ls#:~:text=of%20a%20deployment.-,DownloadBundle,-During%20this%20deployment
----- excerpt -----
During this deployment lifecycle event, the agent copies the revision files to a temporary location on the instance. This deployment lifecycle event is reserved for the agent and cannot be used to run user scripts.
----- excerpt -----

I'm not sure of the specific error in your environment, but I found a similar GitHub Issue below. [2]

[2] CodeDeploy fails at "DownloadBundle" step - Issue #255 - aws/aws-codedeploy-agent
https://github.com/aws/aws-codedeploy-agent/issues/255

According to the GitHub Issue above, this can happen with certain CodeDeploy agent versions.

I hope this is helpful.

profile picture
mn87
답변함 2년 전

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

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

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

관련 콘텐츠