This page explains how to submit your product for review and publish the product to Google Cloud Marketplace.
Before you begin
- Make sure that you have reviewed and met all the requirements for listing your product.
- Make sure that you have reviewed and met all the requirements for packaging your product.
- Make sure you have submitted your solution for an Open Source Compliance review.
- Configure payments so that you can be paid for your product's usage.
- Test your product end-to-end.
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:
In your public project, under Compute Engine, go to the Images page.
Select your image, as shown below:
If you don't see an info panel on the top-right, click Show Info Panel.
In the info panel, in the Add Members field, enter
allAuthenticatedUsers, and from the Select a role menu, select Compute Image User.
Click Add to make your image public.
Use the following
gcloud beta command in
Cloud Shell, or on your local
gcloud beta compute images add-iam-policy-binding IMAGE_NAME --member=allAuthenticatedUsers --role=roles/compute.imageUser
Submit and publish your product
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
- 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.
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:
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.