Cloud app cost estimates

How Workbench calculates cost estimates for cloud apps

Prior reading: Cloud apps overview

Purpose: This document provides details on how cloud app cost estimates are calculated.


Introduction

Verily Workbench dynamically generates cost estimates for your new and existing cloud apps.

You can find the cost estimates for your existing apps on each app card:

Screenshot of app detail card, with current cost highlighted.
Viewing an existing app's cost estimate.

To view the cost estimates for a new app, create a new app and proceed to the Choose configuration step. You'll see the cost estimate for the default configuration.

Screenshot of Choose configuration dialog, showing cost estimate breakdown for a default configuration.
Viewing a new app's cost estimate.

Proceed to the Compute options step to configure the app image type, cloud compute profile, and autostop time length (if available). The cost estimate will dynamically change based on the number of CPUs and GPUs selected.

Cost estimations on Google Cloud

Google Cloud cost estimations are internally computed directly from the pricing SKUs listed from the Cloud Billing API. This means that calculated costs reflect the on-demand pricing of cloud resources and does not factor in billing account-specific discounts including committed use discounts and negotiated pricing contracts.

There are several broad cost categories for apps on Google Cloud. These include compute costs, disk costs, network costs, and managed services fees. For detailed information on these costs, see Cost management on Google Cloud.

Workbench apps on Google Cloud are based on Compute Engine instances. Cost estimations depend on the following factors:

  1. Cloud compute profile
  2. Workspace region
  3. Managed service fees

Cloud compute profile

The number of CPUs and GPUs and the amount of memory all incur cost when the app is running.

Compute

For Vertex AI notebooks and custom applications, you can set compute configurations directly in the UI. If you're creating an app using the CLI, you can configure the machine type via the
--machine-type option. The machine type determines the number of CPUs and the amount of memory configured for each node. For example, the n2-standard-4 machine type is configured with 4 vCPUs and 16 GB of memory.

For Dataproc clusters, you can configure the machine type for the master and worker nodes. The machine type determines the number of CPUs and the amount of memory for each node.

If a worker node is configured as a spot instance, then a spot discount is applied.

Disk

Persistent disks attached to apps also incur cost based on the disk size and disk type. For more information, see persistent disk pricing. Note that persistent disks incur cost even when the app is stopped.

By default, Vertex AI and custom application apps are configured with two standard persistent disks: a 150 GB boot disk and a 100 GB data disk.

For Dataproc clusters, persistent disks are attached and provisioned per VM, so two disks are provisioned for the master node and each worker node.

Region

The workspace default region determines the region-specific pricing of the compute profile and disk costs.

For example, the cost of a Vertex AI app created in us-west2 can cost almost 20% more than the same notebook created in us-central1.

Screenshot of cost estimate for an app in the us-central1 region. Screenshot of cost estimate for an app in the us-west2 region.
Cost estimate for a Vertex AI notebook created in us-central1 (left) versus us-west2 (right).

Managed service fees

Vertex AI and Dataproc cluster apps incur additional managed service fees. Google Cloud adds a fixed cost per CPU core. For more information, see Management in "Cloud cost management."

Unaccounted costs and discounts

Discounts

Cost estimates are calculated from the hourly on-demand pricing of individual cloud resource SKUs. Billing account-specific pricing including committed use discounts and negotiated contract pricing is not accounted for. Further, sustained use discounts accrued from running VMs for an extended duration of time are not accounted for. For more information on committed use discounts, see Resource-based committed use discounts. For more information on sustained use discounts, see Sustained use discounts for Compute Engine.

Networking Costs

Cost incurred from user actions such as copying or transferring data across cloud regions are not factored into cost estimations. This includes the estimated hourly and monthly costs displayed during app creation and the hourly cost displayed on each app card. See Networking costs for more information on data copying, download, and transfer costs.

Troubleshooting

You will see an Unknown cost estimate on the app card if an app was created using the Workbench CLI with an unsupported configuration for cost estimation. You can submit feedback in this form to request cost estimation support for your app configuration.

An app with an unsupported configuration for cost estimation.

Last Modified: 12 November 2024