proomt

Search

Search posts, papers, and topics

All posts

CodeshipViktor Farcic6 min readtutorialintermediate

Setting Up Jenkins EC2 Agents

Summary

The article walks through configuring Jenkins to launch EC2 instances as build agents on demand, covering AWS IAM setup, security groups, key pairs, AMI selection, and the Jenkins EC2 plugin configuration. It shows how idle termination can keep costs low while providing elastic build capacity.

  • Create an IAM user with minimal required permissions and attach a policy (e.g., AdministratorAccess for demo) to let Jenkins manage EC2 resources.
  • Define a security group opening port 22 (SSH) and generate an EC2 key pair to allow Jenkins to connect to agents.
  • Select or build a custom AMI that includes Java (and optional tools) and record its AMI ID for the plugin configuration.
  • Configure the Amazon EC2 cloud in Jenkins: add credentials, region, key pair, instance type, remote FS, labels, and set an appropriate idle‑termination timeout to balance startup latency vs cost.

DevOps engineers using Jenkins who need scalable, cost‑effective build agents on AWS should follow this guide to automate provisioning and teardown of EC2 workers.

5/10

Related reading

  1. Introducing the DevOps Agent Kit

    The DevOps Agent Kit is an Apache‑2.0 open‑source starter kit that lets you plug an LLM‑based coding assistant into your existing CI/CD, security, and feature‑flag tooling via CloudBees Unify. It ships with seven read‑only example skills, enforces RBAC and audit trails, and normalises data from up to 63 tools so the agent can answer a single “are we good to ship?” question with verifiable evidenc…

    Codeshipcloudbees.com5 min
  2. Blog: How to Build a DevOps Agent

    This blog walks through the open‑source DevOps Agent Kit, which lets Claude Code or Cursor act as a DevOps assistant by connecting to CloudBees Unify, Jira, and Slack via MCP servers and to GitHub via the CLI. It provides a repeatable setup (Docker, Node, env file) and seven slash commands for pipeline overview, triage, security, release readiness, flag management, CI health scoring, and Jira tic…

    Codeshipcloudbees.com10 min
  3. AWS reimagines the getting started experience

    AWS announced a new “project” onboarding flow that lets new users start building with default configurations, free credits, and simplified IAM handling. Sign‑in via Google/GitHub/Apple creates an isolated AWS account, auto‑provisions a CLI/agent toolkit, and lets you invite collaborators by email. Spend limits can be set per project, and advanced features (multi‑region, org policies) can be enabl…

    AWSamazon.com5 minHN33