Elastic beanstalk deploy issues

0

Hi everyone, I have an Elastic Beanstalk application that is working great except for the deployment part. Every time I deploy a new application to my environment, I get different errors.

I tried to use many different implementation policies (at the moment I've set it on "Immutable") but I also tried "all at once" and "rolling".

The most frequent error that I get is "Incorrect application version "new-impiantistica-monitor-web-2024-01-03T16-10-15-168Z" (deployment 68). Expected version "new-impiantistica-monitor-web-2024-01-03T16-10-15-168Z" (deployment 69).". As you can see, the version is exactly the same, the deployment number changes because I manually implemented the same version to the environment after a previous failure.

This happens every time I deploy: since the immutable policy will create a new group of instances with the new version, it looks pretty obvious to me that they will have a different application version.

The deploy happens by uploading a .zip file by a CD pipeline from GitHub. It contains a docker-compose.yml file. The platform is Docker running on 64bit Amazon Linux 2023/4.1.2.

I have full logs on cloudwatch, If you need more details from there I'll be happy to share!

Thank you for your support!

gefragt vor 4 Monaten118 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen