Create Azure Functions with Flask and automation
ฝัง
- เผยแพร่เมื่อ 6 ต.ค. 2024
- Find out how to get #Python Flask running with #Azure Functions and deploy it with Visual Studio Code. Then take it to the pro-level with GitHub Actions automation!
▬▬ 🔗 R E S O U R C E S ▬▬
Example repository → github.com/alf...
Flask on Azure docs → learn.microsof...
Azure Functions for AZ-900 Cert → • Azure Functions for th...
Hey thank you for the video really informative,
Can you state from your past experience what could be the usecase for having a flask inside a az function ? what's the utility of it ?maybe some practical examples would help me understand why would we do it ?
Thanks again !
Hi Alfredo ,I want to expose my Azure function endpoint to receive webhook requests. I wish to authenticate the incoming requests to the end point . I think this can be done using the authentication modules in flask?
Great question! You can definitely use Flask authentication modules. There are several ways you can do this. The simplest one would be to setup up a key-based authentication and let the function know with an environment variable. Have you read through this guide? learn.microsoft.com/azure/azure-functions/security-concepts?tabs=v4&WT.mc_id=academic-0000-alfredodeza
Building wheel for grpcio (setup.py): finished with status 'error'
Getting the error when click on stream logs in vs code "You must configure Application Insights to stream logs on Linux Function Apps."
my host.js file |{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensions": {
"http": {
"routePrefix": ""
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[3.*, 4.0.0)"
}
}