https://github.com/boriszn/azurevalidationmiddleware
Azure Validation Middleware solution which build using Azure Functions, Azure Event Grid and Azure Queue demonstrates power of Event Driven Architecture.
https://github.com/boriszn/azurevalidationmiddleware
azure azure-devops azure-functions event-driven-architecture microservices
Last synced: about 2 months ago
JSON representation
Azure Validation Middleware solution which build using Azure Functions, Azure Event Grid and Azure Queue demonstrates power of Event Driven Architecture.
- Host: GitHub
- URL: https://github.com/boriszn/azurevalidationmiddleware
- Owner: Boriszn
- License: mit
- Created: 2020-01-15T14:53:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-24T13:38:32.000Z (about 5 years ago)
- Last Synced: 2024-05-22T23:20:53.620Z (11 months ago)
- Topics: azure, azure-devops, azure-functions, event-driven-architecture, microservices
- Language: PowerShell
- Homepage: https://itnext.io/event-driven-and-microservices-architecture-with-azure-function-and-azure-event-grid-51bd612d99b6
- Size: 4.58 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Azure Validation Middleware
Azure Validation Middleware solution which build using Azure Functions, Azure Event Grid and Azure Queue demonstrates power of Event Driven Architecture.
Solution was build using PowerShell Classes and uses OOP approach.Solution includes following azure resources:
- Azure EventGrid - as main event processor
- Azure Queue Storage - as event storage
- Azure Function - as microservice which contains all validation and message processing logicBelow the use case where current solution/architecture:
Subscription contains:
- Virtual Machines which grouped by recourse group or DevTestLab
- Automation account's runbook - which setups some tools on VM
(perform VM hardening process) which requires connection on one or several DatabasesCurrent solution validates if required DB is exist and if yes it will trigger runbook otherwise it will retry/check N times
and if it doesn't work after retries it will trigger alert within Log Analytics.Also following solution recommended to use in following cases:
- SSL certificate management (check certificate expiration time, log and inform, update certificate automatically)
- Create custom logic to build cloud expense reports
- Cloud resources backup, check availability and log using Log Analytics
- Resource clean up management## Hight-level Architecture

### Azure function's workflow


## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request