Hello @Pawel_Zalewski under role based auth you can monitor the “default” services without an ActiveGate:
As you can see Amazon Cloudwatch Logs is non default so you must install and configure an Environment ActiveGate if you want to monitor either or both of the following:
- More than 2,000 AWS resources (AWS service instances)
- Non-default AWS Cloud services
You need an AG on your EC2 Account:
Create a role for ActiveGate on the account that hosts ActiveGate
- Download the YAML file with CloudFormation template.
- Create the stack in your Amazon Console:
- In your Amazon Console, go to CloudFormation.
- Go to Stacks and create a new stack with new resources.
- Select Template is ready, upload the template you created above, and then select Next.
- In Parameters, for Monitored Account ID, enter the ID of the account Dynatrace will monitor. Optionally, adapt other parameters as needed.
- Enter a name for your stack, and then select Next twice.
- Review your configuration, select I acknowledge that AWS CloudFormation might create IAM resources with custom names, and select Submit.
3. Go to the Amazon EC2 console, right-click an instance hosting your Environment ActiveGate, and select Security > Modify IAM role.
4. Select the role you created in step 1 and select Update IAM role.
Part 2
Create a monitoring role for Dynatrace on your monitored account
After the Dynatrace_ActiveGate_role is created on the account hosting the ActiveGate, create a role for the account to be monitored.
- Download a YAML file with CloudFormation template from github role_based_access_AG_account_template.yml.
- Create the stack in your Amazon Console:
- In your Amazon Console, go to CloudFormation.
- Go to Stacks and create a new stack with new resources.
- Select Template is ready, upload the template you created above, and select Next.
- In Parameters, enter External ID, ActiveGateRoleName and ActiveGateAccountID from the stack created in Step 2.3.2.1. Optionally, adapt other parameters if needed.
- Enter a name for your stack, and then select Next twice.
- Review your configuration, enable I acknowledge that AWS CloudFormation might create IAM resources with custom names, and select Submit.
Hope it helps!!!
