Pipeline as Code

  • 5h 36m
  • Mohamed Labouardy
  • Manning Publications
  • 2021

Start thinking about your development pipeline as a mission-critical application. Discover techniques for implementing code-driven infrastructure and CI/CD workflows using Jenkins, Docker, Terraform, and cloud-native services.

In Pipeline as Code, you will master:

  • Building and deploying a Jenkins cluster from scratch
  • Writing pipeline as code for cloud-native applications
  • Automating the deployment of Dockerized and Serverless applications
  • Containerizing applications with Docker and Kubernetes
  • Deploying Jenkins on AWS, GCP and Azure
  • Managing, securing and monitoring a Jenkins cluster in production
  • Key principles for a successful DevOps culture

Pipeline as Code is a practical guide to automating your development pipeline in a cloud-native, service-driven world. You’ll use the latest infrastructure-as-code tools like Packer and Terraform to develop reliable CI/CD pipelines for numerous cloud-native applications. Follow this book's insightful best practices, and you’ll soon be delivering software that’s quicker to market, faster to deploy, and with less last-minute production bugs.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology

Treat your CI/CD pipeline like the real application it is. With the Pipeline as Code approach, you create a collection of scripts that replace the tedious web UI wrapped around most CI/CD systems. Code-driven pipelines are easy to use, modify, and maintain, and your entire CI pipeline becomes more efficient because you directly interact with core components like Jenkins, Terraform, and Docker.

About the book

In Pipeline as Code you’ll learn to build reliable CI/CD pipelines for cloud-native applications. With Jenkins as the backbone, you’ll programmatically control all the pieces of your pipeline via modern APIs. Hands-on examples include building CI/CD workflows for distributed Kubernetes applications, and serverless functions. By the time you’re finished, you’ll be able to swap manual UI-based adjustments with a fully automated approach!

In this Book

  • About This Book
  • About the Cover Illustration
  • What’s CI/CD?
  • Pipeline as Code with Jenkins
  • Defining Jenkins Architecture
  • Baking Machine Images with Packer
  • Discovering Jenkins as Code with Terraform
  • Deploying HA Jenkins on Multiple Cloud Providers
  • Defining a Pipeline as Code for Microservices
  • Running Automated Tests with Jenkins
  • Building Docker Images within a CI Pipeline
  • Cloud-Native Applications on Docker Swarm
  • Dockerized Microservices on K8s
  • Lambda-Based Serverless Functions
  • Collecting Continuous Delivery Metrics
  • Jenkins Administration and Best Practices
SHOW MORE
FREE ACCESS