How to estimate costs of Container Apps?

Johnny 0 Reputation points
2023-04-14T10:22:09.29+00:00

how to count the cost of using container apps? For example let's take CPU. In metrics all I have is CPU usage in some point of time. But how to count if I reached or exceeded free limit of 180,000 vCPU-seconds?

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
419 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 24,546 Reputation points
    2023-04-18T06:06:06.91+00:00

    Hello Johnny,

    To calculate the cost of running your Azure Container App, you need to consider two types of charges, resource consumption and HTTP requests.

    For resource consumption, you are charged for the number of resources allocated to your container app on a per-second basis, billed in vCPU-seconds and GiB-seconds. The first 180,000 vCPU-seconds and 360,000 GiB-seconds in each subscription per calendar month are free.

    To determine if you have exceeded the free limit of 180,000 vCPU-seconds, you need to calculate the total vCPU-seconds used by your container app during the calendar month. You can do this by multiplying the number of seconds your container app was running by the number of vCPU cores allocated to it.

    For example, if your container app were running for 10,000 seconds and was allocated 2 vCPU cores, the total vCPU-seconds used would be 20,000 (10,000 seconds x 2 vCPU cores). If you have exceeded the free limit, you will be charged for the additional vCPU-seconds used at the applicable rate. You can find more information on Azure Container Apps pricing and how to calculate costs in your account's currency on the Azure Container Apps Pricing

    I hope this helps!

    Please don’t forget to Accept Answer and hit Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.


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.