# App Service

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

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/app-service

> 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.

## 10 key features of App Service

1. **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.
2. **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.
3. **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.
4. **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.
5. **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.
6. **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.
7. **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.
8. **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.
9. **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. **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. **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. **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. **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. **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. **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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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.
- **[Azure App Testing](https://blowstack.com/tools/cloud-services-hub/azure-app-testing)**: App Service exposes an integrated load-testing experience backed by Azure App Testing. Teams can run a test against a web app or staging slot and compare response times and error rates with App Service resource metrics.
- **[Azure Application Gateway](https://blowstack.com/tools/cloud-services-hub/azure-application-gateway)**: App Service apps can be registered as Application Gateway backends, with HTTPS host headers and health probes configured for the app. The gateway can also reach an app through its private endpoint rather than its public endpoint.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: App Service can write custom backups and supported diagnostic logs to Blob Storage. Supported Linux apps can also mount a blob container as read-only storage, for example to serve shared static assets.
- **[Azure Cache for Redis](https://blowstack.com/tools/cloud-services-hub/azure-cache-for-redis)**: App Service can use Service Connector to configure a connection to Azure Cache for Redis. Scaled-out app instances can use the configured cache to share session state instead of keeping it on individual workers.
- **[Azure Chaos Studio](https://blowstack.com/tools/cloud-services-hub/azure-chaos-studio)**: App Service web apps can be targeted by a Chaos Studio experiment that stops a selected app. This lets teams test whether their monitoring and failover respond as expected when the app becomes unavailable.
- **[Azure Content Delivery Network](https://blowstack.com/tools/cloud-services-hub/azure-content-delivery-network)**: App Service can use Azure Content Delivery Network to cache public responses at edge locations. An App Service web app can be configured as the origin for cacheable assets such as images and JavaScript bundles.
- **[Azure Cosmos DB](https://blowstack.com/tools/cloud-services-hub/azure-cosmos-db)**: App Service can use Service Connector to configure a Cosmos DB connection. For supported APIs and authentication modes, the app can use a managed identity rather than storing a database key.
- **[Azure Database for MySQL](https://blowstack.com/tools/cloud-services-hub/azure-database-for-mysql)**: App Service can use Service Connector to configure a connection to Azure Database for MySQL Flexible Server and expose the connection details to the application. A web app can also use virtual network integration to reach a privately accessible server.
- **[Azure Database for PostgreSQL](https://blowstack.com/tools/cloud-services-hub/azure-database-for-postgresql)**: App Service can use Service Connector to configure a connection to Azure Database for PostgreSQL Flexible Server, including managed identity authentication where supported. Regional virtual network integration can provide the network path to a private server.
- **[Azure Deployment Environments](https://blowstack.com/tools/cloud-services-hub/azure-deployment-environments)**: App Service apps and hosting plans can be provisioned through the web app environment definitions in Azure Deployment Environments. A developer can use a catalog definition to create a repeatable test environment with its own web app and supporting resources.
- **[Azure DevOps](https://blowstack.com/tools/cloud-services-hub/azure-devops)**: App Service accepts deployments from Azure Pipelines through dedicated App Service tasks, and Deployment Center can connect an app to Azure Repos for continuous delivery. A pipeline can deploy to a staging slot, validate the release, and then swap the slot into production.
- **[Azure DNS](https://blowstack.com/tools/cloud-services-hub/azure-dns)**: App Service uses Azure DNS records to verify and route custom hostnames. For private endpoints, an Azure Private DNS zone can resolve the app hostname to the endpoint's private IP address inside linked virtual networks.
- **[Azure ExpressRoute](https://blowstack.com/tools/cloud-services-hub/azure-expressroute)**: App Service regional virtual network integration lets an app reach on-premises resources over an ExpressRoute private peering connection attached to the integrated network. For example, a web app can reach a private corporate API without exposing it to the internet.
- **[Azure Files](https://blowstack.com/tools/cloud-services-hub/azure-files)**: App Service can mount an Azure file share at a path inside a supported app or container. The mount provides shared, persistent storage that remains available when app workers are replaced or scaled out.
- **[Azure Firewall](https://blowstack.com/tools/cloud-services-hub/azure-firewall)**: App Service can send outbound traffic through Azure Firewall by using regional virtual network integration, outbound routing settings, and a route table. Azure Firewall also provides an App Service Environment FQDN tag for required platform traffic.
- **[Azure Functions](https://blowstack.com/tools/cloud-services-hub/azure-functions)**: App Service plans can host Azure Functions on the Dedicated hosting option. A compatible function app and web app can share the same plan, in which case they share its compute capacity.
- **[Azure Lighthouse](https://blowstack.com/tools/cloud-services-hub/azure-lighthouse)**: App Service resources in a delegated subscription or resource group can be operated from a managing tenant through Azure Lighthouse. A delegation using the Website Contributor role lets an operations team manage customer web apps without accounts in each customer tenant.
- **[Azure Load Balancer](https://blowstack.com/tools/cloud-services-hub/azure-load-balancer)**: App Service Environment supports an internal load balancer configuration that gives hosted apps a shared private inbound address. That configuration allows the environment to serve traffic from connected private networks without a public app ingress address.
- **[Azure Managed Redis](https://blowstack.com/tools/cloud-services-hub/azure-managed-redis)**: App Service can use Service Connector to configure connectivity to supported Azure Managed Redis caches. The app can use the configured cache for shared data across its workers, such as cached catalog results.
- **[Azure Marketplace](https://blowstack.com/tools/cloud-services-hub/azure-marketplace)**: App Service can host software deployed directly from Azure Marketplace offers designed for it. For example, the WordPress on App Service offer provisions a web app and the resources needed to run WordPress.
- **[Azure NAT Gateway](https://blowstack.com/tools/cloud-services-hub/azure-nat-gateway)**: App Service can route internet-bound traffic through a NAT gateway attached to its regional virtual network integration subnet. This gives outbound calls predictable public source addresses, which a partner API can allowlist.
- **[Azure OpenAI in Foundry Models](https://blowstack.com/tools/cloud-services-hub/azure-openai-in-foundry-models)**: App Service can use Service Connector to configure an Azure OpenAI connection with managed identity. A hosted chat app can call its model deployment without keeping an Azure OpenAI API key in app settings.
- **[Azure Policy](https://blowstack.com/tools/cloud-services-hub/azure-policy)**: App Service resources can be audited or governed with built-in Azure Policy definitions. Organizations can, for example, require HTTPS-only access or deploy diagnostic settings for applicable apps.
- **[Azure portal](https://blowstack.com/tools/cloud-services-hub/azure-portal)**: App Service has dedicated Azure portal pages for creating web apps and plans, configuring settings and custom domains, reading logs, and managing deployment slots.
- **[Azure Private Link](https://blowstack.com/tools/cloud-services-hub/azure-private-link)**: App Service can accept inbound connections through a private endpoint in a virtual network. Public network access can be disabled so clients reach the app over its private address.
- **[Azure Relay](https://blowstack.com/tools/cloud-services-hub/azure-relay)**: App Service Hybrid Connections uses Azure Relay to reach a specific TCP host and port through a Hybrid Connection Manager. An app can reach an on-premises database this way without opening an inbound firewall port at the database site.
- **[Azure Resource Manager](https://blowstack.com/tools/cloud-services-hub/azure-resource-manager)**: App Service plans, web apps, deployment slots, and related settings are Azure Resource Manager resource types. A template deployment can provision an app and its staging slot with consistent settings across environments.
- **[Azure role-based access control (Azure RBAC)](https://blowstack.com/tools/cloud-services-hub/azure-role-based-access-control-(azure-rbac))**: App Service provides built-in management roles such as Website Contributor and Web Plan Contributor. These roles let an organization separate permission to operate a web app from permission to manage its hosting plan.
- **[Azure Service Health](https://blowstack.com/tools/cloud-services-hub/azure-service-health)**: App Service is covered by Azure Service Health notifications for incidents and planned maintenance that affect a subscription. Resource Health also reports availability for individual supported App Service resources.
- **[Azure SignalR Service](https://blowstack.com/tools/cloud-services-hub/azure-signalr-service)**: App Service can use Service Connector to configure an Azure SignalR Service connection. The web app runs the hub logic while SignalR Service maintains client connections and distributes messages to connected clients.
- **[Azure SRE Agent](https://blowstack.com/tools/cloud-services-hub/azure-sre-agent)**: App Service web apps can be monitored and investigated by Azure SRE Agent. For example, the agent can correlate a failed health check with deployment history and application logs and propose a remediation for review.
- **[Azure Stack Hub](https://blowstack.com/tools/cloud-services-hub/azure-stack-hub)**: App Service is available on Azure Stack Hub through the Azure App Service resource provider. An operator installs the provider so tenants can provision and run web apps on the Stack Hub deployment.
- **[Azure Traffic Manager](https://blowstack.com/tools/cloud-services-hub/azure-traffic-manager)**: App Service apps can be registered directly as Azure endpoints in Traffic Manager. A priority-routing profile can direct users to a secondary regional app when health probes mark the primary app unavailable.
- **[Azure Virtual Network](https://blowstack.com/tools/cloud-services-hub/azure-virtual-network)**: App Service regional virtual network integration routes outbound traffic from a web app into a designated subnet so it can reach private resources. An App Service Environment can instead host the app workers in a dedicated subnet.
- **[Azure VPN Gateway](https://blowstack.com/tools/cloud-services-hub/azure-vpn-gateway)**: App Service can use virtual network integration to reach an on-premises network over a site-to-site connection provided by VPN Gateway. This lets an app call a private service across the tunnel without publishing that service on the internet.
- **[Azure Web Application Firewall](https://blowstack.com/tools/cloud-services-hub/azure-web-application-firewall)**: App Service apps can be protected by a Web Application Firewall policy on Azure Front Door or Application Gateway. Private connectivity or app access restrictions can prevent clients from bypassing the firewall and reaching the origin directly.
- **[Azure Web PubSub](https://blowstack.com/tools/cloud-services-hub/azure-web-pubsub)**: App Service can use Service Connector to configure access to Azure Web PubSub. The app can authenticate users and run the application logic while Web PubSub maintains the clients' WebSocket connections.
- **[Event Grid](https://blowstack.com/tools/cloud-services-hub/event-grid)**: App Service can publish resource events to Event Grid, including events for web app updates and backup operations. An Event Grid subscription can route a backup failure event to a handler that notifies the operations team.
- **[Event Hubs](https://blowstack.com/tools/cloud-services-hub/event-hubs)**: App Service diagnostic settings can stream supported resource logs and metrics to Event Hubs. A monitoring pipeline can consume those events to process web app telemetry as it arrives.
- **[Foundry Agent Service](https://blowstack.com/tools/cloud-services-hub/foundry-agent-service)**: App Service can host an HTTPS endpoint that a Foundry agent is configured to use as an OpenAPI or Model Context Protocol tool. For example, the agent can invoke an operation exposed by the hosted app to look up an order.
- **[Logic Apps](https://blowstack.com/tools/cloud-services-hub/logic-apps)**: App Service Environment v3 can host Standard logic apps on a supported App Service plan. This lets a team run workflow runtimes and web apps in the same isolated environment while managing them as separate applications.
- **[Microsoft Defender for Cloud](https://blowstack.com/tools/cloud-services-hub/microsoft-defender-for-cloud)**: App Service is covered by the dedicated Defender for App Service plan in Microsoft Defender for Cloud. The plan analyzes platform signals and generates security alerts for suspicious activity involving protected apps.
- **[Microsoft Entra External ID](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-external-id)**: App Service built-in authentication can use a Microsoft Entra External ID external tenant to sign in customers. The app can require sign-in without implementing its own OpenID Connect callback and session handling.
- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: App Service can use built-in Microsoft Entra authentication to protect incoming requests and managed identities to authenticate to downstream services. An internal web app can require employee sign-in while accessing supported backend resources without stored credentials.
- **[Microsoft Entra ID B2C](https://blowstack.com/tools/cloud-services-hub/azure-active-directory-b2c)**: App Service built-in authentication can be configured with an Azure AD B2C policy through an OpenID Connect identity provider. A customer portal can redirect users to a hosted sign-up or sign-in flow and let App Service handle the callback.
- **[Microsoft Foundry](https://blowstack.com/tools/cloud-services-hub/microsoft-foundry)**: App Service can host the chat web app created by the Deploy to a web app option in the Foundry playground for supported Azure OpenAI deployments. The generated app provides a browser interface for the model configuration.
- **[Microsoft Sentinel](https://blowstack.com/tools/cloud-services-hub/microsoft-sentinel)**: App Service can send HTTP, console, and other selected resource logs through diagnostic settings to the Log Analytics workspace used by Microsoft Sentinel. Sentinel analytics rules can use those logs to detect suspicious requests or activity.
- **[Notification Hubs](https://blowstack.com/tools/cloud-services-hub/notification-hubs)**: App Service Mobile Apps has built-in Notification Hubs support for registering devices and sending push notifications. A mobile client can register through its App Service backend without receiving Notification Hubs management credentials.
- **[Queue Storage](https://blowstack.com/tools/cloud-services-hub/queue-storage)**: App Service can configure access to Queue Storage through Service Connector, and the WebJobs SDK supports queue-triggered jobs. For example, a queue message can start a WebJob that generates a thumbnail.
- **[Service Bus](https://blowstack.com/tools/cloud-services-hub/service-bus)**: App Service can configure a Service Bus connection through Service Connector, and a hosted WebJob can use a Service Bus trigger. For example, a queue message can start background order processing without tying it to the originating web request.
- **[Static Web Apps](https://blowstack.com/tools/cloud-services-hub/static-web-apps)**: App Service can be linked as the API backend for an Azure Static Web Apps app on the Standard plan. The static frontend can call the linked web app's API under its own site's `/api` path.
- **[Table Storage](https://blowstack.com/tools/cloud-services-hub/table-storage)**: App Service can use Service Connector to configure access to Table Storage, including managed identity authentication. The app can store data such as tenant settings without keeping a storage account key in its configuration.

## Alternatives to App Service in other clouds

### AWS

**[AWS Elastic Beanstalk](https://blowstack.com/tools/cloud-services-hub/aws-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.

| | App Service | AWS Elastic Beanstalk |
| --- | --- | --- |
| How apps share capacity | Multiple apps can share a plan | Single app on EC2; multi-app on EKS |
| Billed for | Provisioned dedicated plan instances | Provisioned AWS resources |
| Free tier model | Quota-limited shared compute | New-account credits for Standard mode |

Compared Nov 2026.

**[AWS Amplify](https://blowstack.com/tools/cloud-services-hub/aws-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.

| | App Service | AWS Amplify |
| --- | --- | --- |
| Billing basis | Provisioned instances (dedicated) | Build and hosting usage |
| Production releases | Staging slot swaps on supported tiers | Atomic deployments |
| Free offering | Quota-limited shared compute | Time-limited credits for new accounts |

Compared Nov 2026.

**[Amazon Lightsail](https://blowstack.com/tools/cloud-services-hub/amazon-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.

| | App Service | Amazon Lightsail |
| --- | --- | --- |
| Deployment options | Built-in runtimes or custom containers | Docker containers |
| Billing basis | Per provisioned dedicated-plan instance | Per node per month |

Compared Nov 2026.

## What is App Service

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.
