Submitting your product

This page explains how to submit your product for review and publish the product to Google Cloud Marketplace.

Before you begin

Make the image public

You must make your image publicly available so that your customers can deploy it to their Compute Engine instances. To make the image public, use the Cloud Console, or the gcloud command-line tool:

Console

  1. In your public project, under Compute Engine, go to the Images page.

    Go to the Images page

  2. Select your image, as shown below:

  3. If you don't see an info panel on the top-right, click Show Info Panel.

  4. In the info panel, in the Add Members field, enter allAuthenticatedUsers, and from the Select a role menu, select Compute Image User.

  5. Click Add to make your image public.

Command Line

Use the following gcloud beta command in Cloud Shell, or on your local machine:

gcloud beta compute images add-iam-policy-binding IMAGE_NAME --member=allAuthenticatedUsers --role=roles/compute.imageUser

Submit and publish your product

Producer Portal

Before publishing your product, you must submit all of its components for review. When you submit your product, the Google Cloud Marketplace team reviews your VM, which includes verifying that your image deploys and uninstalls successfully, running unit tests, and scanning your VM image for vulnerabilities. You can submit the following reviews in any order to the Google Cloud Marketplace team:

  • Product Details
  • Open Source Compliance
  • Pricing
  • Deployment Package

After all reviews have been approved, you can publish and launch the product within a few minutes.

To publish your product, go to your product's Overview page in Producer Portal and click PUBLISH. Then, contact your Partner Engineer so that they can review your submission and publish your product publicly. Before your Partner Engineer reviews and publishes the product, you can test the final product in a private state.

Partner Portal

Set and retrieve app user credentials

If your product requires a login, you must set up access to your VM by using automatically generated passwords. The username and password key values can be set in the product's metadata and read during instance or app startup using the following format:

"adminPasswordSourceMetadata": "<solution>_user_password", "adminUser": "user",

To set up access to your VM:

Under Edit deployment package, complete the fields:

The password is auto-generated by the Google Cloud Marketplace. You can access it from the instance using the following command:

 curl -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/v1/instance/attributes/<solution>_user_password

Submit and publish your product

Now you can submit your product. The Google Cloud Marketplace team reviews your VM, which includes verifying that your image deploys and uninstalls successfully, running unit tests, and scanning your VM image for vulnerabilities.

If you want to test your product before it is visible on Google Cloud Marketplace, or if you want your product to be published privately, edit the Product metadata section and select the Hide solution from end users box. With this setting enabled, only users with the Viewer role can view your Google Cloud Marketplace listing.

If you find a mistake in your product, or if your contact at Google requests changes to it, you can cancel your submission, make changes to it, and then submit it again.

To make it easier for users to find your product in Google Cloud Marketplace, edit the Product metadata section, and add search keywords in the Search keywords box. The keywords must meet the following requirements:

  • They must be directly relevant to your product.
  • They must not include brand names or product names licensed by competitors of your product.