# AWS / Azure monitoring setup: What if I have more than one ActiveGate?

**URL:** <https://community.dynatrace.com/t/aws-azure-monitoring-setup-what-if-i-have-more-than-one-activegate/43127>\
**Category:** Troubleshooting\
**Tags:** aws, activegate, azure\
**Created:** [December 13, 2023, 4:00pm UTC](https://community.dynatrace.com/t/aws-azure-monitoring-setup-what-if-i-have-more-than-one-activegate/43127 "2023-12-13T16:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![karolinaboba](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/karolinaboba/32/19761_2.png) [@karolinaboba](https://community.dynatrace.com/u/karolinaboba)\
**Post date:** [December 13, 2023, 4:00pm UTC](https://community.dynatrace.com/t/aws-azure-monitoring-setup-what-if-i-have-more-than-one-activegate/43127/1 "2023-12-13T16:00:00Z")

</div>

**AWS:**

You have two options:

- Option 1.  
Confirm that all ActiveGates that have AWS monitoring enabled can connect to AWS.  
**In case of role-based setup:** &nbsp;Ensure that all ActiveGates that have AWS monitoring enabled have the&nbsp;`ActiveGate`&nbsp;role attached.
- Option 2.  
Choose one ActiveGate you want to monitor your AWS account with. Any ActiveGate type will work as long as it can connect to AWS. On that ActiveGate edit the&nbsp;[`custom.properties`](https://docs.dynatrace.com/docs/setup-and-configuration/dynatrace-activegate/configuration/configure-activegate)&nbsp;file and set the following property to&nbsp;`true`:

```markup
[aws_monitoring]
aws_monitoring_enabled = true

```

On all the other ActiveGates, set the property to&nbsp;`false`.

**Azure:**

If you have more than one ActiveGate, you have the following options:

- Confirm that all ActiveGates with Azure monitoring enabled can connect to Azure.
- 
  1. On the designated ActiveGate, edit the&nbsp;`custom.properties`&nbsp;file and set the&nbsp;`azure_monitoring_enabled`&nbsp;property to&nbsp;`true`:

  2. On the other ActiveGates, edit the&nbsp;`custom.properties`&nbsp;file and set the&nbsp;`azure_monitoring_enabled`&nbsp;property to&nbsp;`false`.ActiveGate version 1.261+&nbsp;Designate an ActiveGate with which you want to monitor your Azure subscription. Any ActiveGate type works properly as long as it can connect to Azure.

---

<div class="post-metadata">

**Author:** ![tarjei](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tarjei/32/39196_2.png) [@tarjei](https://community.dynatrace.com/u/tarjei)\
**Post date:** [December 6, 2024, 10:17am UTC](https://community.dynatrace.com/t/aws-azure-monitoring-setup-what-if-i-have-more-than-one-activegate/43127/2 "2024-12-06T10:17:03Z")

</div>

Hi!

How can we control and alter the frequency of polling for AWS and Azure?
