Terraform for AWS

Terraform for AWS

Write, plan, and create AWS infrastructure as code

About the Book

Terraform is an infrastructure as code software from HashiCorp. Terraform enables you to safely and predictably create, change, and improve infrastructure. It is an open source tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

You can Use Terraform to create resources across all major infrastructure providers (AWS, GCP, Azure, OpenStack, VMware, and more). Terraform allows you to effortlessly combine high-level system providers. It's definitely a useful tool if you work with multiple cloud providers or hybrid cloud. In this book I will only cover AWS, but the same best practices can be applied to various providers.

When you use Terraform, you can reuse your template to set up your resources consistently

and repeatedly. Just describe your resources once and then provision the same resources over and over

in multiple accounts and regions. This book will show you how to write a reusable Terraform template for your cloud infrastructure.

The aim of this book is to help you get started with Terraform in an easy way. With detailed steps, complete codes, command outputs and screen captures from AWS console, I hope you will get better understanding of how things work.  

The example project will help you grasp the concepts quickly. You will be able to build cloud infrastructure for a multi-tier WordPress site using Terraform in no time. Throughout the book you will get your hands dirty writing Terraform template and deploying resources. By the end of reading this book, I hope that you will master Terraform.

About the Author

Yan Kurniawan
Yan Kurniawan

Yan Kurniawan is a freelance Cloud/DevOps Engineer. Yan has worked on many AWS projects and he has helped companies from startups to Fortune 100 companies. He is an AWS Certified Solutions Architect Professional and a Puppet Certified Professional.

Based in Sydney, Australia, he enjoys the laid-back lifestyle in one of the world’s best cities to live in. He loves taking beautiful cityscape and landscape pictures with his camera. You can find his works here.

You can hire him through Upwork.

Authors have earned$9,537,060writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub