Google Cloud Deployment Manager
24 Nov 2016

Google Cloud Deployment Manager

Create and manage cloud resources with simple templates!

24 Nov 2016

In this article, we will write about our review about Google Cloud Deployment Manager. Google CDMs goal is to create a simple deployment and then extend to a more complex deployment using features of the Deployment Manager that you can reuse in your own deployments.

#1 What is Google Cloud Deployment Manager

Google Cloud Deployment Manager is an infrastructure management service that makes it simple to create, deploy, and manage Google Cloud Platform resources. Google Cloud Deployment Manager is a product of the Google Cloud Platform and is available at no additional charge to Cloud Platform customers.

It allows you to specify all the resources needed for your application in a declarative format using YAML.
YAML is a flexible, human-readable file format that is ideal for storing object trees. YAML stands for “YAML Ain’t Markup Language”. It is easier to read (by humans) than JSON and can contain richer metadata.

#2 Cloud Deployment Manager Features

Google Cloud Deployment Manager

Google Cloud Deployment Manager

Parallel Deployment: Deploy many resources at one time, in parallel.
Templates: Python and Jinja2 template to programmatically control what gets deployed.
Updates: Add, delete or change resources in the deployment.
Input and Output Parameters: Pass variables (e.g. zone, machine size, number of machines, state: test, prod, staging) into your templates and get output values back (e.g. IP address assigned, link to the instance).
Schema Files: JSON schema for defining and constraining parameters.
References: One resource definition can reference another resource creating dependencies and controlling the order of resource creation.
Preview Mode: See what changes Deployment Manager will make on a create or update operation before you commit the changes.
Console UI: View your deployments in the Google Cloud Console where you can see one view of your whole deployment in a hierarchical view.

#3 What is the purpose

If you want to automate your cloud environment then it is a great way to use it. By creating a set of declarative templates, Deployment Manager lets you consistently deploy, update and delete resources like Google Compute Engine, Google Container Engine, Google BigQuery, Google Cloud Storage and Google Cloud SQL.

#4 How to use it

Deployment Manager uses three types of files:

  • A Configuration file is written in YAML
  • Template files, based on Jinja 2.7.3 or Python 2.7
  • Schema files, which define a set of rules that a configuration file must meet if it wants to use a particular template

Don’t forget to subscribe down below to our newsletter
– we are full of news & we want to share with you! 😉

Subscribe to our mailing list

Leave a comment
More Posts

Comments are closed.