تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

azd-deployment

بواسطة thegovind

DevOps & Cloud
1.8kالتنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Deploy containerized applications to Azure Container Apps.

الوصف

ما الذي تفعله هذه المهارة

Handles deployment of containerized applications to Azure Container Apps using the Azure Developer CLI (azd). Covers azure.yaml configuration, Bicep infrastructure modules, remote builds via ACR, environment variable flow across local and cloud environments, and managed identity RBAC setup.

azd combines Bicep provisioning, ACR image builds, and Container App deployment into a single idempotent command, removing the need to manually coordinate each Azure CLI step.

متى تستخدمها

  • Deploying a containerized frontend and backend to Azure Container Apps
  • Setting up idempotent Bicep infrastructure for repeatable provision runs
  • Configuring remote ACR builds to avoid ARM/AMD64 architecture mismatches on M1 Macs
  • Managing environment variables across dev, staging, and production azd environments
  • Assigning managed identity RBAC roles to Container Apps after provisioning

مثال على سير العمل

الإدخال

User asks: Deploy my Python backend and TypeScript frontend to Azure Container Apps with managed identity access to Azure OpenAI

الوكيل
  1. 1

    Creates azure.yaml defining frontend and backend services with remoteBuild: true and host: containerapp

  2. 2

    Writes main.bicep with a Container Apps environment, ACR, and system-assigned identity for the backend

  3. 3

    Configures main.parameters.json to inject azd env variables into Bicep parameters

  4. 4

    Adds a postprovision hook that runs az role assignment create to grant the backend Cognitive Services OpenAI User access

  5. 5

    Runs azd up to provision infrastructure, build images remotely in ACR, and deploy both services

الإخراج

Frontend and backend running on Azure Container Apps, backend managed identity granted RBAC access to Azure OpenAI, service URIs written to .azure/<env>/.env

المتطلبات

  • Azure subscription
  • Azure Developer CLI (azd)
  • Azure CLI (az)

التثبيت

clawhub install thegovind/azd-deployment

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط