Cloud service · Azure · Updated

App Service - Azure App Service is a managed platform for hosting web applications, REST APIs, and mobile back ends on Windows or Linux.

In short

App Service runs application code or custom containers while Azure manages the underlying hosting infrastructure, platform maintenance, and HTTP load balancing. Engineers configure hosting capacity through App Service plans and add deployment automation, identity, networking, and monitoring according to application requirements.

Cloud Services Hub →

10 key features of App Service

01
Managed runtime and container hosting

Run supported application stacks or custom Windows and Linux containers without managing worker operating systems directly. Verify operating-system compatibility and runtime support dates, and rebuild custom images to apply dependency and image updates.

02
Plan-based capacity and scaling

Choose compute size and worker count through an App Service plan, then use supported autoscaling capabilities to match demand. Applications sharing a plan compete for its resources, so monitor aggregate utilization before consolidating workloads.

03
Deployment slots

Use staging slots on supported tiers to deploy and validate a release before swapping it into production. Configure slot-specific settings for environment-dependent connections and keep database migrations compatible with both application versions.

04
Continuous deployment

Integrate with GitHub Actions or Azure Pipelines to build, test, and deploy code or containers. Use repeatable infrastructure definitions and deployment checks rather than relying on manual portal changes.

05
Authentication and managed identities

Built-in authentication can require users to sign in through Microsoft Entra ID or other supported identity providers. Managed identities let the application authenticate to compatible Azure services without storing application credentials.

06
Private networking controls

Combine private endpoints for inbound access with virtual network integration for outbound connectivity on supported tiers. Access restrictions, public network access settings, routing, and DNS must be configured for the intended traffic paths.

07
Custom domains and HTTPS

Bind application domains and configure TLS certificates, including free managed certificates for eligible scenarios. Enforce HTTPS and select an appropriate minimum TLS version for clients.

08
Operational diagnostics and health checks

Collect application logs, platform metrics, and distributed traces to diagnose failures and capacity constraints. Configure Health Check to help the platform identify unhealthy instances, and use alerts to trigger operational response.

09
Isolated hosting with App Service Environment

Use App Service Environment when workloads require a single-tenant environment deployed into a virtual network. Evaluate its capacity and cost requirements against the multitenant service with private networking before choosing it.

10
Managed geo-redundancy preview

The public preview creates and manages regional application replicas, synchronizes supported content and configuration, and exposes a global endpoint. Passive mode supports regional failover, while Active mode distributes traffic across healthy regions; application data replication remains a separate design concern.

Where App Service is used

  1. 01
    Public websites and transactional web applications

    Host customer-facing applications with custom domains, HTTPS, deployment slots, and scalable compute. Keep transactional data in a managed database and place a web application firewall in front when required.

  2. 02
    REST APIs and mobile back ends

    Run HTTP APIs that serve browser applications, mobile clients, or partner systems. Combine application authentication with API Management when consumers need quotas, subscription controls, or a managed API gateway.

  3. 03
    Internal business applications

    Expose employee applications through private endpoints and authenticate users with Microsoft Entra ID. Connect corporate networks through VPN or ExpressRoute and configure DNS so clients resolve the application's private address.

  4. 04
    Migration of existing web applications

    Move compatible IIS, .NET, Java, or other web workloads from servers to managed hosting. Assess filesystem assumptions, native dependencies, authentication behavior, and background processing before migration; containerization can address some runtime packaging requirements.

  5. 05
    Containerized web workloads without cluster management

    Deploy a custom container when the application needs a specific runtime or dependency set but does not require Kubernetes orchestration. Store images in a registry, configure image-pull authentication, and monitor startup behavior and resource consumption.

  6. 06
    Network-isolated enterprise hosting

    Use App Service Environment for applications that require single-tenant hosting and direct placement within a virtual network. This suits selected regulated or high-scale workloads where multitenant hosting with private endpoints does not meet the requirements.

How App Service is priced

Free and Shared tiers

These entry-level tiers use shared compute with quotas and limited features, primarily for learning, development, and evaluation. Availability differs by operating system, and these tiers are not substitutes for production capacity with a financially backed availability commitment.

Dedicated plans with usage-based billing

Basic, Standard, and Premium tiers charge for provisioned plan instances according to region, operating system, instance size, and tier. Several applications can share the same plan without a separate compute charge per application, but the plan remains billable when applications are stopped.

Isolated plans

App Service Environment uses Isolated-tier plans with pricing determined by the selected configuration and provisioned capacity. Review the environment configuration, instance counts, and associated network charges when estimating total cost.

Reservations and savings plans

Eligible App Service compute can receive discounted pricing through Azure reservations or Azure savings plans for compute in exchange for a term commitment. Check SKU, region, operating-system, and benefit eligibility before purchasing, and size commitments against a stable usage baseline.

Additional service and network charges

Budget separately for databases, monitoring ingestion and retention, container registries, private endpoints, gateways, and applicable data transfer. Domain purchases and paid certificates can also add charges; eligible free managed certificates do not cover every certificate scenario.

Services App Service works with

A common App Service architecture separates HTTP hosting, persistent data, identity, and observability. The application runs in an App Service plan, stores relational records in Azure SQL Database, and uses its managed identity for supported downstream authentication. Microsoft Entra ID handles user sign-in, while Key Vault holds remaining secrets such as external-provider credentials. Application Insights captures requests and dependency calls so engineers can trace failures across components.

For private architectures, virtual network integration provides outbound access to database, vault, or registry private endpoints. An application's own private endpoint handles inbound connections instead. These are distinct traffic paths and need deliberate subnet, routing, and DNS configuration. Corporate clients can reach private applications through connected networks, with private DNS resolution extended to those clients.

Public applications commonly use Azure Front Door for edge routing and web application firewall protection, or API Management for API-specific policies and consumer access controls. Restrict the underlying application endpoint to prevent gateway bypass. Container-based deployments can pull versioned images from Azure Container Registry. Across these patterns, provision connectivity, permissions, deployment configuration, and monitoring together so releases remain reproducible and operational failures are diagnosable.

Azure SQL Database

Use Azure SQL Database as the relational data tier for an App Service application. For example, an order-processing API can authenticate with its managed identity after the database is configured for Microsoft Entra authentication and the identity receives appropriate database permissions. For private connectivity, combine App Service virtual network integration with a SQL private endpoint and correct DNS resolution.

Azure Key Vault

Use Key Vault references in application settings for secrets that cannot be replaced with identity-based access. For example, keep a third-party payment-provider credential in Key Vault and grant the application's managed identity permission to read it. Network-restricted vaults also require appropriate outbound connectivity and DNS; secret updates should account for reference caching and refresh behavior.

Azure Monitor

Use Application Insights for request traces, exceptions, and dependency telemetry, alongside Azure Monitor metrics and diagnostic settings. For example, correlate an API latency increase with slow SQL calls and configure an alert for elevated server errors. Enable supported automatic instrumentation or instrument the application explicitly, and set retention and sampling policies to control telemetry volume.

Azure Front Door

Place Azure Front Door before App Service for global HTTP routing, edge TLS, and optional web application firewall policies. For example, route users to healthy applications in two Azure regions while application data is replicated separately. Restrict direct origin access; Front Door Premium can use Private Link to supported App Service origins, while public-origin designs need suitable origin access controls.

Azure Container Registry

Store custom application images in Azure Container Registry and configure App Service to pull them using a managed identity with the required registry permissions. For example, a build pipeline can publish a versioned image and deploy it to a staging slot for validation. Network-restricted registries require the appropriate image-pull routing, virtual network connectivity, and private DNS configuration.

API Management

Use API Management as a gateway in front of APIs hosted on App Service. For example, expose a partner API with subscription requirements, request validation, and rate-limit policies while keeping business logic in the web application. Configure backend authentication and network restrictions so callers cannot bypass gateway policies through the application's direct endpoint.

Azure Adaptive Virtual Patching

App Service can use Adaptive Virtual Patching to mitigate known vulnerabilities in supported Java applications at runtime, giving teams time to update the affected dependencies and redeploy.

Azure Advisor

App Service plans receive Advisor recommendations based on their configuration and usage. For example, Advisor can identify an underutilized plan that may be a candidate for a lower-cost tier.

Azure AI Bot Service

App Service can host a bot's HTTPS messaging endpoint. Azure Bot Service forwards messages from configured channels to that endpoint, where the bot code processes them and returns replies.

Azure App Configuration

App Service can use Service Connector to configure access to an App Configuration store with a managed identity. The application can then load centrally managed settings and feature flags without storing an access key.

Alternatives to App Service in other clouds

AWS

AWS Elastic BeanstalkAWS Elastic Beanstalk

AWS Elastic Beanstalk and Azure App Service both deploy and host web applications with managed load balancing and options for autoscaling. Elastic Beanstalk offers single-application deployments on EC2 and shared clusters on EKS, while App Service lets multiple applications share an App Service plan; Beanstalk bills for the AWS resources provisioned, while dedicated App Service plans bill for provisioned plan instances.

Compare fact by fact
App ServiceAWS Elastic Beanstalk
How apps share capacityMultiple apps can share a planSingle app on EC2; multi-app on EKS
Billed forProvisioned dedicated plan instancesProvisioned AWS resources
Free tier modelQuota-limited shared computeNew-account credits for Standard mode
AWS AmplifyAWS Amplify

Amplify Hosting, part of AWS Amplify, and Azure App Service both provide managed web hosting and continuous deployment. Amplify Hosting supports static sites and server-side rendered web apps and charges for build and hosting usage, while App Service runs application code or custom containers and bills dedicated plans for provisioned instances.

Compare fact by fact
App ServiceAWS Amplify
Billing basisProvisioned instances (dedicated)Build and hosting usage
Production releasesStaging slot swaps on supported tiersAtomic deployments
Free offeringQuota-limited shared computeTime-limited credits for new accounts
Compared Nov 2026
Amazon LightsailAmazon Lightsail

Amazon Lightsail container services and Azure App Service both host containerized web applications without requiring teams to manage a cluster. App Service can also run application code on built-in runtimes, and its dedicated plans charge for provisioned instances rather than the per-node monthly pricing of Lightsail container services.

Compare fact by fact
App ServiceAmazon Lightsail
Deployment optionsBuilt-in runtimes or custom containersDocker containers
Billing basisPer provisioned dedicated-plan instancePer node per month

What is App Service

2 min read

Azure App Service provides platform-as-a-service hosting for HTTP-based applications, including websites, REST APIs, and mobile back ends. Applications can use supported built-in runtimes, including .NET, Java, Node.js, Python, and PHP, or run as custom containers. Runtime availability differs between Windows and Linux; select the operating system and runtime together rather than assuming every combination is supported. Azure maintains the hosting platform, but application dependencies, custom container images, configuration, and application security remain the engineering team's responsibility.

An App Service plan defines the region, operating system, compute size, instance count, and pricing tier for its applications. Multiple applications can share a plan to improve utilization, but they also share its compute resources. Deployment slots consume resources from the same plan. Separate applications into different plans when they require independent capacity, scaling, or stronger resource isolation. Dedicated plans continue to incur compute charges while provisioned, even when individual applications are stopped.

Deployments can use GitHub Actions, Azure Pipelines, packaged artifacts, or container images. On supported tiers, deployment slots provide separate live endpoints for staging and production. Deploy to a staging slot, validate application startup and dependencies, and then swap it into production. Mark environment-specific settings as deployment-slot settings where appropriate. Slot swaps do not reverse database schema changes, so use backward-compatible migrations and an explicit rollback strategy.

Scaling up changes the plan's compute size or tier, while scaling out adds worker instances. Autoscaling capabilities depend on the selected tier and operating environment. Design applications to tolerate instance replacement and distribute requests across workers. Store durable data outside the application host, avoid relying on in-process session state, and configure a health-check endpoint. Where supported, zone redundancy improves resilience to availability-zone failures, but it does not replace a regional recovery strategy.

Inbound and outbound networking require separate configuration. Private endpoints provide private inbound access to an application, while regional virtual network integration enables outbound access to resources reachable through a virtual network. Configure public network access explicitly and provide working private DNS resolution. For single-tenant hosting within a virtual network, App Service Environment offers an alternative to the multitenant service.

Use managed identities for supported downstream services and built-in authentication for sign-in requirements. Application authorization still needs deliberate implementation. Collect request, dependency, exception, and platform telemetry through Azure Monitor and Application Insights, then alert on errors, latency, and resource saturation.

For regional disaster recovery, deploy applications and their dependencies across regions and provide suitable traffic routing and data replication. The geo-redundancy public preview can instead manage regional application replicas and a global endpoint, with Passive mode for failover or Active mode for traffic distribution. Validate preview constraints and supported configuration synchronization before adopting it, and plan data-layer resilience separately.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.