Skip to Content
Google Cloud Platform Cookbook
book

Google Cloud Platform Cookbook

by Legorie Rajan PS
April 2018
Intermediate to advanced content levelIntermediate to advanced
280 pages
6h 18m
English
Packt Publishing
Content preview from Google Cloud Platform Cookbook

Creating a custom VM using Terraform

Terraform is a powerful tool used for defining infrastructure as code on various platforms. Two of the biggest advantages of Terraform are its simple templating language (HashiCorp Configuration Language, also known as HCL) and its state maintenance. Terraform's role of provisioning plays well with other configuration management tools. The configurations given to Terraform are converted into API calls to perform the provisioning. Also, when a change is made to the desired state, for example, the count of instances is updated from two to three, Terraform keeps track of the state and launches the creation of one new instance.

In this recipe, similar to the tailor-made VM we created using the Deployment Manager ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Google Compute Engine

Google Compute Engine

Marc Cohen, Kathryn Hurley, Paul Newson
Mastering Google App Engine

Mastering Google App Engine

Mohsin Shafique Hijazee
Google Cloud Platform Administration

Google Cloud Platform Administration

Ranjit Singh Thakurratan
Google Cloud Cookbook

Google Cloud Cookbook

Rui Santos Costa, Drew Hodun

Publisher Resources

ISBN: 9781788291996Supplemental Content