Home / Companies / CircleCI / Blog / Post Details
Content Deep Dive

Automatically scale self-hosted runners in AWS to meet demand

Blog post from CircleCI

Post Details
Company
Date Published
Author
Sebastian Lerner
Word Count
3,402
Company Posts That Month
11
Language
English
Hacker News Points
-
Post removed?
No
Summary

Self-hosted runners in CircleCI enable teams to customize and control their CI/CD infrastructure by hosting their own scalable execution environments in a private cloud or on-premises. These runners offer flexibility for teams with unique security or compute requirements and can be set up quickly, providing access to popular CircleCI Cloud features such as parallelism, test splitting, and SSH debugging. To manage fluctuations in resource demands and avoid unnecessary costs from idle resources, teams can implement an auto-scaling solution using AWS Auto Scaling groups, which adjusts the number of self-hosted runners based on job queue depth. This tutorial demonstrates setting up an auto-scaling solution for CircleCI's self-hosted runners with AWS, involving the creation of a launch template, Auto Scaling group, IAM policy, and role, along with the use of AWS Lambda functions to monitor job queue depth and adjust runners accordingly. By leveraging these tools, teams can maintain efficient and cost-effective CI/CD pipelines, adapting the infrastructure to meet dynamic workload requirements while maintaining full control over execution environments.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 26 691 110 51 -9%
Secrets Management 16 293 58 36 -52%
Kubernetes 1 1,066 146 55 +4%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.