Why is the elastic layer not working but showing the latest version of the app?

I have a web node.js elastic band (eb) application in a production environment.

I am using a well-built zip file for deployment.

The thing is, after deploying, the eb dashboard shows a green status and the correct version number for the app (the one I want to deploy). This should be the expected output (api-0.0.22 is the latest version available).

Supposed deployed version

However, the deployment software does not change randomly (I have a version file to confirm which one is the effective version). When I discover this, I also see a timeout in the event log that confirms no deployment.

EB events' log

I looked through the available logs and couldn't find any attempts to download the software from S3 and fail to install it. I mean, there is not only no error, but also no deployment proof. It looks like "it never happened."

I also use one ebextension for logging (logging.config):

files:
  "/opt/elasticbeanstalk/tasks/bundlelogs.d/01-appname.conf":
    content: |
      /var/app/current/log/error.log

  "/opt/elasticbeanstalk/tasks/taillogs.d/01-appname.conf":
    content: |
      /var/app/current/log/error.log

      

Note: / var / app / current / log exists in the application files tree

I did a lot of tests and one gave me a little light in the dark: if I terminate the eb-associated timeout instance, eb launches another with the correct (and expected) version of the app.

I don't know if this issue could be code related (which is why I use stack overflow) or eb install or deploy method.

Any suggestions / ideas would be much appreciated.

+3


source to share





All Articles