Skip to Content
Pipeline as Code
book

Pipeline as Code

by Mohamed Labouardy
October 2021
Intermediate to advanced
528 pages
12h 44m
English
Manning Publications
Content preview from Pipeline as Code

4 Baking machine images with Packer

This chapter covers

  • Overview of immutable infrastructure
  • Baking Jenkins machine images with Packer
  • Discovering Jenkins essentials plugins
  • Executing Jenkins Groovy scripts
  • Using Packer provisioners to automate Jenkins settings

In the previous chapter, you learned how Jenkins distributed mode architecture works. In this one, we will get our hands dirty and deploy a Jenkins cluster on AWS. As a quick reminder, you learned that the Jenkins cluster is divided into two main components: master and worker. Before diving into the implementation of the distributed builds architecture, we will deploy the standalone mode, shown in figure 4.1, to cover some basics.

To deploy this architecture, we need to provision a ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Data Pipelines with Apache Airflow

Data Pipelines with Apache Airflow

Julian de Ruiter, Bas Harenslak
Kubernetes: Up and Running, 3rd Edition

Kubernetes: Up and Running, 3rd Edition

Brendan Burns, Joe Beda, Kelsey Hightower, Lachlan Evenson

Publisher Resources

ISBN: 9781617297540Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link