Step 3: Create the trust relationship - 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).

Step 3: Create the trust relationship

Now that the preparation work is complete, the final steps are to create the trusts. First you create the trust on your self-managed domain, and then finally on your Amazon Managed Microsoft AD. If you have any issues during the trust creation process, see Trust creation status reasons for assistance.

Configure the trust in your self-managed Active Directory

In this tutorial, you configure a two-way forest trust. However, if you create a one-way forest trust, be aware that the trust directions on each of your domains must be complementary. For example, if you create a one-way, outgoing trust on your self-managed domain, you need to create a one-way, incoming trust on your Amazon Managed Microsoft AD.

Note

Amazon Managed Microsoft AD also supports external trusts. However, for the purposes of this tutorial, you will create a two-way forest trust.

To configure the trust in your self-managed Active Directory
  1. Open Server Manager and on the Tools menu, choose Active Directory Domains and Trusts.

  2. Open the context (right-click) menu of your domain and choose Properties.

  3. Choose the Trusts tab and choose New trust. Type the name of your Amazon Managed Microsoft AD and choose Next.

  4. Choose Forest trust. Choose Next.

  5. Choose Two-way. Choose Next.

  6. Choose This domain only. Choose Next.

  7. Choose Forest-wide authentication. Choose Next.

  8. Type a Trust password. Make sure to remember this password as you will need it when setting up the trust for your Amazon Managed Microsoft AD.

  9. In the next dialog box, confirm your settings and choose Next. Confirm that the trust was created successfully and again choose Next.

  10. Choose No, do not confirm the outgoing trust. Choose Next.

  11. Choose No, do not confirm the incoming trust. Choose Next.

Configure the trust in your Amazon Managed Microsoft AD directory

Finally, you configure the forest trust relationship with your Amazon Managed Microsoft AD directory. Because you created a two-way forest trust on the self-managed domain, you also create a two-way trust using your Amazon Managed Microsoft AD directory.

Note

Trust relationships is a global feature of Amazon Managed Microsoft AD. If you are using Multi-Region replication, the following procedures must be performed in the Primary Region. The changes will be applied across all replicated Regions automatically. For more information, see Global vs Regional features.

To configure the trust in your Amazon Managed Microsoft AD directory
  1. Return to the Amazon Directory Service console.

  2. On the Directories page, choose your Amazon Managed Microsoft AD ID.

  3. On the Directory details page, do one of the following:

    • If you have multiple Regions showing under Multi-Region replication, select the primary Region, and then choose the Networking & security tab. For more information, see Primary vs additional Regions.

    • If you do not have any Regions showing under Multi-Region replication, choose the Networking & security tab.

  4. In the Trust relationships section, choose Actions, and then select Add trust relationship.

  5. On the Add a trust relationship page, specify the Trust type. In this case, we choose Forest trust. Type the FQDN of your self-managed domain (in this tutorial corp.example.com). Type the same trust password that you used when creating the trust on your self-managed domain. Specify the direction. In this case, we choose Two-way.

  6. In the Conditional forwarder field, enter the IP address of your self-managed DNS server. In this example, enter 172.16.10.153.

  7. (Optional) Choose Add another IP address and enter a second IP address for your self-managed DNS server. You can specify up to a total of four DNS servers.

  8. Choose Add.

Congratulations. You now have a trust relationship between your self-managed domain (corp.example.com) and your Amazon Managed Microsoft AD (MyManagedAD.example.com). Only one relationship can be set up between these two domains. If for example, you want to change the trust direction to one-way, you would first need to delete this existing trust relationship and create a new one.

For more information, including instructions about verifying or deleting trusts, see Creating a trust relationship.