Cloud service · Azure · Updated

Azure Spring Apps - Azure Spring Apps is a managed Azure platform for deploying and operating Spring Boot applications and related microservices.

In short

Azure Spring Apps, jointly developed by Microsoft and VMware, manages application infrastructure and provides deployment, configuration, service discovery, scaling, and diagnostics for Spring workloads. Capabilities vary across its Basic, Standard, and Enterprise plans, with additional managed Tanzu components in Enterprise. The service is in sunset, announced on October 3, 2024, and support ends on March 31, 2028; it is not recommended for new workloads.

Cloud Services Hub →

8 key features of Azure Spring Apps

01
Managed application hosting

Runs Spring Boot applications while Microsoft operates the underlying hosting infrastructure. Engineers configure application resources and runtime settings rather than administering Kubernetes nodes.

02
Git-backed configuration

Distributes external application configuration through managed configuration components. Basic and Standard use Spring Cloud Config Server; Enterprise also offers Application Configuration Service for Tanzu, with different configuration and refresh behavior.

03
Service registration and discovery

Provides a managed Eureka-compatible registry for participating microservices. Applications can resolve registered services instead of maintaining fixed addresses for individual application instances.

04
Controlled application releases

Supports rolling updates and blue-green deployment workflows, with staging capabilities depending on the plan. Validate readiness, downstream compatibility, and candidate deployment behavior before switching production traffic.

05
Resource sizing and scaling

Allows application CPU, memory, and instance counts to be configured within service quotas. Supported plans provide autoscaling; scaling rules should account for JVM startup time, memory pressure, and downstream connection limits.

06
Managed identity and network controls

Supports managed identities for access to compatible Azure services and customer virtual network deployment where supported. Identity permissions, DNS, routing, and firewall configuration must all be configured for the intended access path.

07
Monitoring and JVM diagnostics

Integrates application monitoring with Azure observability services and supports log streaming and JVM diagnostic collection. Thread dumps, heap dumps, and Java Flight Recorder recordings help investigate issues that request metrics alone cannot explain.

08
Enterprise build and application components

The Enterprise plan includes managed Tanzu capabilities such as build services, Spring Cloud Gateway, and application inspection tools. Its buildpack-based workflows also support selected non-Java workloads; component availability and resource consumption differ from Basic and Standard.

Where Azure Spring Apps is used

  1. 01
    Operating existing Spring microservices

    Existing deployments can host related Spring Boot services within a service instance and use managed configuration and discovery. During the sunset period, document dependencies on shared platform components as part of operational maintenance and transition planning.

  2. 02
    Maintaining business APIs

    Existing API workloads can use managed application endpoints, supported custom domains, and staged releases. Enterprise environments can also use managed Spring Cloud Gateway for routing, while application code enforces business authorization.

  3. 03
    Running asynchronous processing

    Existing Spring applications can consume messages from external brokers and write results to managed databases. Configure retry policies, idempotency, concurrency, and connection pools to match the application's replica count.

  4. 04
    Validating releases before production

    Existing teams can deploy a candidate version to a staging deployment and exercise it before switching the active deployment. Tests should cover configuration loading, identity permissions, database compatibility, and application health.

  5. 05
    Preparing an existing estate for transition

    Inventory application artifacts, runtime versions, configuration repositories, service discovery clients, gateway routes, identities, and network dependencies. Use that inventory to define repeatable functional and operational tests before the retirement deadline.

How Azure Spring Apps is priced

Basic and Standard metered plans

Charges depend on the selected plan and provisioned compute and memory, including applicable base allocations and additional capacity. Application replicas and overlapping release deployments affect resource requirements; consult the applicable regional pricing and subscription terms rather than estimating cost from request volume alone.

Enterprise metered plan

Enterprise pricing includes infrastructure charges and applicable software charges for its managed capabilities. Account for application capacity, build resources, and enabled managed components when estimating the total environment cost.

Azure savings plan for eligible Enterprise compute

Eligible Enterprise compute usage can receive discounted rates through a one-year or three-year Azure savings plan commitment. Discounts apply to eligible compute rather than every charge, and commitment decisions must account for the service's retirement date and the terms governing other eligible usage.

Services Azure Spring Apps works with

Existing Azure Spring Apps architectures commonly separate application hosting from durable state, messaging, secrets, and telemetry. Spring Boot services connect to managed databases through standard drivers and use messaging clients for asynchronous processing. Configure connection pools and consumer concurrency across the complete replica count, including temporary overlap during releases, so that application scaling does not overwhelm downstream systems.

Managed identity can remove embedded credentials when the target service and client library support Microsoft Entra authentication. Key Vault remains useful for secrets that cannot be replaced with identity-based access. Private connectivity requires coordinated virtual network routing, DNS resolution, and resource firewall settings; assigning an identity does not establish network access.

Delivery pipelines build reproducible artifacts, deploy candidate versions, and run validation before switching production. Container-based workflows can use Azure Container Registry to retain versioned images. Azure Monitor, Application Insights, and Log Analytics provide complementary metrics, traces, and logs. During sunset, preserve deployment definitions, configuration repositories, identity assignments, network dependencies, and operational dashboards so engineers can reproduce and validate existing behavior during transition.

Azure Monitor

Use Azure Monitor metrics and diagnostic settings to observe application and platform behavior, with logs sent to a configured Log Analytics workspace. For example, alert on sustained CPU pressure and correlate the alert window with application error logs. Application Insights can provide request and dependency telemetry when application monitoring is enabled.

Azure Key Vault

Applications can use an assigned managed identity and the appropriate SDK or Spring integration to retrieve secrets from Azure Key Vault. For example, an existing service can read a third-party API credential at startup without storing it in a Git configuration repository. Grant only the required secret permissions and verify network access and secret refresh behavior.

Azure Database for PostgreSQL

Spring applications connect to PostgreSQL through standard JDBC drivers and connection pools. For example, an order service can persist transactions to a flexible server reached through the application's configured network path. Size connection pools across all replicas and deployments, and configure TLS and database authentication explicitly.

Service Bus

Spring applications can use Azure messaging libraries or Spring integrations to send and consume Service Bus messages. For example, an API can enqueue a fulfillment request for a worker application to process asynchronously. Where supported by the client, use managed identity with the appropriate data-plane role, and implement idempotent processing and dead-letter handling.

Azure Container Registry

Custom-image deployment workflows can retrieve application images from Azure Container Registry when registry authentication and network access are configured. Enterprise configurable build workflows can also use a customer-owned registry for built images. For example, a release pipeline can promote a versioned, scanned image and deploy the same artifact to separate existing environments.

Azure DevOps

Azure Pipelines can build and test application artifacts, then deploy them using Azure CLI commands or supported deployment tasks. For example, a pipeline can deploy a candidate release, execute smoke tests against its test endpoint, and require approval before switching production. Enterprise Application Accelerator can also load application templates from Git repositories hosted in Azure DevOps.

API Management

Azure Spring Apps can serve as the backend for APIs published through API Management. API Management can validate tokens and enforce rate limits before forwarding requests to a Spring app.

Azure App Configuration

Azure Spring Apps can use Service Connector to configure access to Azure App Configuration. For example, a Spring app can use its managed identity to read shared settings and feature flags.

Azure Application Gateway

Azure Spring Apps endpoints can be configured as backends for Azure Application Gateway. The gateway can probe backend health, terminate TLS, and route requests to apps in a virtual network.

Azure Blob Storage

Azure Spring Apps can archive resource logs to Azure Blob Storage through diagnostic settings. Deployed apps can also use Service Connector to configure access to Blob Storage for application data.

What is Azure Spring Apps

2 min read

Azure Spring Apps provides a platform as a service for running Spring Boot applications without directly operating the underlying Kubernetes infrastructure. Microsoft manages the hosting platform, including infrastructure maintenance and platform upgrades. Application teams remain responsible for their application code, dependencies, resource sizing, access policies, configuration, and downstream services. The service was jointly developed by Microsoft and VMware, with additional VMware Tanzu capabilities offered through the Enterprise plan.

The resource model separates a service instance, an app, and a deployment. A service instance contains multiple apps and shared platform components. An app represents a logical application or microservice, while a deployment contains a particular version of its executable code and runtime settings. This distinction allows operators to manage application-level settings separately from releases. Supported deployment inputs include Java artifacts, source code, and custom container images, depending on the plan and deployment workflow.

Managed Spring components support common distributed application patterns. Spring Cloud Config Server distributes configuration from Git repositories, while the service registry provides Eureka-based registration and discovery. Enterprise adds capabilities such as Application Configuration Service for Tanzu, Tanzu Build Service, managed Spring Cloud Gateway, and application troubleshooting tools. These components are plan-specific rather than universal features, so an inventory of enabled components is important when maintaining an existing environment.

Engineers control application CPU, memory, and replica counts within plan quotas. Supported plans provide autoscaling and staging deployment capabilities. A blue-green release can deploy a candidate version, validate it through a test endpoint, and then switch the active deployment. Health probes, graceful shutdown behavior, database schema compatibility, and sufficient capacity for overlapping deployments still require explicit design and testing. Platform deployment mechanisms do not make incompatible application changes safe automatically.

Applications can use managed identities to access compatible Azure resources without embedding credentials. Network designs can include deployment into a customer-managed virtual network, subject to plan capabilities and provisioning requirements. Private connectivity also requires correct DNS resolution, routing, and downstream firewall rules. Custom domains and certificate configuration are available in supported plans; application authentication and authorization remain separate concerns.

Operational visibility comes from application logs, platform metrics, and integrations with Azure Monitor, Application Insights, and Log Analytics. Engineers can use request telemetry and dependency traces to investigate latency, then collect thread dumps, heap dumps, or Java Flight Recorder recordings for deeper JVM analysis. Durable business data should reside in an appropriate external data service or explicitly configured persistent storage rather than relying on an application's temporary filesystem.

Azure Spring Apps is in sunset: retirement was announced on October 3, 2024, and support ends on March 31, 2028. The Basic, Standard, and Enterprise plans entered their retirement period on March 17, 2025. Existing customers should plan and validate their transition before support ends, following Microsoft's migration guide.

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