3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

AWS ElasticBeanstalkのデプロイでAdditional Information: Too many application versions, cannot create a new version for application XXXX

Posted at

概要

ElasticBeanstalkのデプロイ処理で以下のエラーが発生しました

Image from Gyazo

原因

エラーメッセージの通り、アプリケーションバージョンが多すぎるからです
Image from Gyazo

ただ、ElasticBeanstalkを作ってから相当経過しないとここが溜まり切らないので時限爆弾式のエラーです。
すでに担当者がいなかったりして、急なエラー発生にすごくびっくりします

対策

簡単にライフサイクルポリシーを設定できます。
Image from Gyazo

設定サンプル

Image from Gyazo

デプロイ時は神経使ってるのでこんなことでエラーになってイライラしちゃうのは避けたいです。

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?