This has been an annoying question to find a clear and concise answer for. I've scoured the Azure websites and forums while my producer has been jerked around by MS Azure Sales Specialists, all to no avail.
Here's a clearer version of the question:
Assuming that we are using the PlayFab Standard plan and the Azure Functions Consumption plan, if we execute 2 million C# cloudscripts in a given month, how much extra can we expect to pay (ignoring the "execution time" metric, for simplicity's sake)? Would it be $0.40 ($0.20 for PlayFab metering and $0.20 for Azure Functions metering)?
First, the forums. Here are answers I've found to my question so far:
- "The cost of Azure Functions will be charged by Azure, please check this documentation for more details. If you have more questions about the cost of Azure Functions, please contact the support of Azure," or in other words, "lol. I don't know! Find out yourself."
(https://community.playfab.com/questions/48266/cloudscript-and-azure-functions-costs.html) - "No, they will share the same resource and won't pay twice."
(https://community.playfab.com/comments/43032/view.html) - "That being said, in addition to the cost charged by Azure Functions, PlayFab also charges the number of calls ( Total Executions ) made to Azure Functions via ExecuteFunction API calls, actions & rules, and scheduled tasks, which is a minor cost about $0.20 per additional million executions. This makes sense since it does require PlayFab to do some work, such as passing the context to AF, keeping a socket connection open for AF results, etc.", or in other words, "Yep!"
(https://community.playfab.com/questions/46599/how-to-calculate-cost-with-playfab-cloudscript-usi.html)
When Iattempted to reached out to support via the "Sales Chat" widget on the Azure Functions pricing page, the salesperson linked me to the same general documentation pricing pages I've already pored over, and then followed a script to get me in touch with Sales Specialists.
2 Sales Specialists have reached out to us so far, and when asked this question about pricing this has been their responses:
- "..." (3 days of radio silence. Maybe we're being ghosted?)
- "...Unfortunately, this project isn’t a good fit for our team."
We're in the valuation phase for which backend service we should use, and we cannot get a simple answer to our pricing questions. This is a really bad look for MS Azure, especially if this is any indication of what being a PlayFab customer will be like in the long haul.