Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
I have figured out how we can use the ARM template to install site extensions into an App Service in Azure but now I am trying to ensure that we can automatically configure the extension to communicate to our SaaS controller. I have scoured this site as well as Stack Exchange and have not been able to find an answer that doesn't involve using a browser. We are going for a fully Agile solution that would automatically add microservices to the monitoring layer in our Enterprise. Adding the site extension is easy enough, the json file for the deployment is attached but here is the excerpt of the ARM code for adding the site extension to the App Service:
I am of the opinion that the page referenced below should be updated to reflect this way of deploying App Dynamics to Azure environments.
Following the referenced instructions above, I was able to create a switch in the ARM template that would control the setting of the required AppSettings for AppD.
The switch is a parameter:
And then in the appsettings section the parameters are set as:
"appdynamics.controller.hostName": "[if(equals(parameters('enableAPM'), 'Yes'), 'myController', '')]",
"appdynamics.controller.port": "[if(equals(parameters('enableAPM'), 'Yes'), '443', '')]",
"appdynamics.controller.ssl.enabled": "[if(equals(parameters('enableAPM'), 'Yes'), 'True', '')]",
"appdynamics.agent.accountName": "[if(equals(parameters('enableAPM'), 'Yes'), 'myCompany', '')]",
"appdynamics.agent.accountAccessKey": "[if(equals(parameters('enableAPM'), 'Yes'), 'myKey', '')]",
I was assuming that after the deployment of the ARM Template and the application were complete that as soon as I restarted the service the agent would be configured and start communicating with the controller. However, even though I am seeing the correct app settings when I browse the extension in Azure I am seeing blank values.
Does anyone know of a PowerShell command or API that I can use to cause the extension to be initialized without having to browse to the Azure App Service?
If you have an answer to my question great but I realized that I wanted to submit a ticket on the Support site not publish an article! If support solves my issue then I will happily update this article.
There is a powershell extension built in-house that is available here:
The extension helps automate variable creation across several websites without having to browse to the web application on the Azure portal.
I can only second your request for the update of the Docs. At least a reference example for a "how to use AppDynamics with Azure ARM" including an example ARM template for Java & .NET would be really helpfull.
I've updated the documentation with instructions for using an ARM template. Please let me know if you have any feedback or run into any issues.