AWS Cloud Map
Developer Guide

Deleting Namespaces

When you delete a namespace, you can no longer use it to register or discover service instances. Note the following:

  • Before you can delete a namespace, you must delete all the services that were created in the namespace. For more information, see Deleting Services.

  • Before you can delete a service, you must deregister all the service instances that were registered using the service. For more information, see Deregistering Service Instances.

  • When you create a namespace, if you specify that you want to discover service instances using either public DNS queries or DNS queries in VPCs, AWS Cloud Map creates an Amazon Route 53 public or private hosted zone. When you delete the namespace, AWS Cloud Map deletes the corresponding hosted zone.

To delete a namespace, perform the following procedure.

To delete a namespace

  1. Sign in to the AWS Management Console and open the AWS Cloud Map console at https://console.aws.amazon.com/cloudmap/.

  2. In the navigation pane, choose Namespaces.

  3. Choose the option for the namespace that you want to delete.

  4. Choose Delete.

  5. Confirm that you want to delete the service.