Dynatrace offers several tools to help you successfully migrate your configuration from a Dynatrace Managed environment to the SaaS environment. The table below will help you select the appropriate tool for your environment, your configuration experience, and the upgrade approach you intend to follow.
To avoid configuration compatibility issues, update your Dynatrace Managed deployment to the latest version. The best practice is to update Dynatrace Managed to the same version as your SaaS environment.
Tool name
Should I use it?
recommended
The SaaS Upgrade Assistant lets you easily import your Dynatrace Managed configuration to your SaaS environment and edit it in simple UI.
If you already use Dynatrace Configuration as Code via Monaco or Dynatrace Configuration as Code via Terraform, you can repoint the target to your SaaS environment.
Use one of the following migration procedures, depending on your selected tool.
recommended
To migrate your configuration using the SaaS Upgrade Assistant, see SaaS Upgrade Assistant.
With this approach, you export the Dynatrace Managed environment's configuration in the Cluster Management Console and upload it to the app.
To migrate your configuration using Monaco
manifest.yaml
In the environment’s web UI, go to Access tokens and select Generate new token.
Type a token name and set a feasible expiration date.
Select the scopes below:
Store the token in a secret place. For example, use a password manager.
Create an operating system environment variable with the token value. For example, on Linux systems:
export ENV_TOKEN_PRODUCTION_FIN= dt0c01.abc123.abcdefjhij1234567890
Add the environment data to the manifest.yaml
:
projects
fieldExample manifest.yaml
:
manifestVersion: 1.0projects:- name: production-fin- name: production-logisticsenvironmentGroups:- name: managedenvironments:- name: production-finurl:value: https://foo123.dynatrace-managed.com/e/1231aaa1-1111-434e-8111-11abcd1234a1token:name: MIGRATION_TOKEN_PROD_FIN- name: production-logisticsurl:value: https://foo123.dynatrace-managed.com/e/2345bbb3-3333-456b-1566622abcd3456a1token:name: MIGRATION_TOKEN_PROD_LOGISTICS
monaco download manifest manifest.yaml
Create your SaaS environment configuration. Apply the steps described in step 3 above, but set the token scope as follows:
Change data privacy settings.
Example:
environmentGroups:- name: saasenvironments:- name: abc1234456url:value: https://abc1234456.live.dynatrace.comtoken:name: ENV_TOKEN_SAAS
Run Monaco using the deploy command:
monaco deploy -e saas
Resolve problems and conflicts as stated in the output log.
Use skipDeployment: "true"
for unsupported or duplicated configurations and recreate them manually.
Now your configuration should be replicated in your new SaaS environment.
To migrate your configuration using Configuration as Code via Terraform, follow the migration guide.
Dynatrace Configuration as Code implementations don't support all settings that you use. To ensure a complete configuration migration, you need to check and manually migrate the additional settings listed below.
Visit the Upgrade to SaaS forum to ask questions, get answers, and share what you've learned with others.