Following-up from the comments.
1.What about be monthly charges for running this sample?
Web PubSub service is currently available in Free, Standard, and Premium tiers. These tiers are differentiated by the number of concurrent connections, messages and maximum units allowed.
(screenshot below which summarizes the difference between tiers)
2.With your requirement/resources - Leverage Azure pricing calculator to get an estimate of the cost : https://azure.microsoft.com/pricing/calculator/?service=web-pubsu
3.You cannot pause the resource, but can stop the Azure resource.
4.Azure Web PubSub doesn't store any customer data. If you use Azure Web PubSub service together with other Azure services, like Azure Storage for diagnostics, see Azure Privacy Overview (white paper) for guidance about how to keep data residency in Azure regions.
5.MQTT support in Azure Web PubSub is in preview stage. We do not have an ETA to share on this yet. I have also relayed the feedback internally.
Create an emulator for Web PubSub similar to what is available for SignalR (Azure feedback)-We do not have any update on this feedback item, as soon as we have more update, will post back.
6.Currently, we do not have an ETA to share on this yet. We have relayed the feedback internally.
Reference:
If the answer helped (pointed, you in the right direction) > please click Accept Answer.