Terraform Cookbook: Provision, run, and scale cloud architecture with real-world examples using Terraform, 2nd Edition


Terraform Cookbook: Provision, run, and scale cloud architecture with real-world examples using Terraform
by 作者: Mikael Krief (Author), Armon Dadgar (Foreword)
Publisher Finelybook 出版社: Packt Publishing
Edition 版本: 2nd ed.
Publication Date 出版日期: 2023-08-31
Language 语言: English
Pages 页数: 634 pages
ISBN-10 书号: 1804616427
ISBN-13 书号: 9781804616420


Book Description

Explore how to provision, manage, and scale your infrastructure using Infrastructure as Code (IaC) with Terraform

Purchase of the print or Kindle book includes a free PDF eBook


Key Features

  • Get up and running with the latest version of Terraform (v1+) CLI
  • Discover how to deploy Kubernetes resources with Terraform
  • Learn how to troubleshoot common Terraform issues


Book Description

HashiCorp Configuration Language (HCL) has changed how we define and provision data center infrastructure with the launch of Terraform, a top-tier product for building Infrastructure as Code (IaC). Terraform Cookbook shows you how to leverage Terraform to manage complex infrastructure with ease.

This new edition has been updated to include real-world examples for provisioning Azure, AWS and GCP infrastructure with Terraform. You’ll delve into manual and automated testing with Terraform configurations, creating and managing a balanced, efficient, and reusable infrastructure with Terraform modules. You’ll learn how to automate the deployment of Terraform configuration with continuous integration and continuous delivery (CI/CD).

Besides that, several new chapters have been added that describe the use of Terraform for Docker and Kubernetes, examine advanced topics on GitOps practices, and explain how to test Terraform configurations using different tools to check code and security compliance. The final chapter covers troubleshooting common Terraform issues and provides solutions for frequently encountered errors.

By the end of this book, you’ll have developed the skills needed to get the most value out of Terraform and to effectively manage your infrastructure.


What you will learn

  • Use Terraform to build and run cloud and Kubernetes infrastructure using IaC best practices
  • Adapt the Terraform command line adapted to appropriate use cases
  • Automate the deployment of Terraform confi guration with CI/CD
  • Discover manipulation of the Terraform state by adding or removing resources
  • Explore Terraform for Docker and Kubernetes deployment, advanced topics on GitOps practices, and Cloud Development Kit (CDK)
  • Add and apply test code and compliance security in Terraform configuration
  • Debug and troubleshoot common Terraform errors


Who this book is for

This book is for developers, operators, and DevOps engineers looking to improve their workflow and use Infrastructure as Code. Experience with Microsoft Azure, Jenkins, shell scripting, and DevOps practices is required to get the most out of this Terraform book.

Table of
Contents

  1. Setting Up the Terraform Environment
  2. Writing Terraform Configurations
  3. Scaling Your Infrastructure with Terraform
  4. Using Terraform with External Data
  5. Managing Terraform State
  6. Applying a Basic Terraform Workflow
  7. Sharing Terraform Configuration with Modules
  8. Provisioning Azure Infrastructure with Terraform
  9. Provisioning Simple AWS and GCP Infrastructure Using Terraform
  10. Using Terraform for Docker and Kubernetes Deployment
  11. Running Test and Compliance Security on Terraform Configuration
  12. Deep-Diving into Terraform
  13. Automating Terraform Execution in a CI/CD Pipeline
  14. Using Terraform Cloud to Improve Team Collaboration
  15. Troubleshooting Terraform Errors
  16. Appendix A: Terraform Cheat Sheet
  17. Appendix B: Terraform Resources


About the Author

Mikael Krief is a DevOps engineer who lives in France. He believes that Infrastructure as Code is a fundamental practice in DevOps culture. He is therefore interested in HashiCorp products and specializes in the use of Terraform. Mikael loves to share his passion through various communities, such as the HashiCorp User Groups. Over the years, he has contributed to many public projects, written various blog posts, published several books, and spoken at leading conferences. For his contributions and passion, he was nominated and selected as a HashiCorp Ambassador since 2019, and he has been awarded the Microsoft Most Valuable Professional (MVP) award for 7 years.

Amazon page

打赏
未经允许不得转载:finelybook » Terraform Cookbook: Provision, run, and scale cloud architecture with real-world examples using Terraform, 2nd Edition

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫