Video description
An outstanding source of knowledge for Terraform enthusiasts of all levels.
Anton Babenko, Betajob
Use Terraform to programmatically create, test, and manage infrastructure using the efficient infrastructure-as-code approach.
In Terraform in Action you will learn:
- Cloud architecture with Terraform
- Terraform module sharing and the private module registry
- Terraform security in a multitenant environment
- Strategies for performing blue/green deployments
- Refactoring for code maintenance and reusability
- Running Terraform at scale
- Creating your own Terraform provider
- Using Terraform as a continuous development/continuous delivery platform
Terraform in Action introduces the infrastructure-as-code (IaC) model that lets you instantaneously create new components and respond efficiently to changes in demand. You’ll use the Terraform automation tool to design and manage servers that can be provisioned, shared, changed, tested, and deployed with a single command.
about the technology
Provision, deploy, scale, and clone your entire stack to the cloud at the touch of a button. In Terraform, you create a collection of simple declarative scripts that define and manage application infrastructure. This powerful infrastructure-as-code approach automates key tasks like versioning and testing for everything from low-level networking to cloud services.
about the book
Terraform in Action shows you how to automate and scale infrastructure programmatically using the Terraform toolkit. Using practical, relevant examples, you’ll use Terraform to provision a Kubernetes cluster, deploy a multiplayer game, and configure other hands-on projects. As you progress to advanced techniques like zero-downtime deployments, you’ll discover how to think in Terraform rather than just copying and pasting scripts.
what's inside
- Cloud architecture with Terraform
- Terraform module sharing and the private module registry
- Terraform security in a multitenant environment
- Strategies for performing blue/green deployments
about the audience
For readers experienced with a major cloud platform such as AWS. Examples in JavaScript and Golang.
about the author
Scott Winkler is a DevOps engineer and a distinguished Terraform expert. He has spoken multiple times at HashiTalks and HashiConf, and was selected as a HashiCorp Ambassador and Core Contributor in 2020.
A must for anyone who wants to understand Terraform.
Jürgen Hötzel, Lisperati
Takes you by the hand and explains how to use Terraform easily and correctly. A pleasure to read.
Andrea Granata, Luminor Bank
A great introduction to Terraform with real-world examples.
Matt Welke, GroupBy
Terraform brilliantly explained.
Enrico Mazzarella, Techedge
NARRATED BY CHRISTOPHER KENDRICK
Table of Contents
Part 1. Terraform bootcamp
Chapter 1. Getting started with Terraform
Chapter 1. “Hello Terraform!”
Chapter 1. Brave new “Hello Terraform!”
Chapter 2. Life cycle of a Terraform resource
Chapter 2. Generating an execution plan
Chapter 2. Updating the local file resource
Chapter 3. Functional programming
Chapter 3. Assigning values with a variable definition file
Chapter 3. Generating many Mad Libs stories
Chapter 3. Conditional expressions
Chapter 4. Deploying a multi-tiered web application in AWS
Chapter 4. Root module
Chapter 4. Database module
Chapter 4. Templating a cloudinit_config
Part 2. Terraform in the wild
Chapter 5. Serverless made easy
Chapter 5. Writing the code
Chapter 5. Deploying to Azure
Chapter 6. Terraform with friends
Chapter 6. Writing the code
Chapter 6. Everyone gets an S3 backend
Chapter 6. Deploying multiple environments
Chapter 7. CI/CD pipelines as code
Chapter 7. Dynamic configurations and provisioners
Chapter 7. Dynamic blocks: Rare boys
Chapter 8. A multi-cloud MMORPG
Chapter 8. Deploying an MMORPG on a federated Nomad cluster
Chapter 8. Re-architecting the MMORPG to use managed services
Part 3. Mastering Terraform
Chapter 9. Zero-downtime deployments
Chapter 9. Blue/Green deployments
Chapter 9. Blue/Green cutover
Chapter 9. Code
Chapter 10. Testing and refactoring
Chapter 10. Refactoring Terraform configuration
Chapter 10. Migrating Terraform state
Chapter 10. Testing infrastructure as code
Chapter 11. Extending Terraform by writing a custom provider
Chapter 11. Writing the Petstore provider
Chapter 11. Defining Read()
Chapter 11. Testing and building the provider
Chapter 12. Automating Terraform
Chapter 12. Building the Plan and Apply stages
Chapter 12. Declaring the pipeline as code
Chapter 12. Connecting to GitHub
Chapter 13. Security and secrets management
Chapter 13. Removing unnecessary secrets from Terraform state
Chapter 13. What sensitive information?
Chapter 13. Managing static secrets
Chapter 13. Using dynamic secrets
Chapter 13. Sentinel and policy as code