Learn from Terraform expert Mark Tinderholt and excel in designing and automating your infrastructure and CI/CD pipelines with Terraform across major cloud platforms and paradigms
Key Features
Build comprehensive end-to-end solutions with Terraform using VMs, Kubernetes, and Serverless
Integrate Terraform with other HashiCorp products and common tools such as Packer, Docker, Kubernetes, and Helm
Streamline your operations using Gitflow powered by GitHub Actions CI/CD pipelines
Book Description
Advancements made in cloud technology and automation tools have led to increased challenges in defining and managing your infrastructure or app environment as code on your chosen cloud platform, integrating security, managing microservices complexity, and so on. This book takes a learning-by-doing approach to teach you how to employ Terraform features to develop efficient cloud infrastructure using real-world scenarios and best practices.
The book begins by introducing you to Terraform’s architecture, both as a command-line tool and a programming language, HashiCorp Configuration Language (HCL). You’ll discover best practices, usage, and architectural patterns and implement Terraform on virtual machines (VMs), Docker/Kubernetes, Serverless, and multiple cloud platforms such as AWS, Azure, and GCP. The chapters also show you how to industrialize your CI/CD pipeline by integrating Terraform with other popular technologies to build, provision, deploy, and manage cloud infrastructure. You’ll gain a clear understanding of security, monitoring, troubleshooting, and cost optimization and be able to apply the concepts you’ve learned when preparing for Terraform Associate certification exams.
By the end of this book, you’ll be equipped to confidently build, automate, and deliver your infrastructure and CI/CD pipelines in cloud-based applications.
What you will learn
Explore Terraform architecture and configurations in depth
Integrate Packer with Terraform for VM-based solutions
Containerize apps with Docker and Kubernetes
Explore GitOps and CI/CD deployment patterns
Transform existing applications into serverless architectures
Migrate and modernize legacy apps for the cloud
Implement Terraform on AWS, Azure, and GCP
Use Terraform with teams of varying size and responsibility
Who this book is for
This book is for Devops engineers, cloud engineers, platform engineers, infrastructure engineers, site reliability engineers, developers, and cloud architects who want to utilize Terraform to automate their cloud infrastructures and streamline software delivery. Prior knowledge of cloud architecture, infrastructure, and platforms, as well as Terraform basics, will help you understand the topics present in this book.
Table of Contents
Understanding Terraform Architecture
Using HashiCorp Configuration Language
Harnessing HashiCorp Utility Providers
Foundations of Cloud Architecture – Virtual Machines and Infrastructure-as-a-Service
Beyond VMs – Core Concepts of Containers and Kubernetes
Connecting It All Together – GitFlow, GitOps, and CI/CD
Getting Started on AWS – Building Solutions with AWS EC2
Containerize with AWS – Building Solutions with AWS EKS
Go Serverless with AWS – Building Solutions with AWS Lambda
Getting Started on Azure – Building Solutions with Azure Virtual Machines
Containerize on Azure – Building Solutions with Azure Kubernetes Service