Read our newest book, Fundamentals of DevOps and Software Delivery, for free!

Terraform: Up & Running

Headshot of Yevgeniy Brikman

Yevgeniy Brikman

NOV 17, 2016 | 3 min read
Last month, we released the Comprehensive Guide to Terraform blog post series and were blown away by the response. Thousands of developers read it and shared it (even HashiCorp tweeted about it), we got tons of great feedback, and we got many interesting questions. Clearly, Terraform is becoming a very popular technology and many people want to learn how to use it. Therefore, we took the blog post series, expanded it with lots of new content and examples, and turned it into a book! It’s called Terraform: Up & Running and it’s available as an early release in the O’Reilly Store today!
Terraform is an open source tool that allows you to define your infrastructure as code using a simple, declarative programming language, and to deploy and manage that infrastructure across a variety of cloud providers (including Amazon Web Services, Azure, Google Cloud, DigitalOcean, and many others) using a few commands. For example, instead of manually clicking around a webpage or running dozens of commands, here is all the code it takes to configure a server on AWS:
resource "aws_instance" "example" { ami = "ami-40d28157" instance_type = "t2.micro" }
And to deploy it, you just run one command:
terraform apply
Thanks to its simplicity and power, Terraform is rapidly emerging as a dominant player in the DevOps world. It’s replacing not only manual sysadmin work, but also many older infrastructure as code tools such as Chef, Puppet, Ansible, SaltStack, and CloudFormation. We’ve used Terraform extensively for the last few years, and it has become one of the foundational technologies at Gruntwork, where we have used it to get many companies up and running on AWS with DevOps best practices and world-class infrastructure in just 1–2 weeks. And now, all of this experience is available in a book.This book is the fastest way to get up and running with Terraform.You’ll go from deploying the most basic “Hello, World” Terraform example all the way up to running a full tech stack (server cluster, load balancer, database) capable of supporting a large amount of traffic and a large team of developers — all in the span of just a few chapters. The book is a hands-on-tutorial that not only teaches you DevOps and infrastructure as code principles, but also walks you through dozens of code examples that you can try at home (you can find all the code examples in the Terraform: Up & Running GitHub repo).By the time you’re done, you’ll be ready to use Terraform in the real world.Grab a copy of the early release of the book in the O’Reilly Store today! You’ll receive new chapters and updates as they are written, plus the final ebook bundle when the book is released. This is your chance to be one of the first to master Terraform, to own this book, and to help make it better. What did you like? What did you hate? What’s missing? Grab a copy and send your feedback to info@gruntwork.io.Get your DevOps superpowers at Gruntwork.io.
Share
Grunty
Resources

Explore our latest blog

Get the most up-to-date information and trends from our DevOps community.
TerraformResouces Image

Promotion Workflows with Terraform

How to configure GitOps-driven, immutable infrastructure workflows for Terraform using Gruntwork Patcher.
avatar

Jason Griffin

October 3, 2023 7 min read
TerraformResouces Image

The Impact of the HashiCorp License Change on Gruntwork Customers

How to configure GitOps-driven, immutable infrastructure workflows for Terraform using Gruntwork Patcher.
avatar

Josh Padnick

October 3, 2023 7 min read