Menu

1 / 7

Jenkins Fundamentals - Part 4: From Static Agents to Elastic Jenkins — Concept

DEV Community: jenkins·Phu Hoang·4 days ago
#Mn6uTygT
#devtojenkins#devto#dev#jenkins#agent
Long article (3550 words) — no AI summary yet.
Reading 0:00
15s threshold

In Part 3, our static EC2 Agent worked exactly as expected. Builds no longer ran on the Jenkins Controller, the execution environment had its own compute boundary, and labels gave us a clear way to control where Pipelines should run.

But a working architecture is not necessarily a scalable one.

As Jenkins adoption grows, a single static Agent is rarely enough. More concurrent builds require more execution capacity, while different workloads begin to require different types of Agents. A Java build may need Maven and a specific JDK, a frontend Pipeline may require Node.js, an infrastructure Pipeline may need Terraform and the AWS CLI, and a security Pipeline may depend on its own scanning tools.

Before long, one static Agent becomes a fleet of static Agents.

And then another problem becomes difficult to ignore: most of that capacity is not busy all the time .

Outside peak development hours, during quiet periods, or over weekends, EC2 Agents may sit idle while still consuming compute and storage cost.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.