Application Gateway Basic Tier pricing is off

Thomas Wöllert 10 Reputation points
2024-11-11T11:30:14.7+00:00

Hey,

I created a test project utilizing an Azure Application Gateway, forwarding traffic to a Hello World Container App.

I am confused by the pricing model and I feel its off compared to the calculator and Azure documentation.

The Azure Application Gateway I created is a "Basic" tier in 1 availability zone.

After 2,5 days I accumulated about 10 Euros of cost with basically nobody using it since its just a test page. I can see some minor random requests coming in from people most likely scanning the internet but nothing serious.

I then checked the metrics via the Azure Portal and it says:

  • Capacity units at 0,7 and sometimes at 2,5
  • Estimated billed capacity units 20

When I check the Azure calculator the basic tier Application Gateway is billed at about 20 Euros for a "Small" one. Weird thing is I cannot select Small, Medium or Large when creating the App Gateway in the Azure Portal.

So technically I am right now billed a "Standard v2" Tier, even though I selected the "Basic" version.
What is the issue here? Why is the cost equivalent to a "Standard v2" when only selecting the stripped down "Basic" version?

Regards,
Tom Wöllert

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,086 questions
{count} vote

2 answers

Sort by: Most helpful
  1. TP 99,056 Reputation points
    2024-11-13T14:35:27.9166667+00:00

    Hi Tom,

    Please verify that you are being billed using correct meterName/ product / effectivePrice / quantity /etc. for Application Gateway Basic v2. If it turns out you are being billed incorrectly I recommend you open a billing support case (it is free) so that they can issue a refund for the overcharge.

    For example, in your billing usage details you should see entries similar to below. I've omitted most of the columns for readability purposes and am showing USD price:

    meterName product effectivePrice
    Basic Capacity Units Application Gateway Basic v2 - Basic - DE West Central 0.008
    Basic Fixed Cost Application Gateway Basic v2 - Basic - DE West Central 0.027

    To export .csv file with your actual cost/usage data, please navigate to Cost Management -- Reporting + analytics -- Exports blade:

    Select appropriate Scope, click Create, click Cost and usage (actual), enter a prefix, Next, select the details of the storage account/container/directory where you want the .csv file to be exported to, select Compression type: None, Next, click Create.

    Once it has finished creating the export, select it and click Run now. Make sure it says it is queued and verify that execution shows as in progress by clicking on the export name and viewing run history at bottom.

    After 15-30 minutes if you go back in and check run history it should show as Succeeded. At this point you can navigate to the storage account container via the portal and download the .csv file to your local PC. Use Excel/Sheets/etc. to view the file and check if you are being charged correctly.

    If above is unclear and/or you are unsure about something add a comment below.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP


  2. DarylNZ 0 Reputation points
    2024-11-14T22:53:02.55+00:00

    Hi Thomas,

    I have exactly the same issues as you describe, we were looking to use the new Azure App Gateway v2 Basic SKU. Where the requirements did not necessitate the use of the higher SKU during the initial phase.

    Azure Pricing Calculator
    I ran into the same issue with the Azure Pricing Calculator when selecting the Tier Basic SKU and given the sizing options for Small, Medium and Large. I believe that the pricing calculator has not yet been updated with the Azure App Gateway v2 Basic SKU pricing.

    But is in fact showing the App Gateway V1 pricing. If you go to the https://azure.microsoft.com/en-us/pricing/details/application-gateway/ and select App Gateway v1, you will see the Application Gateway Types as Small, Medium, Largeimage

    Azure App Gateway v2 Basic

    I also ran into the same issue, where the metric shows that the App Gateway v2 Basic utilisation was around 2 to 3 compute units but the estimated billed capacity units was always 20 not matter what.

    This seemed incorrect, according to the table https://learn.microsoft.com/en-us/azure/application-gateway/overview-v2#sku-types.

    • The v2 Basic SKU was able to scale up to 200 connections per second and that each compute unit was capable of around 10 connections per second.
    • With some maths means, that 20 compute units is the maximum.
      For some unexplained reason, the v2 Basic SKU was running at maximum capacity with minimal load.

    I raised an Azure support case to try to understand why this was happening.

    In discussion with an engineer of the App Gateway product team, confirmed that this is currently the way it is. That the estimated billed capacity is 20 is correct. It seems odd to me for this to be the case.

    As accordingly, this prices the Azure App Gateway v2 Basic at over 80% to an Azure App Gateway v2 Standard with reduced features, limiting its usefulness.

    It was relayed to me that the 20 is made up of 2 instances x 10 compute units, hence the 20 units.

    I've asked for the documentation to reflect this as this is not clearly documented anywhere that I have been able to locate.

    I've also tried using Az PowerShell

    Set-AzApplicationGatewayAutoscaleConfiguration -ApplicationGateway $appgw -MinCapacity 1 -MaxCapacity 2

    It returns an error in essence that the App Gateway Basic instance does not support Autoscaling for the selected SKU tier Basic. Supported SKU tiers are Standard_v2, WAF_v2

    Billing
    I've looked at the Cost Analysis export, and it confirms indeed being billed at 20 capacity units for the Azure App Gateway v2 Basic SKU.

    In short, I believe that the Azure App Gateway v2 Basic SKU shouldn't be billed at the 20 compute units regardless of the traffic load as it effectively does not make a lot of sense in the introduction of this lower SKU.

    But this is what has been provided to me. Hopefully this design can be changed.

    Daryl

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.