eb deploy successful but code not updating

0

Hi. I'm running into a weird issue. I deploy my apps to Elastic Beanstalk using the eb cli, and it has always worked in the past. However, lately I've noticed that when I use eb deploy, the application is successfully deployed, but the code is still always the old version. If I SSH into the EC2 instance, it's still the old code. Nothing really has change in terms of my application. To get around this, I have to manually deploy files, but I would like eb deploy to just work like it did before. Is this a known issue?

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

Go to the Application Versions area for your app and click the link in the Source column to download the source for the version in question. Expand the bundle and check if the file content matches your expectations.

답변함 2년 전
  • Yes, it does match my expectations. However, the web app does not reflect those changes. In Elastic Beanstalk, the running version is the correct version (with the correct changes), but what's actually on the server is still the old version.

0

For an update to my issue, I was able to narrow it down to EB environments where the EC2 has termination protection enabled. For environments without termination protection, then eb deploy works as expected. It definitely used to work before with environments that have termination protection enabled, so some release must've broken this process.

답변함 2년 전

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

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

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

관련 콘텐츠