App Service Plan
- It's a machine where the web apps will run
- One
app service plan
can have multipleweb apps
- One
app service plan
can runmultiple runtime stack
, but onlyone OS
-
One
app service plan
can run apps from thesame region
only -
SKU and sizes
-
Free (F)
: 1 GB disk. 10 apps. 60 min / day Shared (D)
: 1 GB disk. 100 apps. 240 min /dayBasic (B)
: 10 GB. Up to 3 instancesStandard (S)
: 50 GB. Up to 10 instances. AutoscalePremium (P)
: 250 GB. Up to 30 instances. AutoscaleIsolated
: 1 TB. Up to 100 instances. Autoscale-
App Service Linux
-
You are billed based on the consumpting of the app service plan, not the web app itself
App Service Environment (ASEs)
- When your app is assigned exclusively to a single
service plan
- Useful for huge applications (E.g., e-commerce portal)
Autoscaling
- Requires the
standard
app service plan -
For inferior app service plans, only manual scaling is allowed
-
Scale out
: increase number of instances Scale in
: decrease number of instancesScale up
: increate size of instances-
Scale down
: decrease size of instances -
Conditions
- Based on metrics of the app service plan
- CPU percentage
- Memory percentage
- Based on metrics of other azure resources
Cool down period
: time after a scale rule has been triggered in which no actions can be triggered againMaximum and minimum instances
: to avoid DDoS attacks