When your customers deploy your Terraform Kubernetes apps on Google Kubernetes Engine, they're charged for the following:
- Their usage of your app, depending on the pricing model that you've set up.
- Their usage of Google Cloud resources, such as the cost for running Google Kubernetes Engine clusters.
You can choose one of the following pricing models for your app:
- Free: Customers only pay for the Google Cloud resources that they use.
- Usage-based: Customers pay for your app based on measurements that you choose, called metrics, such as the number of containers or storage time.
To set up your app's pricing model, use Producer Portal to add your app's pricing information.
Before you begin
If your Terraform Kubernetes app supports usage-based billing, you must prepare your app to track usage.
Add your app's pricing information in Producer Portal
To add pricing information for your Terraform Kubernetes app, complete the following steps:
Open Producer Portal in the Google Cloud console:
https://console.cloud.google.com/producer-portal?project=YOUR_PUBLIC_PROJECT_ID
In the list of products, click the name of your product.
On the Overview page of your product, go to the Pricing section and click Edit.
Define your pricing structure
For each pricing model that you want to support, create a name for your pricing plan and follow the steps to define the pricing structure.
After you define the pricing structures for all of the pricing models you want to support, click Set up to set up the pricing structures and continue on to the remaining features of the Pricing page.
Free
- In the Pricing model drop-down list, select Free.
Usage-based pricing
In the Pricing model drop-down list, select Usage-based only.
In the Metrics drop-down list, select Add or update metrics to add appropriate Google Kubernetes Engine metrics, such as vCPU, GPU, TPU, or memory.
For each metric that you add, you must enter a Display name, a Reporting unit, and a Display unit, and then click either Done or Add another metric. The Reporting unit specifies how your metric tracks usage for billing, while the Display unit specifies how your metric's pricing is displayed.
Add pricing details for your pricing structures
If your app has usage-based pricing, after you define your pricing structures, you can add the pricing details for your pricing structures.
To add pricing details for the pricing structures that you defined, go to the Pricing section of Producer Portal, and complete the following steps:
Click Edit usage fees.
For each metric that you previously selected, configure the unit cost.
Click Done.
Add pricing descriptions to your plans
After defining your pricing structure, you can describe your default configuration or provide other special instructions by using the Features tab of the Pricing details section.
Answer tax category questions
In Producer Portal, in the Pricing details section, use the Tax category tab to answer questions about your product. Your answers to these questions are used by Google for internal classification purposes only.
(For partners with a US payment profile) Answer tax withholding questions
If you have a payment profile with a US address, then after you've answered the questions about your product's tax category, you must answer additional questions related to tax withholding. Your answers to these questions help Google categorize your product for tax purposes. This information is captured to ensure accurate withholding and reporting on your earned income. To answer these questions, in Producer Portal, from the Pricing details section, visit the Tax withholding tab.
Add an end user license agreement
In Producer Portal, from the Pricing details section, visit the Terms & Policies tab to add an end user license agreement (EULA). We recommend that you use the Google standard EULA if your product allows it. This might help users adopt your product more quickly.
If your product requires a specialized EULA, add your EULA's URL to the EULA URL field.
Submit your app's pricing for review
To submit your app's pricing information for review, in Producer Portal, navigate to your app's Pricing section and click Submit.
You can't modify your pricing information while it's under review.
Update the price of products after launch
If it's been at least 30 days after your pricing model has been published and approved, you can update the price of your product. To update the price of your product, complete the following steps:
- In the list of products, click the name of your product.
- Go to your product's Pricing section.
- Click Edit content.
- Make your updates to your pricing.
- If the questions in the Tax category section of Producer Portal have changed since you last submitted your pricing for review, you must review the Tax category questions again and adjust your answers if you need to.
- When you're done, click Submit price model.
After the new pricing is reviewed and approved, your product's price is updated. It might take up to four business days for Google to review and publish pricing updates.
If you're decreasing your price, Cloud Marketplace doesn't require any additional waiting period. If you're increasing your price, it takes an additional 45 days for the price increase to take effect after the Cloud Marketplace team confirms that they've received your price increase request. This time window includes 15 days to draft and send a message to active users, and 30 days for users to review the price change.
Delete a pricing plan
To delete a pricing plan in Producer Portal, you must make sure that it has no deployments associated with it, including both active and cancelled deployments. This means that you can't delete a pricing plan on your own if it has previously been purchased.
To delete a plan that has deployments associated with it, contact your Google Partner Engineer.