mcpField
A
azure-app-service

azure-app-service

github.com/aj-geddesCloud & DevOps373441 installsUpdated 34w ago
Repository

About azure-app-service

A skill for planning and operating web apps, APIs, and backends on Azure App Service. It provides CLI and Terraform guides alongside deployment, health-check, scaling, and security practices.

Key features

  1. 01Azure CLI setup guidance
  2. 02Terraform configuration guidance
  3. 03Deployment and health-check configuration
  4. 04Scaling and security practices

Use cases

  1. 01Creating a web app or REST API
  2. 02Configuring production health checks
  3. 03Planning autoscaling and deployment slots

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill azure-app-service

After installing, type/azure-app-servicein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
app-service-creation-with-azure-cli.md
deployment-configuration.md
health-check-configuration.md
terraform-app-service-configuration.md
scripts/
validate-schema.sh
templates/
migration-template.sql

Details

From the project README

Azure App Service

Table of Contents

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:

GuideContents
App Service Creation with Azure CLIApp Service Creation with Azure CLI
Terraform App Service ConfigurationTerraform App Service Configuration
Deployment ConfigurationDeployment Configuration
Health Check ConfigurationHealth 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

Comments

Markdown supported