LoginSignup
8

More than 5 years have passed since last update.

AWS Route53のホステッドゾーンが削除できない

Posted at

今月の利用料金を見てみると、Route53に$0.5の請求が。。

5.PNG

あれ、何か使ったっけと思いながらコンソールから削除しようとするとエラーでできない。。

1.PNG

ネットを色々調べた結果、ECSのサービスがRoute53を使っているのではという情報を見ました。

コンソールを確認

3.PNG

⇒サービスなし

CLIで確認

e2.png

⇒サービスあり!

なぜ、コンソールで見れないと思いながら、
サービスを削除しホステッドゾーンも削除しました。

これにより解決。

コマンド

'サービスの確認
aws servicediscovery list-services

'サービスの削除
aws servicediscovery delete-service --id=srv-xxxxxxxxxxxxxxxx

・ネームスペースの確認
aws servicediscovery list-namespaces

・ネームスペースの削除
aws servicediscovery delete-namespace --id=ns-xxxxxxxxxxxxxxxx

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
8