Which Azure Functions Plan Should I Choose for My Python Script?
Asked by
SkyfallWizard89
Hey everyone! I'm new to the Azure ecosystem and looking for some advice. I have a Python script that sends HTTP requests to crawl data about 5 to 10 times a week and then saves that data to a database. I'm thinking about using Azure Functions to host my code, but I'm confused about the different plans available, especially when it comes to pricing and resource requirements. Could anyone help me figure out which plan would be the best fit for my needs? Thanks a lot!
Answers
Flex Consumption can be a bit pricier for what you get, but it does have its uses, especially if your functions need to communicate with other Azure resources over a private endpoint. If that's relevant to your use case, it might be worth considering.
Reply to this answer
Based on your situation, I'd stick with the Consumption Plan if your database's security allows connections from serverless setups. Otherwise, you're left with Flex Consumption as your main option. In most cases, Consumption should work perfectly for what you're aiming for!
Reply to this answer
Everyone seems to agree the Consumption Plan is the way to go. You'll likely benefit from some free executions each month, and for a simpler scenario like yours, it makes sense to avoid the extra cost of Flex unless cold starts become a hassle.
Reply to this answer
I'd recommend going with the Consumption Plan. It usually ends up being the cheapest option for low-frequency tasks like yours, plus you only pay for the actual execution time. If you ever experience issues with cold starts, you can always switch to the Flex Consumption later on.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions