App Service Flashcards
What are the benefits of App service?
- Built-in Auto-scale support and high availability
- CI/CD support
- Deployment slots
- Linux support
- Containerization and Docker support
- Connections to SaaS platforms using Hybrid connections and Azure Virtual Networks
- Serverless code (via Functions)
- Java and DotNet tools intergrations
- Built-in authentication
What languages are supported by App Service?
Supported languages:
- ASPNET (not on LInux)
- ASPNET Core
- NodeJS
- Java (TomCat, JBoss)
- PHP
- Python
- Ruby
What is the limitation with Linux for AppService?
App service on Linux is not supported on Shared pricing tier
What is Azure App Service Environment?
It is an Azure App Service feature that provides a fully isolated and dedicated environment for running App service apps securely at high scale.
ASE can be used with which App Service plan?
Isolated v2
Which all apps and services can be hosted by App Service Environment?
An App Service Environment can host your:
- Windows web apps
- Linux web apps
- Docker containers (Windows and Linux)
- Functions
- Logic apps (Standard)
What kind of applications is App Service Environment best suited for?
App Service Environments are appropriate for application workloads that require:
- High scale.
- Isolation and secure network access.
- High memory utilization.
- High requests per second (RPS).
In what usage scenarios is App Service Environemt can be used?
App Service Environments have many use cases, including:
- Internal line-of-business applications.
- Applications that need more than 30 App Service plan instances.
- Single-tenant systems to satisfy internal compliance or security requirements.
- Network-isolated application hosting.
- Multi-tier applications.
What are two primary uses of App Service Environment?
- Dedicated Environment
- Virtual Network support
How many App Service plans can be added to a App Service Environment?
up to 200 instances
How many instances can a App service Isolated v2 (Iv2) have?
up to 100 instances
What the number of vCore available for App Service Environment deployed on a dedicated host?
You’re limited in scaling across all App Service plans to the number of cores in this type of environment. An App Service Environment that’s deployed on dedicated hosts has 132 vCores available
What is the recommended size of App Service Environment v3 subnet?
/24 CIDR block with 256 addresses in it, as it cover the complete scale of ASE.
How is App Service Environment price charged?
With App Service Environment v3, the pricing model varies depending on the type of App Service Environment deployment:
- App Service Environment v3: If the App Service Environment is empty, there’s a charge as though you have one instance of Windows I1v2.
- Zone redundant App Service Environment v3: There’s a minimum charge of nine instances.
- Dedicated host App Service Environment v3: With a dedicated host deployment, you’re charged for two dedicated hosts per our pricing when you create the App Service Environment v3 and then, as you scale, you’re charged a specialized Isolated v2 rate per vCore
What is domain used for apps hosted in an App Service Environment with internal Virtual IP?
{appname}.{asename}.appserviceenvironment.net
What is domain used for apps hosted in an App Service Environment with internal Virtual IP?
{appname}.{asename}.p.azurewebsites.net
How can you disable Kudu build, if you are building during deployment?
To disable the Kudu build, create an app setting, SCM_DO_BUILD_DURING_DEPLOYMENT, with a value of false.
What is the “Always On” setting in App Service?
Keeps the app loaded even when there’s no traffic. When Always On isn’t turned on (default), the app is unloaded after 20 minutes without any incoming requests.
Always On is required for continuous WebJobs or for WebJobs that are triggered using a CRON expression.
What is ARR Affinity?
In a multi-instance deployment, ensure that the client is routed to the same instance for the life of the session.
What are the different SKU categories for App Service Plan?
- Free/Shared
- Basic (VNet)
- Standard (Auto-scale)
- Premium (premium resources) (v2 and v3)
- Isolated (Hardware level isolation, max instances) (v1 and v2)
How can you use SSL certificate in code in an App Service?
To access a certificate in your app code, add its thumbprint to the WEBSITE_LOAD_CERTIFICATES
app setting
How can you enable your Windows app to load SSL certificate file in an App Service?
ASP.NET and ASP.NET Core on Windows must access the certificate store even if you load a certificate from a file. Set WEBSITE_LOAD_USER_PROFILE=1
What are the different scaling types for App Service?
- Scale-up (vertical, more resources in same instance)
- Scale-out (horizontal, more instances)
What are the different scaling methods for App Service?
- Manual (Basic and up)
- Autoscale (Standard and up)
- Automatic scaling (Premium V2 and V3)