question

AzureUser-9588 avatar image
0 Votes"
AzureUser-9588 asked AlanKinane commented

AppService

If I run Azure App Service for 45 seconds will I be charged for the complete hour? (say I deleted the resources after testing)

If I run Azure App Service for 1 hour 25 seconds will I be charged for two hours? (say I deleted the resources after testing)

If my App Service is scaled out to 5 instances and ran for 10 minutes, then how will I be charged? (say I deleted the resources after testing)

azure-webapps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AlanKinane avatar image
0 Votes"
AlanKinane answered AlanKinane commented

I think the below should answer your questions. You basically get charged per instance for per second of usage.

You're charged an hourly rate based on the pricing tier of your App Service plan, prorated to the second.
The charge is applied to each scaled-out instance in your plan, based on the amount of time that the VM instance is allocated.

https://docs.microsoft.com/en-us/azure/app-service/overview-manage-costs#how-youre-charged-for-azure-app-service

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Actually that line is little confusing, Hourly rate means, does the below statements are true?

If I run Azure App Service for 45 seconds will I be charged for the complete hour? (say I deleted the resources after testing)

Billed for 1 complete hour rounded off

If I run Azure App Service for 1 hour 25 seconds will I be charged for two hours? (say I deleted the resources after testing)

Billed for 2 hours.

If my App Service is scaled out to 5 instances and ran for 10 minutes, then how will I be charged? (say I deleted the resources after testing)

Billed for 5 hours.

0 Votes 0 ·

It is prorated to the second, so you are charged per second of usage, not per hour. An hourly billing rate is provided as this is easier to understand than a per second rate. So if you have a single instance App Service deployed for 45 seconds before you delete it then you can expect to be billed for 45 seconds of usage only.

0 Votes 0 ·