Goal :
- Configuration of Alert Manager Basic Authentication in Microsoft Azure WebApp.
Pre-Requisite :
- Deploying AlertManager Image to Azure Container Registry Using Azure CLI
- Setup Alertmanager in Microsft Azure (WebApp) using Azure CLI
Steps
-
web.yml (Upload this file in **suryasalertmanager ** Storage Account Share)
basic_auth_users:
suryauser: $2a$12$6g5f3MZriVtoOZ7GrCEwzuTBxnPQwHurpktXTXUu1neg/XZeHzipy
-
Set an Startup Commmand for Alert Manager WebApp which includes web.yml
az webapp config set --name $WebAppName --resource-group $ResourceGroupName --startup-file `
"--config.file=/etc/alertmanager/config.yml --web.config.file=/etc/alertmanager/web.yml --storage.path=/alertmanager --cluster.advertise-address=0.0.0.0:9093"
Top comments (0)