This page describes the steps to create a deployment package for your virtual machine (VM) product, as part of publishing your product to Google Cloud Marketplace.
A deployment is a set of resources that are created and managed together—such as the resources needed for your product. A deployment package is a specification for a set of resources that are typically deployed together, which streamlines the process of deploying that particular product.
Specify which deployment options to offer to your customers
You can enable your customers to deploy your VM product by using either or both of the following options:
Terraform (Recommended): Terraform is an open source tool for provisioning infrastructure. For more information, refer to the Terraform on Google Cloud documentation.
With this option, your customers download and deploy Terraform modules, either directly from Cloud Marketplace or by using Terraform.
We recommend that you support Terraform, especially if the following cases are true for your product:
Your customers are familiar with Terraform.
Your customers want to manage their deployments as infrastructure as code (IaC).
Your product's architecture is complex and extensively configurable.
Your product requires features that aren't available through the open source
mpdev
tool.
Cloud Deployment Manager: Cloud Deployment Manager is an infrastructure deployment service that automates the creation and management of Google Cloud resources. For more information, visit the Deployment Manager documentation.
With this option, your customers deploy your product directly from Cloud Marketplace.
To specify which deployment options to offer your customers, complete the following steps:
In Producer Portal, go to the Deployment package section.
Under Configuration, use the checkboxes to select or clear Terraform and Deployment Manager. You must select at least one of the two options.
Select your VM image
To select your product's VM image, complete the following steps:
In Producer Portal, go to the Deployment package section.
Under Deployment image source, use the checkbox to specify whether or not to Use Marketplace owned images.
If you turn on usage of Cloud Marketplace owned images, then during verification of your VM image, Cloud Marketplace copies your image to a Google-owned Google Cloud project. We recommend that you turn on usage of Cloud Marketplace owned images to ensure that your customers' usage of your products isn't unintentionally disrupted if you make changes to images that you own. For example, if you don't use Cloud Marketplace owned images, and you change an Identity and Access Management (IAM) policy for your product's published image, you might cause some of your customers to be unable to access the product.
Select your VM image.
The VM image you select must meet the following requirements:
The VM image must be associated with your current Google Cloud project.
The VM image must have the correct license for your product attached to it. You create and attach this license when you create your VM image.
Next steps
After you've specified which deployment options to offer to your customers and selected your VM image, you must complete the remaining applicable steps to configure your deployment image source.