Pipeline as Code
eBook - ePub

Pipeline as Code

Continuous Delivery with Jenkins, Kubernetes, and Terraform

  1. 528 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Pipeline as Code

Continuous Delivery with Jenkins, Kubernetes, and Terraform

About this book

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!

What's inside

    Build and deploy a Jenkins cluster on scale
    Write pipeline as code for cloud-native applications
    Automate the deployment of Dockerized and serverless applications
    Deploy Jenkins on AWS, GCP, and Azure
    Grasp key principles of a successful DevOps culture

About the reader
For developers familiar with Jenkins and Docker. Examples in Go.

About the author
Mohamed Labouardy is the CTO and co-founder of Crew.work, a Jenkins contributor, and a DevSecOps evangelist.

Table of Contents

PART 1 GETTING STARTED WITH JENKINS
1 What’s CI/CD?
2 Pipeline as code with Jenkins
PART 2 OPERATING A SELF-HEALING JENKINS CLUSTER
3 Defining Jenkins architecture
4 Baking machine images with Packer
5 Discovering Jenkins as code with Terraform
6 Deploying HA Jenkins on multiple cloud providers
PART 3 HANDS-ON CI/CD PIPELINES
7 Defining a pipeline as code for microservices
8 Running automated tests with Jenkins
9 Building Docker images within a CI pipeline
10 Cloud-native applications on Docker Swarm
11 Dockerized microservices on K8s
12 Lambda-based serverless functions
PART 4 MANAGING, SCALING, AND MONITORING JENKINS
13 Collecting continuous delivery metrics
14 Jenkins administration and best practices

Trusted byĀ 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Publisher
Manning
Year
2021
Print ISBN
9781617297540
eBook ISBN
9781638350378

Table of contents

  1. inside front cover
  2. Pipeline as Code
  3. Copyright
  4. brief contents
  5. contents
  6. front matter
  7. Part 1. Getting started with Jenkins
  8. 1 What’s CI/CD?
  9. 2 Pipeline as code with Jenkins
  10. Part 2. Operating a self-healing Jenkins cluster
  11. 3 Defining Jenkins architecture
  12. 4 Baking machine images with Packer
  13. 5 Discovering Jenkins as code with Terraform
  14. 6 Deploying HA Jenkins on multiple cloud providers
  15. Part 3. Hands-on CI/CD pipelines
  16. 7 Defining a pipeline as code for microservices
  17. 8 Running automated tests with Jenkins
  18. 9 Building Docker images within a CI pipeline
  19. 10 Cloud-native applications on Docker Swarm
  20. 11 Dockerized microservices on K8s
  21. 12 Lambda-based serverless functions
  22. Part 4. Managing, scaling, and monitoring Jenkins
  23. 13 Collecting continuous delivery metrics
  24. 14 Jenkins administration and best practices
  25. index

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Pipeline as Code by Mohamed Labouardy in PDF and/or ePUB format, as well as other popular books in Computer Science & Cloud Computing. We have over 1.5 million books available in our catalogue for you to explore.