azure-batch

Expert knowledge for Azure Batch development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when building, debugging, or optimizing Azure Batch applications. Not for Azure HDInsight (use azure-hdinsight), Azure Databricks (use azure-databricks), Azure Virtual Machines (use azure-virtual-machines), Azure Virtual Machine Scale Sets (use azure-vm-scalesets).

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "azure-batch" with this command: npx skills add microsoftdocs/agent-skills/microsoftdocs-agent-skills-azure-batch

Azure Batch Skill

This skill provides expert guidance for Azure Batch. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.

How to Use This Skill

IMPORTANT for Agent: This file may be large. Use the Category Index below to locate relevant sections, then use read_file with specific line ranges (e.g., L136-L144) to read the sections needed for the user's question

IMPORTANT for Agent: If metadata.generated_at is more than 3 months old, suggest the user pull the latest version from the repository. If mcp_microsoftdocs tools are not available, suggest the user install it: Installation Guide

This skill requires network access to fetch documentation content:

  • Preferred: Use mcp_microsoftdocs:microsoft_docs_fetch with query string from=learn-agent-skill. Returns Markdown.
  • Fallback: Use fetch_webpage with query string from=learn-agent-skill&accept=text/markdown. Returns Markdown.

Category Index

CategoryLinesDescription
TroubleshootingL37-L43Diagnosing, interpreting, and fixing Azure Batch job, task, pool, and node errors, including error codes, failure patterns, and recommended recovery/handling strategies.
Best PracticesL44-L57Performance, scaling, scheduling, security, and data/output best practices for designing, monitoring, and optimizing large or specialized Azure Batch workloads (MPI, rendering, high task counts).
Decision MakingL58-L70Guidance on choosing VM sizes, images, Spot/ephemeral options, cost planning, and migration paths (custom images, low-priority to Spot, node comms) for Azure Batch pools.
Architecture & Design PatternsL71-L76Architectures and best practices for bursting on-prem render farms to Azure Batch, including storage layout, data movement patterns, and performance-optimized rendering workflows.
Limits & QuotasL77-L81Batch account limits (cores, pools, nodes, jobs), default and regional quotas, how to view current usage, request quota increases, and plan deployments within these constraints
SecurityL82-L100Securing Batch accounts and pools: identity (Entra ID, managed identities, RBAC), keys/certs, encryption, private endpoints/network perimeters, Key Vault access, and Azure Policy governance.
ConfigurationL101-L139Configuring Batch pools, tasks, networking, containers, autoscale, OS/images, filesystems, monitoring, diagnostics events, and alerts for reliable job execution.
Integrations & Coding PatternsL140-L150Using Azure Batch programmatically and via CLI/PowerShell: SDK patterns (JavaScript, .NET, Linux workloads), storing task output in Storage, and adding telemetry with Application Insights.
DeploymentL151-L155Deploying Azure Batch workloads using Azure Pipelines and CLI templates, including end-to-end job setup, automation, and integration into CI/CD workflows.

Troubleshooting

TopicURL
Diagnose and handle Azure Batch job and task errorshttps://learn.microsoft.com/en-us/azure/batch/batch-job-task-error-checking
Troubleshoot Azure Batch pool and node errorshttps://learn.microsoft.com/en-us/azure/batch/batch-pool-node-error-checking
Handle and diagnose Azure Batch errorshttps://learn.microsoft.com/en-us/azure/batch/error-handling

Best Practices

TopicURL
Design efficient Azure Batch list queries for performancehttps://learn.microsoft.com/en-us/azure/batch/batch-efficient-list-queries
Use Azure Batch task and node state counts for monitoringhttps://learn.microsoft.com/en-us/azure/batch/batch-get-resource-counts
Schedule Azure Batch jobs for efficiency and priorityhttps://learn.microsoft.com/en-us/azure/batch/batch-job-schedule
Run MPI and multi-instance workloads on Azure Batchhttps://learn.microsoft.com/en-us/azure/batch/batch-mpi
Run concurrent tasks to optimize Azure Batch node usagehttps://learn.microsoft.com/en-us/azure/batch/batch-parallel-node-tasks
Use Azure Batch capabilities for rendering workloadshttps://learn.microsoft.com/en-us/azure/batch/batch-rendering-functionality
Persist Azure Batch task and job output data safelyhttps://learn.microsoft.com/en-us/azure/batch/batch-task-output
Implement performance best practices for Azure Batchhttps://learn.microsoft.com/en-us/azure/batch/best-practices
Optimize Azure Batch jobs with very large task countshttps://learn.microsoft.com/en-us/azure/batch/large-number-tasks
Apply security best practices to Azure Batchhttps://learn.microsoft.com/en-us/azure/batch/security-best-practices

Decision Making

Architecture & Design Patterns

TopicURL
Reference architectures for bursting render farms to Azure Batchhttps://learn.microsoft.com/en-us/azure/batch/batch-rendering-architectures
Design storage and data movement for Azure Batch renderinghttps://learn.microsoft.com/en-us/azure/batch/batch-rendering-storage-data-movement

Limits & Quotas

TopicURL
Review Azure Batch service quotas and limitshttps://learn.microsoft.com/en-us/azure/batch/batch-quota-limit

Security

TopicURL
Rotate shared keys for Azure Batch accountshttps://learn.microsoft.com/en-us/azure/batch/account-key-rotation
Enable automatic certificate rotation in Azure Batch poolshttps://learn.microsoft.com/en-us/azure/batch/automatic-certificate-rotation
Authenticate Azure Batch applications with Microsoft Entra IDhttps://learn.microsoft.com/en-us/azure/batch/batch-aad-auth
Use Microsoft Entra ID with Batch Management .NEThttps://learn.microsoft.com/en-us/azure/batch/batch-aad-auth-management
Encrypt Azure Batch data with customer-managed keyshttps://learn.microsoft.com/en-us/azure/batch/batch-customer-managed-key
Configure Azure RBAC roles for Azure Batchhttps://learn.microsoft.com/en-us/azure/batch/batch-role-based-access-control
Securely access Azure Key Vault from Batch poolshttps://learn.microsoft.com/en-us/azure/batch/credential-access-key-vault
Enable disk encryption for Azure Batch pool nodeshttps://learn.microsoft.com/en-us/azure/batch/disk-encryption
Manage Azure Batch private endpoint connectionshttps://learn.microsoft.com/en-us/azure/batch/manage-private-endpoint-connections
Configure user-assigned managed identities for Batch poolshttps://learn.microsoft.com/en-us/azure/batch/managed-identity-pools
Associate Azure Batch accounts with network security perimetershttps://learn.microsoft.com/en-us/azure/batch/network-security-perimeter
Use built-in Azure Policy definitions for Azure Batch governancehttps://learn.microsoft.com/en-us/azure/batch/policy-reference
Configure Azure Batch private endpoints with Private Linkhttps://learn.microsoft.com/en-us/azure/batch/private-connectivity
Configure public network access for Azure Batch accountshttps://learn.microsoft.com/en-us/azure/batch/public-network-access
Use Azure Policy compliance controls for Batchhttps://learn.microsoft.com/en-us/azure/batch/security-controls-policy

Configuration

TopicURL
Reference for Azure Batch analytics events and alertshttps://learn.microsoft.com/en-us/azure/batch/batch-analytics
Configure Azure Batch application packages on compute nodeshttps://learn.microsoft.com/en-us/azure/batch/batch-application-packages
Configure autoscale formulas for Azure Batch poolshttps://learn.microsoft.com/en-us/azure/batch/batch-automatic-scaling
Use Azure Batch task runtime environment variableshttps://learn.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables
Configure container isolation for Azure Batch taskshttps://learn.microsoft.com/en-us/azure/batch/batch-container-isolation-task
Configure and run container workloads on Azure Batchhttps://learn.microsoft.com/en-us/azure/batch/batch-docker-container-workloads
Configure job preparation and release tasks in Azure Batchhttps://learn.microsoft.com/en-us/azure/batch/batch-job-prep-release
Manage Azure Batch accounts with .NET Management SDKhttps://learn.microsoft.com/en-us/azure/batch/batch-management-dotnet
Understand Azure Batch pool autoscale diagnostic eventhttps://learn.microsoft.com/en-us/azure/batch/batch-pool-autoscale-event
Understand Azure Batch pool create diagnostic event schemahttps://learn.microsoft.com/en-us/azure/batch/batch-pool-create-event
Understand Azure Batch pool delete complete diagnostic eventhttps://learn.microsoft.com/en-us/azure/batch/batch-pool-delete-complete-event
Understand Azure Batch pool delete start diagnostic eventhttps://learn.microsoft.com/en-us/azure/batch/batch-pool-delete-start-event
Understand Azure Batch pool resize complete diagnostic eventhttps://learn.microsoft.com/en-us/azure/batch/batch-pool-resize-complete-event
Understand Azure Batch pool resize start diagnostic eventhttps://learn.microsoft.com/en-us/azure/batch/batch-pool-resize-start-event
Update configuration properties of Azure Batch poolshttps://learn.microsoft.com/en-us/azure/batch/batch-pool-update-properties
Use Azure Compute Gallery images for Batch poolshttps://learn.microsoft.com/en-us/azure/batch/batch-sig-images
Understand Azure Batch task complete diagnostic eventhttps://learn.microsoft.com/en-us/azure/batch/batch-task-complete-event
Configure task dependencies for Azure Batch jobshttps://learn.microsoft.com/en-us/azure/batch/batch-task-dependencies
Understand Azure Batch task fail diagnostic eventhttps://learn.microsoft.com/en-us/azure/batch/batch-task-fail-event
Understand Azure Batch task schedule fail diagnostic eventhttps://learn.microsoft.com/en-us/azure/batch/batch-task-schedule-fail-event
Understand Azure Batch task start diagnostic eventhttps://learn.microsoft.com/en-us/azure/batch/batch-task-start-event
Configure Auto OS Upgrade for Azure Batch poolshttps://learn.microsoft.com/en-us/azure/batch/batch-upgrade-policy
Configure Azure Batch task user accounts and identitieshttps://learn.microsoft.com/en-us/azure/batch/batch-user-accounts
Provision Azure Batch pools in virtual networkshttps://learn.microsoft.com/en-us/azure/batch/batch-virtual-network
Create Azure Batch pools across availability zoneshttps://learn.microsoft.com/en-us/azure/batch/create-pool-availability-zones
Configure and monitor extensions on Azure Batch poolshttps://learn.microsoft.com/en-us/azure/batch/create-pool-extensions
Create Azure Batch pools with static public IP addresseshttps://learn.microsoft.com/en-us/azure/batch/create-pool-public-ip
Configure monitoring and alerts for Azure Batch with Azure Monitorhttps://learn.microsoft.com/en-us/azure/batch/monitor-batch
Reference for Azure Batch monitoring metrics and logshttps://learn.microsoft.com/en-us/azure/batch/monitor-batch-reference
Configure SSH and RDP endpoints on Azure Batch nodeshttps://learn.microsoft.com/en-us/azure/batch/pool-endpoint-configuration
Mount Azure Files shares on Azure Batch compute nodeshttps://learn.microsoft.com/en-us/azure/batch/pool-file-shares
Create and use Azure Batch resource fileshttps://learn.microsoft.com/en-us/azure/batch/resource-files
Enable simplified compute node communication in Azure Batchhttps://learn.microsoft.com/en-us/azure/batch/simplified-compute-node-communication
Create simplified communication Batch pools without public IPshttps://learn.microsoft.com/en-us/azure/batch/simplified-node-communication-pool-no-public-ip
Mount virtual file systems on Azure Batch pool nodeshttps://learn.microsoft.com/en-us/azure/batch/virtual-file-mount

Integrations & Coding Patterns

TopicURL
Manage Azure Batch with Azure CLI commandshttps://learn.microsoft.com/en-us/azure/batch/batch-cli-get-started
Build an Azure Batch client using the JavaScript SDKhttps://learn.microsoft.com/en-us/azure/batch/batch-js-get-started
Run Linux workloads on Azure Batch with SDKshttps://learn.microsoft.com/en-us/azure/batch/batch-linux-nodes
Manage Azure Batch resources using PowerShell cmdletshttps://learn.microsoft.com/en-us/azure/batch/batch-powershell-cmdlets-get-started
Persist Batch output using .NET File Conventions libraryhttps://learn.microsoft.com/en-us/azure/batch/batch-task-output-file-conventions
Use Batch service API to store task output in Azure Storagehttps://learn.microsoft.com/en-us/azure/batch/batch-task-output-files
Instrument Azure Batch .NET apps with Application Insightshttps://learn.microsoft.com/en-us/azure/batch/monitor-application-insights

Deployment

TopicURL
Deploy Azure Batch HPC solutions with Azure Pipelineshttps://learn.microsoft.com/en-us/azure/batch/batch-ci-cd
Run Azure Batch jobs end-to-end using CLI templateshttps://learn.microsoft.com/en-us/azure/batch/batch-cli-templates

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

azure-security

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

azure-architecture

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

azure-blob-storage

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

azure-logic-apps

No summary provided by upstream source.

Repository SourceNeeds Review