Failed to deploy application, new alive healthy instance declared dead

0

Since two days, I cannot deploy a new beanstalk application anymore.

The error messages on the event page are always the same:

  1. Failed to deploy application.

  2. Cannot complete command execution on the following instances as they are no longer running: e.g i-0bf4a8XXX.

  3. Command execution completed on all instances. Summary: Successful: 0, Died: 1.

  4. Deployment failed. Terminating new instances and temporary Auto Scaling group.

However, at 1.-3. i-0bf4a8XXX is up and running just fine. It serves requests. I can log in. I fail to detect any anomalies.

Ironically, at 3. and 4. the health dashboard complains about the incorrect application version being found:

Incorrect application version found on 1 out of 3 instances. Expected version "XZY" (deployment XXX). The incorrect version being the application version I actually do want to deploy.

I would be grateful for any pointers or ideas I am missing to resolve this problem.

Thanks.

Removed autoformatting Edited by: msmart2 on Jan 8, 2020 2:34 AM

Grammar. Edited by: msmart2 on Jan 8, 2020 2:35 AM

msmart2
質問済み 4年前1365ビュー
2回答
0

The issue disappeared. I can deploy again (actually the same code that previously failed). Possibly, an intermittent issue.. Thanks.

msmart2
回答済み 4年前
0

Hello,

It seems very unlikely for such an issue to occur, beanstalk should be aware of the instance running in the backend and based on the healthcheck performed, it will set the instance as healthy or unhealthy.

As of now, you mentioned that the deployment is working fine without any issue. If you face the issue again, please DM me the environment id and account id. I shall further look into it.

AWS
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ