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

5 Discovering Jenkins as code with Terraform

This chapter covers

  • Introducing infrastructure as code (IaC)
  • Using HashiCorp Terraform, which enables IaC
  • Deploying Jenkins in a secure private network
  • Scaling Jenkins workers dynamically with AWS Auto Scaling

In the previous chapter, we used HashiCorp Packer to create custom Jenkins machine images; in this chapter, we will use those images (figure 5.1) to deploy the machines. To do that, we will write declarative definitions of the Jenkins infrastructure we want to exist and use an automation tool to deploy the resources on the given infrastructure-as-a service (IaaS) provider.

In the past, managing IT infrastructure was a hard job. System administrators had to manually manage and configure all ...

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