azure-functions
>
Works with
--- name: azure-functions description: > license: MIT --- # Azure Functions ## 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 Functions enables serverless computing on Microsoft Azure. Build event-driven applications with automatic scaling, flexible bindings to various Azure services, and integrated monitoring through Application Insights. ## When to Use - HTTP APIs and webhooks - Message-driven processing (Service Bus, Event Hub) - Scheduled jobs and CRON expressions - File and blob processing - Queue-based workflows - Real-time data processing - Microservices and backend logic - Integration with Azure ecosystem services ## Quick Start Minimal working example: ```bash # Install Azure Functions Core Tools curl https://aka.ms/install-artifacts-ubuntu.sh | bash # Login to Azure az login # Create resource group az group create --name myapp-rg --location eastus # Create storage account (required for Functions) az storage account create \ --name myappstore \ --location eastus \ --resource-group myapp-rg \ --sku Standard_LRS # Create Function App az functionapp create \ --resource-group myapp-rg \ --consumption-plan-location eastus \ --runtime node \ --runtime-version 18 \ --functions-version 4 \ --name myapp-function \ --storage-account myappstore // ... (see reference guides for full implementation) ``` ## Reference Guides Detailed implementations in the `references/` directory: | Guide | Contents | |---|---| | [Azure Function Creation with Azure CLI](references/azure-function-creation-with-azure-cli.md) | Azure Function Creation with Azure CLI | | [Azure Function Implementation (Node.js)](references/azure-function-implementation-nodejs.md) | Azure Function Implementation (Node.js) | | [Azure Functions with Terraform](references/azure-functions-with-terraform.md) | Azure Functions with Terraform | | [Function Bindings Configuration](references/function-bindings-configuration.md) | Function Bindings Configuration | ## Best Practices ### ✅ DO - Use managed identity for Azure services - Store secrets in Key Vault - Enable Application Insights - Implement idempotent functions - Use durable functions for long-running operations - Handle exceptions and failures - Monitor function execution - Use bindings instead of SDK calls ### ❌ DON'T - Store secrets in code or configuration - Ignore Application Insights - Create functions without error handling - Use blocking operations - Create long-running functions without Durable Functions - Ignore monitoring and logging
More DevOps & Infrastructure skills
azure-ai
microsoft/azure-skills
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.
appinsights-instrumentation
microsoft/azure-skills
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.
azure-storage
microsoft/azure-skills
Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake. Answers questions about storage access tiers (hot, cool, cold, archive), when to use each tier, and tier comparison. Provides object storage, SMB file shares, async messaging, NoSQL key-value, and big data analytics. Includes lifecycle management. USE FOR: blob storage, file shares, queue storage, table storage, data lake, upload files, download blobs, storage accounts, access tiers, storage tiers, hot cool cold archive, storage tier comparison, when to use storage tiers, lifecycle management, Azure Storage concepts. DO NOT USE FOR: SQL databases, Cosmos DB (use azure-prepare), messaging with Event Hubs or Service Bus (use azure-messaging).

