If you'd like to see us expand this article with more information, such as potential use cases, alternative services, implementation considerations, or pricing guidance, let us know with GitHub Feedback!
Azure Event Grid can be used as an essential building block in the automation of cloud operations. One scenario is to simplify the management of resources, such as policy enforcement or tagging. For example, Event Grid can notify an Azure Automation account when a virtual machine is created. These events can be used to automatically check that the service configurations are compliant, put metadata into operations tools, tag virtual machines, or file work items. Event Grid can consume topics from multiple services in Azure. In this scenario, the Azure subscription is a source for the Event Grid.
Download an SVG of this architecture.
- A user deploys a new resource in Azure.
- The deployment creates the resource (in this sample, a VM).
- The deployment triggers the Event Grid.
- The event is fired, and the subscriber Automation account receives the event.
- The Automation account applies a tag to the new deployed resource (a task example).
- The event can optionally also be consumed by a Logic App, and the Logic App could make an entry in an operation tool (for example).
Review some of the following guides: