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
Configuration-as-code (aka Monaco 2.0) is a binary script that you can call in the Terraform module. For instance using local-exec:
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
Try with this tutorial: Terraform AWS Example - Create EC2 instance with Terraform | DevOps Junction
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:
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:
More about Configuration-as-code (aka Monaco 2.0) - Configuration as Code overview — Dynatrace Docs
Thanks a bunch @Radoslaw_Szulgo for this
This is quite a bit later, but you may be interested in using the Dynatrace Terraform Provider
It is supported by Dynatrace:
You can also use it’s export functionality to help you get started with .tf files that match your current configs:
Export all:
Export specific resource type: