20 Dec 2023 05:40 PM - edited 20 Jun 2024 11:30 AM
To fix it, you need to set up an environment variable in AG's VM. This applies also to all regions that used to use only global endpoint:
ap-northeast-1ap-south-1ap-southeast-1ap-southeast-2ca-central-1eu-central-1eu-north-1eu-west-1eu-west-2eu-west-3sa-east-1us-east-1us-east-2us-west-1us-west-2See AWS STS Regionalized endpoints.
The environment variable should be visible by ActiveGate.
For Linux, you can just run these two commands with root user permission:
systemctl set-environment AWS_STS_REGIONAL_ENDPOINTS=regionalservice dynatracegateway restart@karolinaboba
Our recently installed ActiveGate always tries to connect to another region than eu-central-1. Can you explain how to configure the ActiveGate exactly to use only eu-central-1 as region?
@patmis
here are two solutions to accomplish it:
You can use a hidden AG config option:
[aws_monitoring]
aws_client_regions = "us-east-1;us-east-2"If you want per-credentials configuration, you can add the undocumented suffix to credentials label:
My Prod AWS Credentials @REGIONS={us-east-1|us-east-2}
Please mind from Dynatrace version 1.329 AWS STS global endpoint is not supported and now it uses regional endpoint. `us-west-2` region became the default region for `ActiveGate` so you need to ensure that `sts.us-west-2.amazonaws.com` endpoint is enabled to maintain connectivity.
More information: https://docs.dynatrace.com/docs/shortlink/aws-monitoring-guide#capable-activegate