Get up and running with Terraform (v1+) CLI and automate infrastructure provisioning
Discover how to deploy Kubernetes resources with Terraform
Become a Terraform troubleshooting expert for streamlined infrastructure management and minimal downtime
Description
Imagine effortlessly provisioning complex cloud infrastructure across various cloud platforms, all while ensuring robustness, reusability, and security. Introducing the Terraform Cookbook, Second Edition - your go-to guide for mastering Infrastructure as Code (IaC) effortlessly.
This new edition is packed with real-world examples for provisioning robust Cloud infrastructure mainly across Azure but also with a dedicated chapter for AWS and GCP. You will delve into manual and automated testing with Terraform configurations, creating and managing a balanced, efficient, reusable infrastructure with Terraform modules. You will learn how to automate the deployment of Terraform configurations through continuous integration and continuous delivery (CI/CD), unleashing Terraform's full potential. New chapters have been added that describe the use of Terraform for Docker and Kubernetes, and explain how to test Terraform configurations using different tools to check code and security compliance. The book devotes an entire chapter to achieving proficiency in Terraform Cloud, covering troubleshooting strategies for common issues and offering resolutions to frequently encountered errors.
Get the insider knowledge to boost productivity with Terraform - the indispensable guide for anyone adopting Infrastructure as Code solutions.
Who is this book for?
This book is for developers, operators, and DevOps engineers looking to improve their workflow and use Infrastructure as Code. If you find yourself spending too much time on manual infrastructure provisioning, struggling to manage complex deployments across environments, or facing unexpected downtime due to infrastructure issues then this book is meant for you. Experience with Microsoft Azure, Jenkins, shell scripting, and DevOps practices is required to get the most out of this Terraform book.
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
Poor binding, the pages are already teared down. Not worth it for the price of the book.Oct 03, 2024
1
The publisher should review their binding partners as it's very poor experience. With the price of the book considered, it's very poorly managed to make the copy.Expecting replacement, now I have to wait another 10 days.not sure if I can get the good book even after that.
Amazon Verified review
SteveJul 05, 2024
5
I needed a TF book for Azure. This book's examples are mostly Azure, so it's perfect
Amazon Verified review
ToreJun 09, 2024
2
The examples are often using azure
Amazon Verified review
José FloresApr 29, 2024
5
As a Sr. SRE/DevOps, I found "Terraform Cookbook: Provision, run, and scale cloud architecture with real-world examples using Terraform" an indispensable resource. This book offers a comprehensive journey through Terraform's capabilities, from setting up the environment to troubleshooting errors, with real-world examples and best practices woven throughout.One aspect I particularly appreciated was the inclusion of a Discord community dedicated to the book, fostering collaboration and support among readers. The emphasis on versioning and postconditions, along with checks, provided a solid foundation for understanding Terraform's capabilities in depth.While Azure is predominantly used in the exercises, the book offers a valuable opportunity to learn and adapt for those less familiar with the platform, with dedicated chapters on working with AWS and GCP. Additionally, the exploration of Terraform shell_script and the helm provider expanded my toolkit significantly.The extensive coverage of Terraform best practices, alongside operating the Terraform state through the command line, ensured that I could apply newfound knowledge effectively in real-world scenarios. The inclusion of over 600 pages and a GitHub repository with code per chapter further enhanced the learning experience, allowing for hands-on exploration and experimentation.I was impressed by the breadth of third-party tools introduced, including tfenv, tfvc, terraform-docs, infracost, tflint, tfsec, checkov, terratest, test-kitchen, rover, tf-summarize, and many more, enriching the Terraform ecosystem.The chapters on working with Terraform shared modules, Kubernetes, Docker, and terragrunt were particularly enlightening, also chapters offering practical insights into provisioning infrastructure in various environments and integrating with CI/CD pipelines seamlessly.Overall, "Terraform Cookbook" delivers on its promise of providing real-world scenarios and code, making it an essential companion for cloud architects seeking to master Terraform and streamline their infrastructure provisioning workflows. Whether you're a beginner or an experienced practitioner, this book is a valuable addition to your library.
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.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.