<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Keep AWS monitoring only on selected ActiveGates in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Keep-AWS-monitoring-only-on-selected-ActiveGates/ta-p/302373</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-TOC indent="15" liststyle="disc" maxheadinglevel="2"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H2&gt;Summary&lt;/H2&gt;
&lt;P&gt;With Classic AWS monitoring, an AWS connection can be handled by any ActiveGate that is eligible to run it. Filtering the AWS regions (via custom.properties) ann/or using Network Zones/ActiveGate groups do not control which ActiveGate performs the monitoring.&lt;/P&gt;
&lt;H2&gt;Problem&lt;/H2&gt;
&lt;P&gt;A particular AWS account must be monitored only through a subset of AWS-enabled ActiveGates (for example, only in Europe), so there's a need to control which ActiveGates will be monitoring these AWS account/credentials.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Troubleshooting steps&lt;/H2&gt;
&lt;P&gt;As mentioned, any AWS-enabled ActiveGate can be a target for assignment of any AWS account monitoring,&lt;BR /&gt;the quickest way to locate which account being monitored by which ActiveGate using Data Explorer is to run queries similar to below&lt;/P&gt;
&lt;P&gt;- either by the hostname -&lt;/P&gt;
&lt;P&gt;dsfm:active_gate.aws.elements.total:splitBy("aws.account_id","host.name"):sort(value(auto,descending)):limit(20)&lt;/P&gt;
&lt;P&gt;- or by the ActiveGate ID&lt;/P&gt;
&lt;P&gt;dsfm:active_gate.aws.elements.total:splitBy("aws.account_id","dt.active_gate.id"):sort(value(auto,descending)):limit(20)&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andriy_Sidorkin_0-1784892979307.png" style="width: 807px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33757iC284A8A43DA9642A/image-dimensions/807x448?v=v2" width="807" height="448" role="button" title="Andriy_Sidorkin_0-1784892979307.png" alt="Andriy_Sidorkin_0-1784892979307.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Resolution/configuration steps&lt;/H2&gt;
&lt;P&gt;1. Give the required ActiveGates their own AWS IAM role.&lt;/P&gt;
&lt;P&gt;The role must be used only by the ActiveGates that are allowed to monitor the account. If European and non-European ActiveGates share the same role, AWS sees them as the same identity and cannot tell them apart.&lt;/P&gt;
&lt;P&gt;2. Update the monitoring role in the target AWS account.&lt;/P&gt;
&lt;P&gt;In its trust policy, allow `sts:AssumeRole` only from the IAM role used by the selected ActiveGates. Keep the Dynatrace external ID condition when one is configured, so the target account should trust:&lt;/P&gt;
&lt;P&gt;```&lt;BR /&gt;ActiveGate (from EU, for example) role -&amp;gt; allowed&lt;BR /&gt;Other ActiveGate roles -&amp;gt; not allowed&lt;BR /&gt;```&lt;/P&gt;
&lt;P&gt;3. Remove access from the other ActiveGate roles.&lt;/P&gt;
&lt;P&gt;Check both sides of the role setup:&lt;/P&gt;
&lt;P&gt;- The target ActiveGate role is allowed to assume the target monitoring role.&lt;BR /&gt;- The target monitoring role trusts this subset's ActiveGate role.&lt;BR /&gt;- Roles used by ActiveGates in other locations are not included.&lt;/P&gt;
&lt;P&gt;4. Test and verify.&lt;/P&gt;
&lt;P&gt;After changing the policies, allow some time for existing AWS STS sessions to expire. &lt;BR /&gt;- The AWS connection validates in Dynatrace.&lt;BR /&gt;- Data starts or continues to arrive in Data Explorer.&lt;BR /&gt;- ActiveGate logs show successful polling on an allowed European ActiveGate.&lt;BR /&gt;- AWS CloudTrail shows `AssumeRole` requests from the expected European ActiveGate role.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;H2&gt;Important to know&lt;/H2&gt;
&lt;P&gt;- ActiveGate groups and network zones do not provide a per-AWS-connection pinning option for Classic AWS monitoring.&lt;BR /&gt;- The setup above limits which ActiveGates have permission to monitor the account. It does not create scheduler affinity inside Dynatrace.&lt;BR /&gt;- To ensure availability - use at least two ActiveGates if monitoring must continue when one ActiveGate is unavailable.&lt;BR /&gt;- Again, if all allowed target ActiveGates are unavailable, AWS monitoring will stop instead of moving to an ActiveGate that does not have permission.&lt;/P&gt;
&lt;H2&gt;References&lt;/H2&gt;
&lt;P&gt;- [Dynatrace Classic AWS credentials API](&lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/configuration-api/aws-credentials-api/get-credentials" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/dynatrace-api/configuration-api/aws-credentials-api/get-credentials&lt;/A&gt;)&lt;BR /&gt;- [Dynatrace ActiveGate groups](&lt;A href="https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/activegate-group" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/activegate-group&lt;/A&gt;)&lt;BR /&gt;- [Dynatrace ActiveGate network-zone connectivity](&lt;A href="https://docs.dynatrace.com/docs/manage/network-zones/activegate-connectivity" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/manage/network-zones/activegate-connectivity&lt;/A&gt;)&lt;BR /&gt;- [AWS cross-account role access](&lt;A href="https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html" target="_blank" rel="noopener"&gt;https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html&lt;/A&gt;)&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 24 Jul 2026 11:59:05 GMT</pubDate>
    <dc:creator>Andriy_Sidorkin</dc:creator>
    <dc:date>2026-07-24T11:59:05Z</dc:date>
    <item>
      <title>Keep AWS monitoring only on selected ActiveGates</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Keep-AWS-monitoring-only-on-selected-ActiveGates/ta-p/302373</link>
      <description>&lt;P&gt;&lt;LI-TOC indent="15" liststyle="disc" maxheadinglevel="2"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;*&lt;EM&gt;Use a table of contents for longer articles.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;H2&gt;Summary&lt;/H2&gt;
&lt;P&gt;&lt;EM&gt;*This is a mandatory section.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Short description of which part of the Dynatrace platform the article refers to and what kind of problem it will help resolve/ task it will describe.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Problem&lt;/H2&gt;
&lt;P&gt;&lt;EM&gt;*This is a mandatory section.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Provide a precise description of the problem/ task to be described. Use anonymized screenshots, and include text for&amp;nbsp;important messages, errors, or information that will help the customer find this article when searching.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Troubleshooting steps&lt;/H2&gt;
&lt;P&gt;&lt;EM&gt;*This section can be omitted as necessary.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Explain what troubleshooting steps should be taken to ensure the problem matches this article.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Resolution&lt;/H2&gt;
&lt;P&gt;&lt;EM&gt;*This section can be omitted for articles that guide customers on ticket creation.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Explain the solution or all possible solutions resulting from the troubleshooting steps.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;H2&gt;What's next&lt;/H2&gt;
&lt;P&gt;&lt;EM&gt;*This is a mandatory section. Customers need a way to respond or follow up if they have questions.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Explain what to do if the article did not help.&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;Note that there are multiple options available, including:&lt;/EM&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;Opening a support ticket&lt;/STRONG&gt; - be as specific as possible about the information the customer should include in the ticket.&amp;nbsp;&lt;/EM&gt; If this article did not help, please open a support ticket, mention that this article was used and provide the following in the ticket:
&lt;UL&gt;
&lt;LI&gt;link to XYZ&lt;/LI&gt;
&lt;LI&gt;screenshot of XYZ&lt;/LI&gt;
&lt;LI&gt;information about XYZ&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;Suggesting Product Idea&lt;/STRONG&gt; - encourage the customer to suggest/ vote for a Product Idea explaining their business use case.&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;Explain this will change in the future&lt;/STRONG&gt; - explain that this behaviour will change in a future release. (No product idea / support ticket needed)&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;Alternatives -&lt;/STRONG&gt;&amp;nbsp;any other actions or links to other articles that could move the customer forward.&lt;/EM&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;*If it exists, link this article to the relevant troubleshooting map using the following guideline&lt;/EM&gt;&lt;/P&gt;
&lt;H3&gt;More articles can be found on the &lt;A href="https://community.dynatrace.com/t5/Troubleshooting/" target="_self"&gt;XXX Troubleshooting Map&lt;/A&gt;&lt;/H3&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Jul 2026 11:59:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Keep-AWS-monitoring-only-on-selected-ActiveGates/ta-p/302373</guid>
      <dc:creator>Andriy_Sidorkin</dc:creator>
      <dc:date>2026-07-24T11:59:05Z</dc:date>
    </item>
  </channel>
</rss>

