Uncodemy Logo ← Back to Course
Jenkins · Topic 9 of 15

Master & Slave (Agent) Architecture

Why Master-Slave?

Jenkins uses a Master-Slave (Master-Agent) architecture to manage distributed builds. The Master is the main Jenkins server; Slaves are additional servers/agents that share the workload. Master and Slave nodes communicate over the TCP/IP protocol.

Setting Up Master & Slave

  1. Launch 3 EC2 instances with the same key-pair (name them master, slave-1, slave-2 for clarity).
  2. Install Jenkins on the master server, and only Java on the slave servers — using the same Java version as the master.
  3. On the master: Manage Jenkins → Nodes & Clouds → New Node.
  4. Give the node a name and select Permanent Agent → Create.

New Node Configuration Fields

Master Jenkins & DevOps with Uncodemy

Hands-on live training, real projects, and placement support — become job-ready in DevOps.

Enroll in DevOps Training →