Автор: Kerim Satirli, Taylor Dolezal
Издательство: O’Reilly Media, Inc.
Год: 2025
Страниц: 346
Язык: английский
Формат: pdf, epub
Размер: 10.1 MB
Cloud services and SaaS software permeate every company's IT landscape, requiring a shift from manually provisioned services to a more structured approach, with codification at its core. Terraform provides tools to manage the lifecycle of your IT landscape across thousands of different cloud providers and SaaS platforms.
By defining your infrastructure as code you can safely and predictably make changes, modularize crucial building blocks, and create reusable service components. Each recipe in this cookbook addresses a specific problem and prefaces the solution with detailed insights into the "how" and "why".
If you're just starting with Terraform and codified infrastructure, this book will help you create a solid foundation, on which you can build for years to come. If you're an advanced user, this guide will help you reaffirm your knowledge and take it to the next level, as you challenge yourself with more complex infrastructure, spread across multiple providers.
Terraform is a source-available tool created by HashiCorp that allows you to manage your infrastructure as code (IaC). It provides a simple and consistent way to define, provision, and manage resources across cloud platforms and on-premises environments. With Terraform, you can describe your infrastructure in a declarative language called the HashiCorp configuration language (HCL). This allows you to specify the desired state of your infrastructure rather than having to script the steps to get there. Terraform then applies this configuration to create, modify, or delete resources as necessary to achieve the desired state. The real power of Terraform is in its ability to manage complex infrastructure. You can create reusable modules that can be shared and applied to different projects, making it easy to maintain consistency across multiple environments. Additionally, Terraform’s state management system ensures that the current state of your infrastructure is tracked and can be used to update, destroy, or re-create resources as needed.
Recipes include:
Strategies on how to use Terraform with Version Control Systems
Validation and testing patterns for Terraform-managed infrastructure
Methods for importing pre-existing resources
Transforming infrastructure services into reusable components
Integrating Terraform with other HashiCorp tools
Deploying Containerized Workloads
Who Should Read This Book:
This book is for anyone responsible for creating, managing, or improving infrastructure. That includes DevOps engineers, site reliability engineers, infrastructure developers, system administrators, and even ambitious developers looking to broaden their skills. If you’ve ever had to provision a server, configure a load balancer, or lose sleep over a 3 A.M. production issue, this book is for you. We don’t assume you’re already an expert in infrastructure or coding. A basic familiarity with cloud concepts and comfort with the command line should suffice. Everything else you need, you’ll learn along the way.
Скачать Terraform Cookbook: Recipes for Codifying Infrastructure (Final Release)