LoginSignup
12
4

More than 5 years have passed since last update.

AWS ECS クラスターが削除できない時にやること

Last updated at Posted at 2016-09-07

お試しでクラスターを作って、GUIからさあ削除しようと思ったら以下のメッセージ。

"The service cannot be stopped while the primary deployment is scaled above 0."


追記
GUIからも可能とのコメント頂きました。
詳しくはコメント参照で。


ぐぐったらcuiでの操作が必要らしい。


# まずservice名を調べる
aws ecs list-services

#desired-countを0にする
aws ecs update-service --service [サービス名] --desired-count 0

その後、GUIからクラスターを削除したらできた。

参考
Amazon EC2 Container Service(ECS)をGUIから試してAWS側で用意したサンプルWebアプリを動かしたときのメモ。
http://qiita.com/toshihirock/items/dfd42314158aff073e9d

12
4
3

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
12
4