manuel284 / udacity-azure-dev-vote

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application Insights

Azure Log Analytics Workspace and Azure Application Insights resources are created.

ai rg

Application Insight Events that show the results of clicking vote for each Dogs & Cats

events votes

The output of the traces query in Azure Log Analytics

traces

The chart created from the output of the traces query

traces pie

Kubernetes Cluster

The output of the Horizontal Pod Autoscaler, showing an increase in the number of pods

aks autoscale

The Application Insights metrics which show the increase in the number of pods.

aks ai

The alert I created.

aks alert portal

The email I received from the alert when the pod count increased.

aks alert email

Autoscaling VMSS

Successful deployment via Azure Pipeline: vmss pipeline

Initial instance.

vmss initial

The conditions for which autoscaling will be triggered (found in the 'Scaling' item in the VM Scale Set).

I used the 'Network Out Total' as the scaling metric. vmss settings

The Activity log of the VM scale set which shows that it scaled up with timestamp.

vmss scaleup activitylog

The new instances being created.

vmss scaleup instances

The metrics which show the load increasing, then decreasing once scaled up with timestamp.

vmss metrics

Runbook

I created a runbook that starts the VMSS. The alert gets triggered when the VMSS gets delocated.

The alert configuration in Azure Monitor which shows the resource, condition, action group, and alert rule details.

runbook alert1 runbook alert2 runbook alert3 runbook alert4

The email I received from the alert when the Runbook was executed.

runbook email

The summary of the alert which shows 'why did this alert fire?', timestamps, and the criterion in which it fired.

runbook alert triggered runbook alert triggered2

Runbook history with input and output: runbook job input runbook job output

VMSS activity log showing that the VMSS was stopped by me and started by the runbook: runbook activitylog

About

License:Other


Languages

Language:Python 42.8%Language:Shell 35.0%Language:CSS 13.6%Language:HTML 8.6%