I recently set up an Azure Function that works like a bot, triggered every hour to make about 15 HTTP requests. I was under the impression that Azure offers up to 1 million function calls for free each month, and that storage costs would only be a few cents. However, I checked the cost analysis and noticed that my estimated cost for October is already $16! I'm fine with paying a couple of dollars for a hobby project, but $192 a year is way too much. Over the last two days, I've already incurred $0.36 for storage and $0.13 for Application Insights, which I believe is required for logging. Would it be a good idea to set it up again without Application Insights? What are the best practices to avoid this issue? I'd appreciate any helpful guides or resources!
4 Answers
It sounds like Application Insights might be the culprit here. If it’s misconfigured, it can significantly increase your costs. You might want to look into whether you can adjust its settings or even consider dropping it if logging isn't critical. Also, check your function's performance settings; there could be optimizations there that could save you money!
Honestly, have you thought about switching to a low-end App Service instead? It might be more cost-effective for your needs, especially if the serverless model isn't fully working out for you. Just make sure to check the pricing tiers.
What’s the cost for the lowest tier? It might be worth a look if it can help cut costs.
I think there might be a misunderstanding of the documentation regarding those million executions. They’re not entirely free if you’re triggering additional services. Make sure to read through the fine print—the costs can add up quickly!
Yep, always good to double-check the specifics! They can be tricky.
Azure Functions can definitely feel abandoned in some areas, but it's mostly about knowing how to use them effectively. If you’re getting high costs, looking into the App Service as a more stable alternative might help. Just be aware of what you need for your bot!
Yeah, I had the same issue once! I disabled Application Insights and my costs dropped drastically.