Failed to deploy application. Unsuccessful command execution on instance id(s)

0

I have a code pipeline setup to deploy the Backend Nodejs (Express) Application. But for the last 2 to 3 days I am continuously getting errors of incorrect version etc on 2 of my backend instance. Whenever the AWS code pipeline runs on code change the code deploys to Elastic Bean Stalk Fail.

Error message - Code Pipeline

Deployment completed, but with errors: During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy the appropriate application version. Failed to deploy application. Unsuccessful command execution on instance id(s) 'i-096exxxxx'. Aborting the operation.

Error message - Elastic Bean Stalk

Environment health has transitioned from Severe to Degraded. Command failed on all instances. Incorrect application version found on all instances. Expected version "code-pipeline-xxxx"

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions