This script permits to deploy quickly several Ubuntu VM with Docker Engine on an Azure subscription. It's usefull for a workshop and Dynatrace Training. Several options are available to deploy and start automatically easytravel with OneAgent installation and configuration deploy with Monaco.
Open your azure subscription, https://portal.azure.com/
Open your azure cli like described here :
Go to your Azure Cli and apply these commands
cd;if [ -d "./lab-environment-for-dynatrace-training" ];then rm -rf ./lab-environment-for-dynatrace-training;fi
git clone https://github.com/JLLormeau/lab-environment-for-dynatrace-training.git
cd lab-environment-for-dynatrace-training;chmod +x ./azure-cli-deploy-vm-windows-and-linux-for-training-dynatrace.sh
curl -L https://github.com/Dynatrace/dynatrace-configuration-as-code/releases/latest/download/monaco-linux-amd64 -o monaco
chmod +x monaco
./azure-cli-deploy-vm-windows-and-linux-for-training-dynatrace.sh
CONFIGURATION :
- config env : training name =demodomaine
- config env : password =DummyP@ssword00
- config env : value fisrt env =01
- config env : nbr total env =3
- add env : windows VM to env =N
- add env : easytravel installed =Y
- add env : cron to stop Mongo at 11 H GMT =Y
- stop Mongo : hour (GMT) of Mongo shutdown =11
- full configuration : OneAgent + run Monaco =Y
- start env : VM started after installation =N
A) apply and deploy the VM - (Ctrl/c to quit) A
ENVIRONMENT : Linux user01;mydemoenvironment01.francecentral.cloudapp.azure.com user02;mydemoenvironment02.francecentral.cloudapp.azure.com user03;mydemoenvironment03.francecentral.cloudapp.azure.com
if option 8_full configuration with OneAgent installed + Monaco = Y PARAMETER :
- Tenant =xxxx.live.dynatrace.com
- API Token =dt0c01.abcdefghij.abcdefghijklmn
- List of emails =[email protected] [email protected] (optional)
A) apply and deploy the VM - (Ctrl/c to quit)
Selet A for starting the installation (env 5 minutes / VM):
Shell-in-the-box (putty) => https://mydemoenvironment01.francecentral.cloudapp.azure.com/
easytravel classic => http://mydemoenvironment01.francecentral.cloudapp.azure.com/
easytravel angular => http://mydemoenvironment01.francecentral.cloudapp.azure.com:9079/ (no VPN !! - only with a direct access)
At the end, use the script delete_resourcegroup to clean your Azure environement.