‹ 首页

azure-app-service

@aj-geddes · 收录于 5 天前 · 上游提交 4 个月前

Deploy and manage web apps using Azure App Service with auto-scaling, deployment slots, SSL/TLS, and monitoring. Use for hosting web applications on Azure.

适合你,如果需要在 Azure 上托管 Web 应用并管理部署。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add aj-geddes/useful-ai-prompts/azure-app-service
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- aj-geddes/useful-ai-prompts/azure-app-service
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify aj-geddes/useful-ai-prompts/azure-app-service
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
300GitHub stars
~472最小装载
~1.7K含声明引用
~1.8K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 3f5182c · 表述以原文为准
它做什么

装上后,Claude能帮你用Azure App Service部署和管理网站,支持自动扩容、零停机更新、SSL证书和监控等。

什么时候触发

当你想部署Web应用、REST API或移动后端,或需要管理Azure上的网站时触发。

装好后可以这样说
Claude会执行az命令创建资源组、计划和应用。
Claude会设置基于指标的缩放规则。
Claude会创建部署槽并配置交换操作。
技能原文 SKILL.md作者撰写 · MIT · 3f5182c

Azure App Service

Table of Contents
  • [Overview](#overview)
  • [When to Use](#when-to-use)
  • [Quick Start](#quick-start)
  • [Reference Guides](#reference-guides)
  • [Best Practices](#best-practices)
Overview

Azure App Service provides a fully managed platform for building and hosting web applications, REST APIs, and mobile backends. Support multiple programming languages with integrated DevOps, security, and high availability.

When to Use
  • Web applications (ASP.NET, Node.js, Python, Java)
  • REST APIs and microservices
  • Mobile app backends
  • Static website hosting
  • Production applications requiring scale
  • Applications needing auto-scaling
  • Multi-region deployments
  • Containerized applications
Quick Start

Minimal working example:

# Login to Azure
az login

# Create resource group
az group create --name myapp-rg --location eastus

# Create App Service Plan
az appservice plan create \
  --name myapp-plan \
  --resource-group myapp-rg \
  --sku P1V2 \
  --is-linux

# Create web app
az webapp create \
  --resource-group myapp-rg \
  --plan myapp-plan \
  --name myapp-web \
  --deployment-container-image-name nodejs:18

# Configure app settings
az webapp config appsettings set \
  --resource-group myapp-rg \
  --name myapp-web \
  --settings \
// ... (see reference guides for full implementation)
Reference Guides

Detailed implementations in the references/ directory:

| Guide | Contents | |---|---| | [App Service Creation with Azure CLI](references/app-service-creation-with-azure-cli.md) | App Service Creation with Azure CLI | | [Terraform App Service Configuration](references/terraform-app-service-configuration.md) | Terraform App Service Configuration | | [Deployment Configuration](references/deployment-configuration.md) | Deployment Configuration | | [Health Check Configuration](references/health-check-configuration.md) | Health Check Configuration |

Best Practices
✅ DO
  • Use deployment slots for zero-downtime deployments
  • Enable Application Insights
  • Configure autoscaling based on metrics
  • Use managed identity for Azure services
  • Enable HTTPS only
  • Store secrets in Key Vault
  • Monitor performance metrics
  • Implement health checks
❌ DON'T
  • Store secrets in configuration
  • Disable HTTPS
  • Ignore Application Insights
  • Use single instance for production
  • Deploy directly to production
  • Ignore autoscaling configuration
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。