Terraform Cookbook
eBook - ePub

Terraform Cookbook

Provision, run, and scale cloud architecture with real-world examples using Terraform

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

Terraform Cookbook

Provision, run, and scale cloud architecture with real-world examples using Terraform

About this book

Explore how to provision, manage, and scale your infrastructure using Infrastructure as Code (IaC) with TerraformPurchase 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.

]]>

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 more here.
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.4M+ 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 million books across 1000+ topics, we’ve got you covered! Learn more here.
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 here.
Yes! You can use the Perlego app on both iOS or 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 Terraform Cookbook by Mikael Krief in PDF and/or ePUB format, as well as other popular books in Computer Science & Software Development. We have over one million books available in our catalogue for you to explore.

Table of contents

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