0
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?

ECSクラスター作成中にエラーが発生しました。

Last updated at Posted at 2025-02-12

エラー内容

クラスター cluster名 の作成中にエラーが発生しました。
Resource handler returned message: "Error occurred during operation 'CreateCluster SDK error: Service Unavailable. Please try again later. (Service: AmazonECS; Status Code: 500; Error Code: ServerException; Request ID: XXXXXX; Proxy: null)'." (RequestToken: XXXXXXXXX, HandlerErrorCode: GeneralServiceException)

解決策

CloudFormationにてスタックの作成が一時停止しているので、時間を置いて再度「再試行」を実施

image.png

すると以下のようにスタックが正常に作成されました。
image.png

原因

ECSクラスターを作成する場合、エラーコード 500 のエラーが発生して一時的クラスター作成に失敗することがあるとのこと。

公式ドキュメントより引用
https://repost.aws/ja/knowledge-center/ecs-api-common-errors

・ServerException
このエラーは、API コールに関連するサーバーエラーが発生した場合に記録されます。
ServerException は通常、HTTP エラーコード 500 が原因で発生します。
この例外は、AWS リージョンの ECS サービスに問題がある場合に発生します。
通常、このエラーは一時的なもので、それ以降の API の実行の試みは成功するはずです。
しかし、問題が長期間続く場合は、AWS Support までお問い合わせください。
0
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
0
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?