Home icon
Using Amazon EC2 Auto Scaling to Manage Azure Pipelines Agent Capacity

Blog



This article explains how to use Amazon EC2 Auto Scaling to automatically manage Azure Pipelines agent capacity on AWS, enabling cost-effective CI/CD deployments.

  • Deploy self-hosted Azure Pipelines agents on EC2 with automatic scaling based on demand
  • CloudFormation template provisions Auto Scaling group, Systems Manager documents, and EventBridge rules
  • Agents automatically register with Azure DevOps on launch and unregister on termination
  • Supports both Windows and Linux agents with custom or AWS-supplied AMIs
  • Scheduled scaling reduces costs by scaling down during off-peak hours
  • Secure credential storage using Systems Manager Parameter Store
  • Minimal IAM permissions assigned to each resource and agent instance

This solution helps organizations optimize Azure DevOps CI/CD costs on AWS by automatically scaling agent pools based on workload schedules while maintaining sufficient capacity for timely builds.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.