Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timoknapp/az-container-apps-demo
Simple demo to showcase Azure Container Apps
https://github.com/timoknapp/az-container-apps-demo
application-gateway azure container-apps
Last synced: 14 days ago
JSON representation
Simple demo to showcase Azure Container Apps
- Host: GitHub
- URL: https://github.com/timoknapp/az-container-apps-demo
- Owner: timoknapp
- Created: 2023-01-27T16:23:26.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T08:31:30.000Z (almost 2 years ago)
- Last Synced: 2024-11-02T00:42:02.554Z (2 months ago)
- Topics: application-gateway, azure, container-apps
- Language: Bicep
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure Container Apps Demo
[![Build](https://github.com/timoknapp/az-container-apps-demo/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/timoknapp/az-container-apps-demo/actions/workflows/main.yml)
Simple demo to showcase Azure Container Apps
## Prerequisites
In order to run the demo you need to have the following tools installed:
* [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli)
Make sure that you have the latest version of the Azure CLI installed:
```bash
az --version
```Make sure you are logged in to your Azure subscription:
```bash
az login
```## Getting Started
### Deploy
```bash
RG_NAME=rg-container-apps-demo-001
# Create Resource Group
az group create --name $RG_NAME --location westeurope
# Deploy Bicep template
az deployment group create -n az-container-apps-demo --resource-group $RG_NAME --template-file main.bicep
# Setup private DNS Zone
ACA_ENV_FQDN=$(az containerapp env list -g $RG_NAME --query "[0].properties.defaultDomain" -o tsv)
VNET=$(az network vnet list -g $RG_NAME --query "[0].name" -o tsv)
az network private-dns zone create -g $RG_NAME -n $ACA_ENV_FQDN
az network private-dns link vnet create -g $RG_NAME -n "aca-dns-link" -z $ACA_ENV_FQDN -v $VNET -e true
```### Cleanup Resource Group
```bash
az group delete --name rg-container-apps-demo-001 --yes
```