Read Terraform: Up and Running: Writing Infrastructure as Code by Yevgeniy Brikman Online

terraform-up-and-running-writing-infrastructure-as-code

With this practical book, you ll learn how to get you up and running with Terraform, an open source tool that allows you to define infrastructure for a variety of cloud providers including AWS, Azure, Google Cloud, DigitalOcean, and others using a simple, declarative programming language. Author Yevgeniy (Jim) Brikman introduces you to Terraform syntax, and shows you how tWith this practical book, you ll learn how to get you up and running with Terraform, an open source tool that allows you to define infrastructure for a variety of cloud providers including AWS, Azure, Google Cloud, DigitalOcean, and others using a simple, declarative programming language. Author Yevgeniy (Jim) Brikman introduces you to Terraform syntax, and shows you how to deploy and manage infrastructure with just a few CLI commands.You ll also learn:Why every company needs to use infrastructure-as-codeWhy Terraform is preferable to Chef, Puppet, Ansible, SaltStack, and CloudFormationHow you can manage Terraform stateHow to create reusable infrastructure with Terraform modulesTerraform tips & tricks: loops, if-statements, and pitfallsHow to use Terraform as a team...

Title : Terraform: Up and Running: Writing Infrastructure as Code
Author :
Rating :
ISBN : 9781491977088
Format Type : Paperback
Number of Pages : 364 Pages
Status : Available For Download
Last checked : 21 Minutes ago!

Terraform: Up and Running: Writing Infrastructure as Code Reviews

  • Juan C
    2019-02-21 19:46

    This book is a very important introduction to Terraform and allow me to quickly build "plans" to automate the deployment of stacks to AWS and MS Azure Cloud infrastructures, following best practices. Here you will find good recommendations on how to use Terraform as a team, how organize your Terraform scripts in version control system, orchestrate the deployment and integrate testing before applying your changes in Production. I liked how the content has been structured the examples. I recommend this book

  • Anton Antonov
    2019-02-20 17:35

    Terraform Up and Running is a great introduction and guide to becoming "able" with terraform to server provision with AWS.Things to note beforehand:* this book focuses on terraform only,* AWS is the provider of choice and you'll see a lot of AWS lingo which is also explained. Familiarity is a plus, but not required,* this is not a book that'll teach you devops best practices which is a plus in terms of book length.So as you expect, the focus on the book is working with the AWS Terraform provider.If you want an other provider, you'll have to manage yourself and probably won't benefit **that much** from the book. It's highly recommended that you follow the AWS route. There's also an open-source effort at https://github.com/brikis98/terraform... to port for GCP and Azure (at the time of writing this).Prepare your wallet if you want to follow every code example and actually raise environments. I highly recommend going for this, cause otherwise you won't get all the small gotchas of Terraform and most importantly - the current improvements in Terraform (at time of writing the review - TF is 0.11.3, but the book is written for TF 0.8-0.9). If you're "fast" as in not letting an instance run for a day, you'll get by the end of the book with less than $10 if you host in Frankfurt based on my fare. Afaik Ireland is even cheaper compared to Frankfurt.Does the fact that the book is written for TF 0.8-0.9 hinder it from being useful now? Not at all.I might say it's a big benefit. The author of the book is one of the authors of `terragrunt` which is a wrapper around terraform that enhances it with "state file locking" among many other things.State file locking is extremely vital in making terraform work for teams of more than one person.The book does a very, very solid job of teaching you how to use terraform right and not mess with your state. However there is another approach presented on how to prevent state file concurrency issues by using a CI to apply server provisioning. Of course this is limited to good will and sanity of other team members still not running terraform apply by themselves since I am not aware of an option preventing terraform users of running apply at all.Since the book is written with terragrunt in mind, in TF 0.11 (and little prior to that), the new backend functionality that provides state locking for AWS s3 is already rolled out, which means that terragrunt is optional now. Your choice whether you want to use terragrunt.But moving aside from small differences the book is very solid in regards of presenting you practical problems of creating and provisioning environments. Although for "content digestibility", they're greatly simplified compared to real staging/production and etc environments, they present the actual problems of how to use terraform at first, from syntax, declarative resources approach, using data/output/resource/var/module, procedural-like constructs, workflow and reusability.There's also a focus on best practices. It's a big plus being nudged in the direction and learning not to use inline blocks for example, among other things.So where does the book stand? As in other devops books that work with an infrastructure as code, server templating and other tools - it's very important to have your examples always up-to-date and runnable. Unfortunately you'll run into missing AWS AMIs that you can't just find. Only solution is to understand the point that is being presented and provide your own AMIs that fill the MVP requirements of the service that must be deployed. This will negatively affect the time needed to digest the content. This is my only downside with the book, hence the 4/5.

  • Carlos Vitor
    2019-02-12 16:31

    Great kickstart, tutorial-style introduction to Terraform as a tool to manage infrastructure. Since Terraform is very new, some of the content such as gotchas and module design are invaluable resources for teams who want to adopt it in real world, production scenarios.The part regarding logic constructs (if/else, loops, etc) is also helpful, but feel like a collections of hacks to overcome limitations and achieve reuse which a limited declarative language such as HCL The author makes that point very clear, though.I recommend for anyone planning on adopting Terraform and have used it before, but not for those who never heard of it or aren't familiar with Infra as a Code (IAC) concepts.

  • Mike Gunderloy
    2019-02-17 22:19

    A quick introduction to the basics of Terraform, presented tutorial-style. Like most books in the genre it uses toy examples, and you can grab the code from their online repo (though you'll get more out of it IMO if you type things yourself). Fortunately toy examples are enough to get the idea of how things fit together, and it can all be run against a free-tier Amazon account. In addition to simply learning how to get from declarative HCL to running infrastructure, it also covers things like shared state, managing large projects, and testing (to a small extent).

  • Brecht
    2019-02-15 21:44

    Great introduction to terraform. As others have mentioned, it is a tutorial oriented book. As a result it is hard to use as a reference. However, when you use it as it is intended it is great. Some things are outdated but most things are still relevant (storing state on S3, some syntax). The only thing that is missing for me is the changes you have to make to deploy to a non default VPC. Which can be some digging in the terraform docs if you are working with autoscaling groups.

  • Dan Lien
    2019-01-22 21:24

    We use Terraform at work, and I needed an introduction on how to use Terraform. If you've used other configuration management systems (Chef, Puppet, CloudFormation, etc.), this is a quick way to get started with Terraform.The book covers the basics (syntax, language features, etc.) and includes recommendations on common uses cases including:* organizing your files* working with multiple environments (staging, production, etc.)* working with a team* performing deployments

  • Hongchang
    2019-02-04 22:29

    Infrastructure as Code is a powerful concept that is changing how people write and deploy software. Terraform is one of the newest offering in the field and Yevgeniy's book is an excellent introduction to the different approaches to tackle the problem of maintaining a reliable yet flexible infrastructure.

  • Michael
    2019-02-20 16:24

    A pretty good intro to Terraform. I've used it fairly extensively in the past so not much was new to me, but the sections on functions provided examples which made them easier to understand and I learned more about the lifecycle block

  • Katherine
    2019-01-26 22:36

    It has a lot detail that are still relevant today.

  • Lamont Lucas
    2019-02-01 23:42

    UsefulGood, logical approach to the subject. Lots of attention paid to how you should lay out a project and some gotchas.

  • Daniel Rankov
    2019-01-25 22:40

    Great book, not just on Terraform technology itself, but also on how to isolate environments, keep consistent state files and work as a team.

  • Russell
    2019-02-13 23:43

    The best terraform book out there. One section is out of date in 0.9 and this was written with 0.8, but it is minor.

  • Tomasz Cholewa
    2019-02-19 15:28

    I expected much more than just a few ideas on how to organise your code, some pictures and explanation of Terraform works. It was a disappointment.