100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace
Cloud

Google Cloud Deployment Manager

By Google Cloud

IntermediateTool4.2K learners

Google Cloud Deployment Manager is Google Cloud's native infrastructure-as-code service that lets users define resources in YAML templates (optionally extended with Python or Jinja2) and deploy them as a single, trackable deployment.

Definition

Google Cloud Deployment Manager is Google Cloud's native infrastructure-as-code service that lets users define resources in YAML templates (optionally extended with Python or Jinja2) and deploy them as a single, trackable deployment.

Overview

Deployment Manager is Google Cloud's counterpart to AWS CloudFormation and Azure Resource Manager: a declarative way to describe a set of Google Cloud resources — compute instances, networks, storage buckets, IAM bindings — in a configuration file and have Google Cloud create, update, or delete them together as a single deployment. Configurations are written in YAML, and can be templated using Python or Jinja2 to parameterize values and generate repeated resource blocks, which keeps large environments from becoming a wall of copy-pasted YAML. Each deployment is tracked as a first-class object in the Google Cloud console, so its full set of resources, and the history of updates made to it, can be inspected and previewed before changes are applied. Compared to CloudFormation and ARM, Deployment Manager has a smaller feature set and a smaller ecosystem, and Google itself now points many users toward Terraform (which Google actively contributes providers for) or the newer Config Connector and Infrastructure Manager products for more advanced infrastructure-as-code workflows. It remains useful for teams that want a lightweight, native way to codify Google Cloud resources without adopting a third-party tool.

Key Features

  • Declarative YAML configuration files describing Google Cloud resources
  • Python and Jinja2 templating for parameterized, reusable configurations
  • Deployments tracked as manageable objects with preview and update history
  • Automatic dependency ordering between resources in a configuration
  • Integration with Google Cloud IAM for access control over deployments

Use Cases

Codifying Google Cloud environments without adopting a third-party IaC tool
Repeating the same project setup (networking, IAM, storage) across environments
Previewing changes to a deployment before they are applied
Managing resource lifecycles as a single trackable unit rather than individually

Frequently Asked Questions

From the Blog