How to delete stucked Route53 zone created by ECS service discovery

It happens when I tried to delete the NS that created by ECS service directory, then this error shows up: The resource hostedzone/Z1OWcan only be managed through servicediscovery.amazonaws.com (arn:aws:servicediscovery:us-east-1:561660628307:namespace/ns-c6lvlchj2gbcsobc) If there are services hanging around the in the NS you can’t delete then you could try: $ aws servicediscovery list-services $ aws servicediscovery delete-service –id= … Read more

AWS cli cheatsheet

To describe specific AMI $ aws ec2 describe-images –image-ids ami-5731123e To describe instance $ aws ec2 describe-instances –instance-ids i-1234567890abcdef0 To describe VPCs $ aws ec2 describe-vpcs To describe route tables $ aws ec2 describe-route-tables