Below is a suggestions on scaling up my Azure Web App, Azure gives me.
I don't really understand, why Premium is cheaper than Standard, if it has more ACU, as well as the premium benefits. The machines are currently nearly idle, but I dont think this makes a differnece in that calculation.
S2
200 total ACU
3.5 GB memory
A-Series compute equivalent
116.97 EUR/Month (Estimated)
P1V2
210 total ACU
3.5 GB memory
Dv2-Series compute equivalent
70.80 EUR/Month (Estimated)
S3
400 total ACU
7 GB memory
A-Series compute equivalent
233.93 EUR/Month (Estimated)
P2V2
420 total ACU
7 GB memory
Dv2-Series compute equivalent
142.21 EUR/Month (Estimated)
Under normal circumstances, the price of scale up my Azure Web App can be calculated.
On calculator(P2V3).
On portal(P2V3).
On calculator(S3).
The price calculated through the Azure Calculator should not appear as you said, but the actual price is related to the subscription, so the benefits you enjoy will be different.
My subscription is not pay as you go type, so there will be different degrees of discount. Under normal circumstances, prices are calculated through the azure calculator. The actual payment is based on the price you see on the portal (may be related to subscription, enjoy different discounts).
Related
I have a linux VM on azure, it's Standard A1 v2 (1 vcpus, 2 GiB memory) and forecast costs when choosing size are 25.24 euros, but after almost a month it costed me 86 euros. Cost analysis section says, that storage costed 50 euros. I don't have any disks except for this VM.
What can I do? How can I minimize costs?
the forecast cost might be correct for the vm resource itself BUT you have to add the disk cost. These cost may vary depending on the option you choose:
Standart HDD
Standart SSD
Premium SSD
Ultra Disk
LRS oder GRS
I suggest you check the Azure pricing calculator for your specific disk configuration. This will give you the exact price!
Jan
Context: We are trying to measure the performance of an application running under an ASP (Azure Service Plan), we are evaluating it under P1V2 (refer the below image). We have 210 ACU available and by math it should be multiplied by 6/4 as per the scale up rule because can be observed from the resource count graph.
Scale Up Image Rule:
resource count graph
During the performance evaluation observed 90% CPU spike, is there a way to caluclate how much ACU has been utilized during the test ?
Have enabled App insight for it for not getting any much information.
Will I be charged if I host my application on Azure App Service more than 60 min even if my app does not do any processing?
The answer is NO.
Under App Service -> App Service Plan -> Quotas you can see a detailed breakdown of usage such as an example below for a website I created hours ago but showing only 1.11 minutes of usage:
I got the answer from AjayKumar-MSFT's answer from this post at a Microsoft forum, then proceeded to test it myself.
You could go serverless with Azure Functions, host in a Consumption plan and only pay for execution time. It's a bit more complicated than that but in essence you don't pay for idle code, which i believe is what you're after.
https://azure.microsoft.com/en-us/pricing/details/functions/
Functions are billed based on observed resource consumption measured in gigabyte seconds (GB-s). Observed resource consumption is calculated by multiplying average memory size in gigabytes by the time in milliseconds it takes to execute the function. Memory used by a function is measured by rounding up to the nearest 128 MB, up to the maximum memory size of 1,536 MB, with execution time calculated by rounding up to the nearest 1 ms. The minimum execution time and memory for a single function execution is 100 ms and 128 mb respectively. Functions pricing includes a monthly free grant of 400,000 GB-s.
A very detailed example is found under that URL.
My answer is NO. if CPU time exceeds no charge will cost rather site will be stopped and it will be working after a certain time next day. Under App Service -> App Service Plan -> Quotas you can get details of CPU time and memory. It is clearly mentioned in Quotas that Applications hosted in a free or shared App Service plan are subject to usage quotas. If any quota is exceeded the site will be stopped until that quota resets. You can remove quotas on your app by scaling up your App Service Plan.
The costs depend on the pricing plan you choose for your app. There are several plans available to choose from. You could choose the Free plan and you won't incur costs but this plan is mostly meant for experimenting with the platform. It doesn't provide any SLA.
You can find more details about the pricing at the following links
App Service pricing
App Service Plans
And yes, your app will incur costs even if it is not consuming any CPU since it is allocated resource (a VM) and is running.
What processor is Microsoft App Service V1 running on?
V2 seems to be running on Dv2-series VMs:
"The new Premium V2 tier features Dv2-series VMs with even faster processors, SSD storage, and double the memory-to-core ratio compared to the previous compute iteration."
https://azure.microsoft.com/en-us/blog/azure-app-service-premium-v2-in-public-preview/
However, what is the corresponding VM, CPU or performance of the previous compute iteration?
What would (roughly) be the CPU performance difference between P1 and P1V2 (or for example between a 4-core P3 and a 2-core P2V2)?
Edit According to this article - https://cloudspectator.com/microsoft-azure-dv2-vs-ds-comparison/ - Dv2 would be roughly 35% faster than Dv1 which would be roughly 60% faster than A (https://cloudspectator.com/wp-content/uploads/report/generational-performance-comparison-microsoft-azures-a-series-and-d-series.pdf) which is used in the V1 app services as stated in the accepted answer
Basic, Standard and Premium V1(including V1 App Service Environments) run on A series VM's.
Premium V2 and Isolated Sku(App Servicement Environment V2) run on Dv2 series machines.
If anyone considering Azure Service Plan and confused to use A-Series (S,S2,S3) or Dv2-Series (P1V2, P2V2, P3V2), should consider Dv2-Series.
In Simple Dv2-Series are said to be double or more resources (CPU, RAM and storage) and better performance. Please refer to article Announcing pricing decrease for Azure App Service on the Premium plan for more details.
With the new price reduction, it is more economical from a performance perspective (and more powerful!) to run a P1v2 App Service plan rather than an S1 App Service plan. This is also true for the other size plans when moving from S2 > P2v2 and S3 > P3v2, with each providing double the performance and memory of the comparable Standard plan. This can be seen in the green arrows in the image above.
Need help on below points:
Data out limit for free tier is 165 MB. How is data out usage calculated?
I am using a free tier subscription type. Why does Memory usage increase as soon as memory resets after 1 hour? Why does my application take 230-240 MB of memory initially?
I have a free tier account with credit amount xxx Rs. Can I use the free tier amount for another subscription like basic or standard?
Are there any data out and memory usage limit for other subscriptions like basic/Premium/standard?
Outgoing traffic
Its the memory taken by the IIS instance, thats expected in Azure
I don't understand, but you can use money from your subscription and you cannot use Tiers together, so pay for a free tier, but get all the benefits of a Premium Tier.
You can take a look at the limits on the pricing page.