question

Adam Mann avatar image
Adam Mann asked

How Much Does PlayFab and Azure Functions Cost?

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:

  1. "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)
  2. "No, they will share the same resource and won't pay twice."
    (https://community.playfab.com/comments/43032/view.html)
  3. "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:

  1. "..." (3 days of radio silence. Maybe we're being ghosted?)
  2. "...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.

pricingsupport
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
JayZuo avatar image
JayZuo answered

Sorry for the confusion of the comment in the second answer (https://community.playfab.com/comments/43032/view.html). You are not paying twice, but for PlayFab CloudScript using Azure Functions, the total costs do have two parts.

The first part is the same as if you used Azure Functions without a PlayFab integration, which is mentioned in answer 1.

Answer 3 points out the second part, "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".

In your example, if we ignore Execution Time, then you are right, the total cost will be $0.40 ($0.20 for PlayFab metering and $0.20 for Azure Functions metering).

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

dylan-1 avatar image dylan-1 commented ·

I don't understand - you folks are quite literally named "Azure PlayFab" -> Why would there be any proxy fees from Azure PlayFab to Azure, @Jay Zuo? This makes sense if we call AWS (then it really is a proxy), but if you're calling Azure2Azure by following your cloud script guide, this fee shouldn't exist.

2 Likes 2 ·
Adam Mann avatar image Adam Mann commented ·

Thank you for clearing that up! Much appreciated. Faith restored.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.