Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/run-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ jobs:
# unixodbc-dev & libsnappy-dev: required for Python database drivers (pyodbc, pymongo).
# default-mysql-client: provides the `mysql` CLI used by the MySQL flexible-server sample
# to create the application user and seed the database schema in the local emulator.
# postgresql-client: provides the `psql` CLI used by the PostgreSQL flexible-server sample
# to create the application role and seed the database schema in the local emulator.
# postgresql-client: provides the `psql` CLI used by the PostgreSQL flexible-server and the
# App Configuration samples to create the application role and seed the database schema
# in the local emulator.
run: |
sudo apt-get update
sudo apt-get install -y jq zip unixodbc-dev libsnappy-dev default-mysql-client postgresql-client
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Each sample is a self-contained project with its own README, Azure CLI scripts a
| Web App and Managed Identities ([Python](./samples/web-app-managed-identity/python/README.md), [.NET](./samples/web-app-managed-identity/dotnet/README.md)) | The *Vacation Planner* single-page web app on an Azure Web App, storing each activity as a blob in an `activities` container and accessing Blob Storage through a user-assigned or system-assigned managed identity rather than connection strings. |
| Web App and SQL Database ([Python](./samples/web-app-sql-database/python/README.md), [.NET](./samples/web-app-sql-database/dotnet/README.md)) | The *Vacation Planner* single-page web app on an Azure Web App, storing activities in an Azure SQL Database. The connection string and the HTTPS certificate are read from Azure Key Vault, and an API endpoint verifies the Key Vault certificate. |
| Web App and PostgreSQL Database ([Python](./samples/web-app-postgresql-flexible-server/python/README.md), [.NET](./samples/web-app-postgresql-flexible-server/dotnet/README.md)) | The *Vacation Planner* single-page web app on an Azure Web App, storing activities in an Azure Database for PostgreSQL flexible server injected into a virtual network (delegated subnet and private DNS zone), with the database and application user created by the deploy scripts. |
| Web App, App Configuration and Key Vault ([Python](./samples/web-app-app-configuration/python/README.md), [.NET](./samples/web-app-app-configuration/dotnet/README.md)) | The *Vacation Planner* single-page web app on an Azure Web App, storing activities in an Azure Database for PostgreSQL flexible server and reading its connection settings from an Azure App Configuration store whose secrets are Key Vault references, authenticating to both stores with a user-assigned managed identity through private endpoints. |
| Web App and MySQL Database ([Python](./samples/web-app-mysql-flexible-server/python/README.md), [.NET](./samples/web-app-mysql-flexible-server/dotnet/README.md)) | The *Vacation Planner* single-page web app on an Azure Web App, storing activities in an Azure Database for MySQL flexible server injected into a virtual network, using TLS-only connections, with the database and application user created by the deploy scripts. |
| Web App with Custom Docker Image ([Python](./samples/web-app-custom-image/python/README.md), [.NET](./samples/web-app-custom-image/dotnet/README.md)) | A web app that runs a custom container image built locally and pushed to Azure Container Registry; the web app pulls it with a managed identity (AcrPull) through a VNet-integrated network and reports its image and host name on `/api/status`. |
| [ACI and Blob Storage (Python)](./samples/aci-blob-storage/python/README.md) | A containerized Flask web app on Azure Container Instances, with its image in Azure Container Registry, its secrets in Key Vault and its data in Blob Storage. |
Expand Down
6 changes: 6 additions & 0 deletions run-samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ SAMPLES=(
"samples/web-app-mysql-flexible-server/dotnet|bash scripts/deploy.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh"
"samples/web-app-postgresql-flexible-server/python|bash scripts/deploy.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh"
"samples/web-app-postgresql-flexible-server/dotnet|bash scripts/deploy.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh"
"samples/web-app-app-configuration/python|bash scripts/deploy.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh"
"samples/web-app-app-configuration/dotnet|bash scripts/deploy.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh"
"samples/web-app-custom-image/python|bash scripts/deploy.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh"
"samples/web-app-custom-image/dotnet|bash scripts/deploy.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh"
"samples/aci-blob-storage/python|bash scripts/deploy.sh|bash scripts/validate.sh"
Expand All @@ -72,6 +74,8 @@ TERRAFORM_SAMPLES=(
"samples/web-app-mysql-flexible-server/dotnet/terraform|bash deploy.sh"
"samples/web-app-postgresql-flexible-server/python/terraform|bash deploy.sh"
"samples/web-app-postgresql-flexible-server/dotnet/terraform|bash deploy.sh"
"samples/web-app-app-configuration/python/terraform|bash deploy.sh"
"samples/web-app-app-configuration/dotnet/terraform|bash deploy.sh"
"samples/aci-blob-storage/python/terraform|bash deploy.sh"
"samples/container-apps-blob-storage/python/terraform|bash deploy.sh"
"samples/url-shortener/python/terraform|bash deploy.sh|bash ../scripts/validate.sh"
Expand All @@ -94,6 +98,8 @@ BICEP_SAMPLES=(
"samples/web-app-mysql-flexible-server/dotnet/bicep|bash deploy.sh"
"samples/web-app-postgresql-flexible-server/python/bicep|bash deploy.sh"
"samples/web-app-postgresql-flexible-server/dotnet/bicep|bash deploy.sh"
"samples/web-app-app-configuration/python/bicep|bash deploy.sh"
"samples/web-app-app-configuration/dotnet/bicep|bash deploy.sh"
"samples/aci-blob-storage/python/bicep|bash deploy.sh"
"samples/container-apps-blob-storage/python/bicep|bash deploy.sh"
"samples/url-shortener/python/bicep|bash deploy.sh|bash ../scripts/validate.sh"
Expand Down
Loading
Loading