cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynatrace, Infrastructure as Code, MonaCo

echwallah
Advisor

Has anyone encountered a scenario whereby Monaco can be incorporated within an Orchestration Platform like Terraform such that once a Virtual Machine, EC2 Instance or node is spun up, One Agent is Installed Automatically and necessary Dashboards for Infrastructure usage, Services, Tagging of Services and Discovered Processes are automatically done after installation of the agents on the Host using MonaCo

Dynatrace Certified Associate
4 REPLIES 4

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

Configuration-as-code (aka Monaco 2.0) is a binary script that you can call in the Terraform module. For instance using local-exec:

https://developer.hashicorp.com/terraform/language/resources/provisioners/local-exec

Senior Product Manager,
Dynatrace Managed expert

echwallah
Advisor

Thanks for this @Radoslaw_Szulgo . Am quite new to this provisioning and orchestration platforms.

Could you describe for me, How I can spin up a VM or EC2 Instance or any infrastructure, install or deploy one agent inside the host and then run Monaco on the tenant where the host has connected to in order to configure dashboards, tags, Management zones for the host its services and processes in an Automated way?

Just Basically how to Automate this whole process and also run at scale for instance on hundreds of servers. What would be the optimal approach leveraging on Monaco to avoid performing the configuration steps one at a time which can be time-consuming, tedious and error-prone

Dynatrace Certified Associate

Try with this tutorial: https://www.middlewareinventory.com/blog/terraform-aws-example-ec2/

This will help you understand how to run a terraform plan to launch an EC2 instance. 

With this module you can see how to install OneAgent on the target host:

https://github.com/millerkc/template_integration_dynatrace

 

and then last 3rd step - 

Configuration-as-code (aka Monaco 2.0) is a binary script that you can call in the Terraform module. For instance using local-exec:

https://developer.hashicorp.com/terraform/language/resources/provisioners/local-exec

 

More about Configuration-as-code (aka Monaco 2.0) - https://www.dynatrace.com/support/help/manage/configuration-as-code

 

Senior Product Manager,
Dynatrace Managed expert

echwallah
Advisor

Thanks a bunch @Radoslaw_Szulgo for this

Dynatrace Certified Associate

Featured Posts