Azure Functions
Azure Functions is an event driven, compute-on-demand experience that extends the existing Azure application platform with capabilities to implement code triggered by events occurring in other Azure services, SaaS products, and on-premises systems. With Azure Functions, your applications scale based on demand and you pay only for the resources you consume. Azure Functions provides an intuitive, browser-based user interface allowing you to create scheduled or triggered pieces of code implemented in a variety of programming languages.
-
Allow running headless Chrome (or other browser) in Function apps or Web apps
Basically it's this:
https://cloud.google.com/blog/products/gcp/introducing-headless-chrome-support-in-cloud-functions-and-app-engineNow obviously Google has a bit of an advantage here what with Chrome being their own tech but there are so many blogs out there with people talking about complicated Docker solutions just to run headless Chrome in the cloud.
It would be great if we could get a solution where we could run Puppeteer in much the same way, or allow web apps to run Chrome without having to be inside Docker and we could manage a pool of Chromes without having to manage Docker as well.
60 votesWe now have the necessary dependencies for running headless Chromium in the Linux Consumption plan! ⚡️ See this article to get started: https://dev.to/azure/running-headless-chromium-in-azure-functions-with-puppeteer-and-playwright-2fgk
Please try it out and file an issue here if you need help: https://github.com/Azure/azure-functions/issues
- Anthony
-
Support for additional PowerShell modules in managedDependency besides core Az
There are modules for managing Azure components outside core Az module, for example Az.Security, Az.Blueprint. Other 3rd party modules could be used within the function, e.g. AzSK.
Current way how to use these modules is to package them with function code inside special /Modules folder. For Azure modules outside core Az module, customer has to manage dependency on core Az module. Azure Functions PowerShell runtime and Az module gets updated without user consent so this can bring breaking changes each time, thus runtime is very fragile.
Proposed solution to this:
- allow users to pin to specific versions of core…1 voteThis is available as part of PowerShell support general availability. You can see an example of this on https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-powershell#dependency-management where you can specify any module on the gallery as well as pin to specific versions
- Don't see your idea?