Cloud environment cost estimates
Categories:
Prior reading: Cloud environments overview
Purpose: This document provides details on how cloud environment cost estimates are calculated.
Introduction
Verily Workbench dynamically generates cost estimates for your new and existing cloud environments.
You can find the cost estimates for your existing cloud environments on each environment card:
To view the cost estimates for a new cloud environment, create a new cloud environment and proceed to the Choose configuration step. You’ll see the cost estimate for the default configuration.
Proceed to the “Customize” step to configure the environment 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.
Note
Autostop is a feature available for all app types except JupyterLab Spark cluster. You can have your cloud environment automatically stop running after a specified idle time, anywhere from 1 hour to 14 days. By setting autostop, you can potentially save on compute costs by not having your cloud environment unnecessarily run. The idle time length can be edited at any time.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 cloud environments 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 cloud environments on Google Cloud are based on Compute Engine instances. Cost estimations depend on the following factors:
- Cloud compute profile
- Workspace region
- Managed service fees
Cloud compute profile
The number of CPUs and GPUs and the amount of memory all incur cost when the cloud environment is running.
Compute
For Vertex AI notebooks and custom applications,
you can set compute configurations directly in the UI. If you’re creating an environment 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.
Note
To learn more about Compute Engine machine types, see Machine families resource and comparison guide. Cloud environments incur vCPU and memory costs when they are running.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 cloud environments 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 cloud environment is stopped.
By default, Vertex AI and custom application cloud environments 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.
Note
For Vertex AI and Compute Engine environments, you can change the data disk size via the UI at the time of environment creation.
The number of disks, disk type, and disk size can be changed via the CLI after you’ve created an environment.
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 cloud environment created in us-west2
can
cost almost 20% more than the same notebook created in us-central1
.
Managed service fees
Vertex AI and Dataproc cluster cloud environments 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 environment creation and the hourly cost displayed on each environment card. See Networking costs for more information on data copying, download, and transfer costs.
Troubleshooting
You will see an Unknown
cost estimate on the environment card if a cloud environment
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 cloud environment
configuration.
Last Modified: 11 September 2024