Slide of the session held @ DevOps Heroes 2019 in Parma.
Session video is available here: https://youtu.be/0ZK1SQ6zkiU
Demo scripts are available here: https://github.com/OmegaMadLab/StartingWithPoshAzureFunctions
8. #DOH19 9
Piani di servizio
Resource Consumption plan Premium plan (preview) App Service plan
Scale out Event driven Event driven Manual/autoscale
Max instances 200 20 10-20
Cold start ✅Yes ❌No ❌No
Default time out duration (min) 5 30 30
Max time out duration (min) 10 unbounded unbounded
ACU per instance 100 210-840 100-840
Max memory (GB per instance) 1.5 3.5-14 1.75-14
Function apps per plan 100 100 unbounded
App Service plans 100 per region 100 per resource group 100 per resource group
Storage 1 GB 250 GB 50-1000 GB
Vnet integration ❌No ✅Yes ✅Yes
https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale
20. #DOH19 21
Sicurezza
• Networking
• IP restrictions e service endpoint
• ASE
• Verso l’esterno
• Managed Service Identity
• Sull’invocazione
• Function e master key
• Integrazione con authentication providers
• Gestione dei dati sensibili
• App Settings
• Integrazione con Key Vault
22. #DOH19 23
Materiale utile
• Session video
https://youtu.be/0ZK1SQ6zkiU
• Demo
https://github.com/OmegaMadLab/StartingWithPoshAzureFunctions
• Documentazione ufficiale
https://docs.microsoft.com/en-us/azure/azure-functions/
• Interazione con Azure AD
https://github.com/eamonoreilly/ManageAzureActiveDirectoryWithPowerShellFunction
• Creazione SendGrid account ed integrazione in Azure Functions
http://www.omegamadlab.com/2019/10/21/using-sendgrid-binding-from-powershell-in-azure-functions/
• Invocazione Az Function con AAD authentication da Logic App
http://www.omegamadlab.com/2019/10/26/calling-an-azure-function-with-azure-ad-authentication-from-a-logic-app/
• Esempio di scalabilità con dedicated plan
https://artisticcheese.wordpress.com/2019/08/20/automation-at-scale-in-azure-with-powershell-azure-functions/
• Scalabilità PSWorkerInProcConcurrencyUpperBound
https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-powershell#concurrency