< Previous Challenge - Home - Next Challenge >
After deploying your initial solution for eShopOnWeb, you want to make sure that the telemetry is collected from the VMs deployed and display the results on a dashboard for visualization and alerting purposes. To accomplish this, you will have to understand the concept of counters, how to collect them, and how to display them on a dashboard using Datadog.
Once you have configured the counters to be collected, you will use two tools to simulate a load on the eShopOnWeb resources:
Feel free to achieve these objectives using the Azure portal, Datadog portal, Azure CLI, or Terraform.
In the eShopOnWeb Azure environment, there are three compute resources to be aware of:
vmss-wth-monitor-d-XX
- Virtual Machine Scale Set (VMSS) hosting the eShopOnWeb web sitevmwthdbdXX
- Virtual Machine running SQL Server 2019 hosting the eShopOnWeb databasevmwthvsdXX
- Virtual Machine running Windows Server 2022 + Visual Studio 2022 + SQL Management Studio to act as a “jumpbox” that you will login to for administrative tasks.Note The “XX” in each resource name will vary based on the Azure region the eShopOnWeb Azure environment has been deployed to.
Azure Bastion has been configured to enable you to securely login to any of these VMs with a Remote Desktop session through a web brower.
To login to a VM via Azure Bastion, navigate to the blade for any of these VMs in the Azure portal, click the “Connect” button, and select “Bastion”. Use the username and password provided in Challenge 0.
In this challenge you need to complete the following management tasks:
Note Use SQL Auth with the username being “sqladmin” and password being whatever you used during deployment in Challenge 0.
status
subcommand and look for sqlserver
in the Checks sectionsqlserver.queries.count
in Metrics ExplorerNow that Datadog is configured to monitor the eShopOnWeb resources, it is time to simulate load on the SQL Server database and the eShopOnWeb website:
cpuGenLoadwithPS.ps1
script located in the /Challenge-02
folder of the student resource package.
To complete this challenge successfully, you should be able to: