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?

preguntada hace 2 años1860 visualizaciones
2 Respuestas
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.

respondido hace 2 años
  • 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.

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas