Deleting a hybrid directory - Amazon Directory Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deleting a hybrid directory

When you delete a hybrid directory, all directory data and snapshots are deleted and cannot be recovered. After the directory is deleted, all instances that were joined to the directory remain intact. However, you cannot use the directory credentials to log into these instances. You must log into these instances with a local user account.

To delete a directory
  1. In the Amazon Directory Service console navigation pane, select Directories. Ensure you are in the Amazon Web Services Region where your hybrid directory is deployed. For more information, see Choosing a Region.

  2. Ensure that no Amazon applications are enabled for the directory you intend to delete. Enabled Amazon applications will prevent you from deleting your hybrid directory.

  3. On the Directories page, choose your directory ID.

  4. On the Directory details page, select the Application management tab. In the Amazon apps & services section, you see which Amazon applications are enabled for your directory.

    1. Disable Amazon Web Services Management Console access. For more information, see Disabling Amazon Management Console access.

    2. To disable Amazon FSx for Windows File Server, you must remove the Amazon FSx file system from the domain. For more information, see Working with Active Directory in FSx for Windows File Server in the Amazon FSx for Windows File Server User Guide.

    3. To disable Amazon Relational Database Service, you must remove the Amazon RDS instance from the domain. For more information, see Managing a DB instance in a domain in the Amazon RDS User Guide.

  5. In the navigation pane, choose Directories.

  6. Select only the directory to be deleted and choose Delete. It takes several minutes for the directory to be deleted. When the directory has been deleted, it is removed from your directory list.

  7. Manually delete any remaining domain controller objects, including any Amazon Reserved OUs. You can delete the entire Amazon Reserved directory to finish cleaning up your environment.