Skip to content
Get Started for Free

Sample Apps

Applications you can clone and deploy against the LocalStack Azure emulator. Each card links to the source, which carries the README, the architecture diagram and everything needed to run the sample.

Every sample provides a shell script that uses the Azure CLI to create the Azure resources and deploy the demo application. Where available, the sample also provides Bicep templates and Terraform modules that provision the same infrastructure, so you can choose whichever approach you prefer. Most samples add a second script that validates the deployment once it is running. Every deployment has been tested against Azure as well as against the local emulator.

Most samples ship in more than one language. Each language variant is a card of its own, tagged with the language it is written in, so the Language filter narrows the grid to the variants you can actually run.

They come from two repositories:

  • localstack-azure-samples: App Service, Function App, Container Instances and data services, in Python, .NET and Java. All but one are deployed by the repository’s samples CI workflow, which covers 70 deployments across the Azure CLI, Bicep and Terraform and, on a pull request, runs the ones whose files changed. Those samples carry a CI verified badge.
  • aks-samples: the same vacation-planner application on an emulated AKS cluster against a range of backing stores, in Python and .NET. Each one provides numbered shell scripts that create the backing service, build and push the container image, and deploy the workload with kubectl. They are run by hand, so treat them as demonstrations rather than continuously verified samples.

47 sample apps

AKS: Vacation Planner on Azure Files (.NET)

AKS: Vacation Planner on Azure Files (.NET) architecture
.NETAzure Kubernetes ServiceContainer RegistryAzure FilesStorage Account

The vacation-planner app on AKS storing each activity as a text file on an Azure Files share, mounted into every pod by the Azure Files CSI driver. Uses no Azure SDK at all — the app just calls the file system, and three replicas mount the same share ReadWriteMany.

View on GitHub →

AKS: Vacation Planner on Azure Files (Python)

AKS: Vacation Planner on Azure Files (Python) architecture
PythonAzure Kubernetes ServiceContainer RegistryAzure FilesStorage Account

The vacation-planner app on AKS storing each activity as a text file on an Azure Files share, mounted into every pod by the Azure Files CSI driver. Uses no Azure SDK at all — the app just calls the file system, and three replicas mount the same share ReadWriteMany.

View on GitHub →

AKS: Vacation Planner on Azure SQL Database (.NET)

AKS: Vacation Planner on Azure SQL Database (.NET) architecture
.NETAzure Kubernetes ServiceContainer RegistrySQL Database

The vacation-planner app on AKS backed by Azure SQL Database, with its image served from Container Registry.

View on GitHub →

AKS: Vacation Planner on Azure SQL Database (Python)

AKS: Vacation Planner on Azure SQL Database (Python) architecture
PythonAzure Kubernetes ServiceContainer RegistrySQL Database

The vacation-planner app on AKS backed by Azure SQL Database, with its image served from Container Registry.

View on GitHub →

AKS: Vacation Planner on Blob Storage (.NET)

AKS: Vacation Planner on Blob Storage (.NET) architecture
.NETAzure Kubernetes ServiceContainer RegistryBlob StorageStorage Account

The vacation-planner app on AKS storing activity data in a Blob Storage container, authenticating with a connection string supplied through a Kubernetes Secret.

View on GitHub →

AKS: Vacation Planner on Blob Storage (Python)

AKS: Vacation Planner on Blob Storage (Python) architecture
PythonAzure Kubernetes ServiceContainer RegistryBlob StorageStorage Account

The vacation-planner app on AKS storing activity data in a Blob Storage container, authenticating with a connection string supplied through a Kubernetes Secret.

View on GitHub →

AKS: Vacation Planner on Cosmos DB for MongoDB (.NET)

AKS: Vacation Planner on Cosmos DB for MongoDB (.NET) architecture
.NETAzure Kubernetes ServiceContainer RegistryCosmos DB

The vacation-planner app on AKS backed by Cosmos DB through the MongoDB API.

View on GitHub →

AKS: Vacation Planner on Cosmos DB for MongoDB (Python)

AKS: Vacation Planner on Cosmos DB for MongoDB (Python) architecture
PythonAzure Kubernetes ServiceContainer RegistryCosmos DB

The vacation-planner app on AKS backed by Cosmos DB through the MongoDB API.

View on GitHub →

AKS: Vacation Planner on Cosmos DB for NoSQL (.NET)

AKS: Vacation Planner on Cosmos DB for NoSQL (.NET) architecture
.NETAzure Kubernetes ServiceContainer RegistryCosmos DB

The vacation-planner app on AKS backed by the Cosmos DB NoSQL API.

View on GitHub →

AKS: Vacation Planner on Cosmos DB for NoSQL (Python)

AKS: Vacation Planner on Cosmos DB for NoSQL (Python) architecture
PythonAzure Kubernetes ServiceContainer RegistryCosmos DB

The vacation-planner app on AKS backed by the Cosmos DB NoSQL API.

View on GitHub →

AKS: Vacation Planner on in-cluster PostgreSQL (.NET)

AKS: Vacation Planner on in-cluster PostgreSQL (.NET) architecture
.NETAzure Kubernetes ServiceContainer Registry

The vacation-planner app on AKS using an in-cluster PostgreSQL StatefulSet — a primary and two replicas on persistent volumes — with no managed database.

View on GitHub →

AKS: Vacation Planner on in-cluster PostgreSQL (Python)

AKS: Vacation Planner on in-cluster PostgreSQL (Python) architecture
PythonAzure Kubernetes ServiceContainer Registry

The vacation-planner app on AKS using an in-cluster PostgreSQL StatefulSet — a primary and two replicas on persistent volumes — with no managed database.

View on GitHub →

AKS: Vacation Planner on MySQL Flexible Server (.NET)

AKS: Vacation Planner on MySQL Flexible Server (.NET) architecture
.NETAzure Kubernetes ServiceContainer RegistryMySQL Flexible Server

The vacation-planner app on AKS backed by Azure Database for MySQL Flexible Server.

View on GitHub →

AKS: Vacation Planner on MySQL Flexible Server (Python)

AKS: Vacation Planner on MySQL Flexible Server (Python) architecture
PythonAzure Kubernetes ServiceContainer RegistryMySQL Flexible Server

The vacation-planner app on AKS backed by Azure Database for MySQL Flexible Server.

View on GitHub →

AKS: Vacation Planner on PostgreSQL Flexible Server (.NET)

AKS: Vacation Planner on PostgreSQL Flexible Server (.NET) architecture
.NETAzure Kubernetes ServiceContainer RegistryPostgreSQL Flexible Server

The vacation-planner app on AKS backed by Azure Database for PostgreSQL Flexible Server.

View on GitHub →

AKS: Vacation Planner on PostgreSQL Flexible Server (Python)

AKS: Vacation Planner on PostgreSQL Flexible Server (Python) architecture
PythonAzure Kubernetes ServiceContainer RegistryPostgreSQL Flexible Server

The vacation-planner app on AKS backed by Azure Database for PostgreSQL Flexible Server.

View on GitHub →

AKS: Vacation Planner with App Configuration (.NET)

AKS: Vacation Planner with App Configuration (.NET) architecture
.NETAzure Kubernetes ServiceApp ConfigurationKey VaultPostgreSQL Flexible ServerWorkload Identity+1

The vacation-planner app on AKS with every setting in an App Configuration store. The App Configuration Kubernetes Provider extension reads the store with Entra Workload ID and materialises a ConfigMap and a Secret, so the app itself carries no Azure SDK dependency and no credential of its own.

View on GitHub →

AKS: Vacation Planner with App Configuration (Python)

AKS: Vacation Planner with App Configuration (Python) architecture
PythonAzure Kubernetes ServiceApp ConfigurationKey VaultPostgreSQL Flexible ServerWorkload Identity+1

The vacation-planner app on AKS with every setting in an App Configuration store. The App Configuration Kubernetes Provider extension reads the store with Entra Workload ID and materialises a ConfigMap and a Secret, so the app itself carries no Azure SDK dependency and no credential of its own.

View on GitHub →

AKS: Vacation Planner with Entra Workload ID (.NET)

AKS: Vacation Planner with Entra Workload ID (.NET) architecture
.NETAzure Kubernetes ServiceContainer RegistryBlob StorageWorkload IdentityStorage Account

The vacation-planner app on AKS reaching Blob Storage through an Entra Workload Identity federated credential, with no secrets. Optionally exposed through the managed Gateway API with managed TLS.

View on GitHub →

AKS: Vacation Planner with Entra Workload ID (Python)

AKS: Vacation Planner with Entra Workload ID (Python) architecture
PythonAzure Kubernetes ServiceContainer RegistryBlob StorageWorkload IdentityStorage Account

The vacation-planner app on AKS reaching Blob Storage through an Entra Workload Identity federated credential, with no secrets. Optionally exposed through the managed Gateway API with managed TLS.

View on GitHub →

Container Instances with Blob Storage and Key Vault

CI verified
Container Instances with Blob Storage and Key Vault architecture
PythonContainer InstancesContainer RegistryBlob StorageKey VaultStorage Account

Containerised Flask app on Azure Container Instances that pulls its image from Container Registry and reads a secret from Key Vault, with activity data in Blob Storage.

View on GitHub →

Event Hubs Capture with Event Grid and Functions

CI verified
Event Hubs Capture with Event Grid and Functions architecture
PythonEvent HubsEvent GridFunction AppBlob StorageStorage Account

Cold-chain monitoring pipeline where Azure announces when a batch is ready instead of code polling for it: Capture archives telemetry to Blob Storage as Avro, Event Grid raises CaptureFileCreated, and a Function App aggregates each archive into a curated hub.

View on GitHub →

Function App behind API Management

CI verified
Function App behind API Management architecture
PythonAPI ManagementFunction AppApp ServiceStorage Account

Python Function App published through an API Management gateway. Only the gateway holds the shared secret the function requires, so clients authenticate with a subscription key while the gateway enforces a rate limit, answers CORS preflights and injects the secret on every backend call.

View on GitHub →

Function App behind Azure Front Door

CI verified
Function App behind Azure Front Door architecture
PythonFront DoorFunction AppApp ServiceStorage Account

Two Function Apps serving a catalog API behind Azure Front Door Standard, one as the priority origin and one as a standby checked by health probes. Covers route specificity, caching and purge, and a rule set that stamps headers, rewrites a path prefix and redirects a retired path at the edge.

View on GitHub →

Function App with Managed Identity

CI verified
Function App with Managed Identity architecture
PythonFunction AppBlob StorageManaged IdentityStorage Account

Function App that reads and writes Blob Storage using either a system-assigned or a user-assigned managed identity, with Entra ID emulated locally.

View on GitHub →

Function App with Service Bus over Private Endpoints

CI verified
Function App with Service Bus over Private Endpoints architecture
.NETFunction AppService BusVirtual NetworkPrivate EndpointPrivate DNS Zone+3

Isolated-worker .NET Function App exchanging Service Bus queue messages entirely over private endpoints, with a user-assigned identity, four private DNS zones, a NAT gateway and Log Analytics.

View on GitHub →

Function App with Storage Triggers and Bindings

CI verified
Function App with Storage Triggers and Bindings architecture
.NETFunction AppBlob StorageQueue StorageTable StorageStorage Account

Gaming scoreboard built on blob, queue and table triggers and bindings together in a single .NET Function App.

View on GitHub →

Guestbook on Azure Container Apps

CI verified
Guestbook on Azure Container Apps architecture
PythonContainer AppsContainer RegistryBlob StorageStorage Account

Containerised Flask guestbook running on Azure Container Apps behind the managed environment's HTTP ingress, pulling its image from Container Registry and persisting entries as a JSON blob in Blob Storage.

View on GitHub →

Real-time fraud detection with Event Hubs

CI verified
Real-time fraud detection with Event Hubs architecture
PythonEvent HubsFunction AppStorage AccountKey VaultLog Analytics

Payment events from three kinds of producer stream into Event Hubs, a Functions processor scores them for fraud in real time, alerts flow onto a second hub, and Event Hubs Capture archives every event to a data lake without any code.

View on GitHub →

Service Bus with Spring Boot

CI verified
Service Bus with Spring Boot architecture
JavaService Bus

Spring Boot application using the Spring Cloud Azure Stream Binder to send and receive Service Bus messages. Java hosting is not emulated, so the app runs on the host against the emulated namespace.

View on GitHub →

URL Shortener multi-service app

CI verified
URL Shortener multi-service app architecture
PythonApp ServiceFunction AppStorage AccountQueue StorageKey Vault+3

URL shortener composing seven Azure services: an App Service front end and a queue-triggered Functions worker share Storage, Key Vault, Service Bus and PostgreSQL through one user-assigned managed identity, with no connection strings anywhere.

View on GitHub →

Web App from a Custom Container Image (.NET)

CI verified
Web App from a Custom Container Image (.NET) architecture
.NETApp ServiceContainer RegistryVirtual NetworkPrivate EndpointManaged Identity

Web App running a custom Docker image pulled from Container Registry through a private endpoint, authenticating with a managed identity.

View on GitHub →

Web App from a Custom Container Image (Python)

CI verified
Web App from a Custom Container Image (Python) architecture
PythonApp ServiceContainer RegistryVirtual NetworkPrivate EndpointManaged Identity

Web App running a custom Docker image pulled from Container Registry through a private endpoint, authenticating with a managed identity.

View on GitHub →

Web App with App Configuration and Key Vault (.NET)

CI verified
Web App with App Configuration and Key Vault (.NET) architecture
.NETApp ServiceApp ConfigurationKey VaultPostgreSQL Flexible ServerManaged Identity+5

ASP.NET Core vacation-planner Web App that reads its PostgreSQL connection settings from an App Configuration store and its credentials from Key Vault through Key Vault references, authenticating to both with a user-assigned managed identity. No connection string in the app settings.

View on GitHub →

Web App with App Configuration and Key Vault (Python)

CI verified
Web App with App Configuration and Key Vault (Python) architecture
PythonApp ServiceApp ConfigurationKey VaultPostgreSQL Flexible ServerManaged Identity+5

Flask vacation-planner Web App that reads its PostgreSQL connection settings from an App Configuration store and its credentials from Key Vault through Key Vault references, authenticating to both with a user-assigned managed identity. No connection string in the app settings.

View on GitHub →

Web App with Azure SQL Database (.NET)

CI verified
Web App with Azure SQL Database (.NET) architecture
.NETApp ServiceSQL DatabaseKey Vault

ASP.NET Core Web App on Azure SQL Database, reading its connection string and TLS certificate from Key Vault.

View on GitHub →

Web App with Azure SQL Database (Python)

CI verified
Web App with Azure SQL Database (Python) architecture
PythonApp ServiceSQL DatabaseKey Vault

Flask Web App on Azure SQL Database, reading its connection string and TLS certificate from Key Vault.

View on GitHub →

Web App with Cosmos DB for MongoDB (.NET)

CI verified
Web App with Cosmos DB for MongoDB (.NET) architecture
.NETApp ServiceCosmos DBVirtual NetworkPrivate EndpointPrivate DNS Zone+2

ASP.NET Core vacation-planner Web App talking to Cosmos DB through the MongoDB API over a private endpoint.

View on GitHub →

Web App with Cosmos DB for MongoDB (Python)

CI verified
Web App with Cosmos DB for MongoDB (Python) architecture
PythonApp ServiceCosmos DBVirtual NetworkPrivate EndpointPrivate DNS Zone+2

Flask vacation-planner Web App talking to Cosmos DB through the MongoDB API over a private endpoint.

View on GitHub →

Web App with Cosmos DB for NoSQL (.NET)

CI verified
Web App with Cosmos DB for NoSQL (.NET) architecture
.NETApp ServiceCosmos DB

ASP.NET Core vacation-planner Web App using the Cosmos DB NoSQL API over a private endpoint.

View on GitHub →

Web App with Cosmos DB for NoSQL (Python)

Web App with Cosmos DB for NoSQL (Python) architecture
PythonApp ServiceCosmos DB

Flask vacation-planner Web App using the Cosmos DB NoSQL API over a private endpoint.

View on GitHub →

Web App with Managed Identity (.NET)

CI verified
Web App with Managed Identity (.NET) architecture
.NETApp ServiceBlob StorageManaged IdentityStorage Account

ASP.NET Core Web App reaching Blob Storage through a system- or user-assigned managed identity, with Entra ID emulated locally.

View on GitHub →

Web App with Managed Identity (Python)

CI verified
Web App with Managed Identity (Python) architecture
PythonApp ServiceBlob StorageManaged IdentityStorage Account

Flask Web App reaching Blob Storage through a system- or user-assigned managed identity, with Entra ID emulated locally.

View on GitHub →

Web App with MySQL Flexible Server (.NET)

CI verified
Web App with MySQL Flexible Server (.NET) architecture
.NETApp ServiceMySQL Flexible ServerVirtual NetworkPrivate EndpointPrivate DNS Zone+2

ASP.NET Core Web App connecting to Azure Database for MySQL Flexible Server over a private endpoint.

View on GitHub →

Web App with MySQL Flexible Server (Python)

CI verified
Web App with MySQL Flexible Server (Python) architecture
PythonApp ServiceMySQL Flexible ServerVirtual NetworkPrivate EndpointPrivate DNS Zone+2

Flask Web App connecting to Azure Database for MySQL Flexible Server over a private endpoint.

View on GitHub →

Web App with PostgreSQL Flexible Server (.NET)

CI verified
Web App with PostgreSQL Flexible Server (.NET) architecture
.NETApp ServicePostgreSQL Flexible ServerVirtual NetworkPrivate EndpointPrivate DNS Zone+2

ASP.NET Core Web App connecting to Azure Database for PostgreSQL Flexible Server over a private endpoint.

View on GitHub →

Web App with PostgreSQL Flexible Server (Python)

CI verified
Web App with PostgreSQL Flexible Server (Python) architecture
PythonApp ServicePostgreSQL Flexible ServerVirtual NetworkPrivate EndpointPrivate DNS Zone+2

Flask Web App connecting to Azure Database for PostgreSQL Flexible Server over a private endpoint.

View on GitHub →
Was this page helpful?