https://github.com/denniszielke/serverless-container-ml
Serverless machine learning using queues, dapr and container apps
https://github.com/denniszielke/serverless-container-ml
azure containerapps dapr python
Last synced: 6 months ago
JSON representation
Serverless machine learning using queues, dapr and container apps
- Host: GitHub
- URL: https://github.com/denniszielke/serverless-container-ml
- Owner: denniszielke
- License: mit
- Created: 2022-02-16T14:09:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-17T20:47:00.000Z (over 2 years ago)
- Last Synced: 2025-02-15T20:17:17.166Z (8 months ago)
- Topics: azure, containerapps, dapr, python
- Language: Bicep
- Homepage:
- Size: 91.8 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# serverless-container-ml
This sample is taken from https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-container-apps-dapr-binding-example/ba-p/3045890

## Deploy Azure resources
```
PROJECT_NAME="dzopt5"
LOCATION="westeurope"bash ./deploy-infra.sh $PROJECT_NAME $LOCATION
```
## Deploy Apps into Container Apps
```
PROJECT_NAME="dzopt5"
GITHUB_REPO_OWNER="denniszielke"
IMAGE_TAG="latest"bash ./deploy-apps.sh $PROJECT_NAME $GITHUB_REPO_OWNER $IMAGE_TAG
```
## Create test data
```
export AZURE_STORAGE_CONNECTION_STRING=""MESSAGE=$(echo -n "hello from azure cli" | base64)
az storage message put --content $MESSAGE -q requests
for i in {1..300}; do for i in {1..300}; az storage message put --content $MESSAGE -q requests; done
```