Softwr

Machine Learning · head to head

DVC vs Google Cloud Platform

DVC logo

DVC

Machine Learning

Git-style versioning for data sets and models, with the files kept in object storage

From
Free
Free plan
Yes
Google Cloud Platform logo

Google Cloud Platform

Cloud

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only DVC lists pointer-file versioning; only Google Cloud Platform lists compute Engine.
  • Where Google Cloud Platform falls short: the $300 Free Trial credit expires 90 days from signup, whichever comes first with spending it.

How do DVC and Google Cloud Platform differ?

DVC and Google Cloud Platform differ on pricing model (Open-source against Usage-based), platforms and category (Machine Learning against Cloud). Only the attributes on which DVC and Google Cloud Platform actually diverge.

Attributes where DVC and Google Cloud Platform differ
AttributeDVCGoogle Cloud Platform
Pricing modelOpen-sourceUsage-based
PlatformsLinux, macOS, WindowsWeb, API
CategoryMachine LearningCloud
Founded20182008

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 8 appear only for DVC and 20 only for Google Cloud Platform. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in DVC

  • Pointer-file versioning
  • Remote storage backends
  • Pipeline definitions
  • Stage caching
  • Experiment tracking
  • Metrics and plots comparison
  • Data registry pattern
  • Content-addressed cache

Only in Google Cloud Platform

  • Compute Engine
  • App Engine
  • Cloud Run
  • Cloud Storage
  • Cloud SQL
  • BigQuery
  • Dataflow
  • Cloud Pub/Sub

What is each one used for?

Google Cloud Platform is most often brought in for cloud infrastructure and computing services. The jobs each tool is most often brought in to do.

DVC

  • Making a model reproducible by tying the exact data set version, code commit and parameters together in one Git historynot Google Cloud Platform
  • Keeping large training data out of Git while still having a repository that describes it preciselynot Google Cloud Platform
  • Skipping expensive preprocessing stages that have not changed, when iterating on a later stage of a pipelinenot Google Cloud Platform
  • Teams that need reproducibility but cannot get approval or budget to stand up a platform for itnot Google Cloud Platform

Google Cloud Platform

  • Cloud infrastructure and computing servicesnot DVC
  • Machine learning and data analyticsnot DVC
  • Enterprise application hostingnot DVC

Where do DVC and Google Cloud Platform fall short?

Google Cloud Platform's most cited limit: the $300 Free Trial credit expires 90 days from signup, whichever comes first with spending it. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

DVC

  • DVC knows only about files that were added through DVC, so one person copying data in by hand leaves a pipeline that reproduces to a different answer with no error and nothing to indicate which result is the real one
  • Every tracked revision writes a new pointer into Git and a new copy into the remote cache, so a data set revised daily accumulates full copies in object storage and the storage bill grows with the length of the history rather than the size of the data
  • Merge conflicts in dvc.lock and dvc.yaml are routine on parallel branches and are unreadable to anyone who has not learned the format, which in practice means the person who introduced DVC resolves all of them
  • Checking out a large data set materialises it in the working directory, so a laptop working against a repository with several hundred gigabytes tracked needs disk for the workspace and the cache together, and the reflink or hardlink optimisations that avoid doubling that are filesystem-dependent
  • It has no access control of its own and inherits whatever the remote grants, so a repository everyone can read plus a bucket everyone can read means everyone can reconstruct every historical version of every data set, which is frequently not what was intended

Google Cloud Platform

  • The $300 Free Trial credit expires 90 days from signup, whichever comes first with spending it
  • Free Tier Compute Engine is limited to one non-preemptible e2-micro instance per month and only in the us-west1, us-central1 or us-east1 regions
  • Free Tier Compute Engine includes only 30 GB-months of standard persistent disk and 1 GB of outbound North America data transfer per month
  • Free Tier Cloud Storage covers 5 GB-months of regional storage in US regions only, 5,000 Class A and 50,000 Class B operations per month
  • Free Tier outbound data transfer allowances exclude destinations in China and Australia
  • Compute Engine resources are governed by allocation quotas that require a quota increase request to exceed

How much do DVC and Google Cloud Platform cost?

DVC is free to use; Google Cloud Platform is free to use. Plan by plan below, from each vendor's own pricing page.

DVC

Free
  • Open SourceFree
    • Data versioning
    • Pipeline management
    • Experiment tracking
  • DVC StudioFree
    • Web UI
    • Team collaboration
    • Visualizations

Google Cloud Platform

Free
  • Free TierFree
    • Compute Engine 744 hours/month
    • Cloud Storage 5GB
    • Cloud SQL 250MB storage

Which should you pick?

Choose DVC if

  • You need pointer-file versioning.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want remote storage backends.

Choose Google Cloud Platform if

  • You need compute engine.
  • You want to start without paying.
  • You work on Web, API.
  • You also want app engine.

Questions people ask

Is DVC or Google Cloud Platform better?
It depends on the job. DVC fits making a model reproducible by tying the exact data set version, code commit and parameters together in one Git history; Google Cloud Platform fits cloud infrastructure and computing services. DVC starts at Free and Google Cloud Platform at Free.
Which is cheaper, DVC or Google Cloud Platform?
DVC starts at Free and Google Cloud Platform at Free.
Does DVC or Google Cloud Platform run on more platforms?
DVC runs on Linux, macOS, Windows. Google Cloud Platform runs on Web, API.
Can I use DVC for free?
Both have a free tier, so you can try either at no cost before committing.
What is DVC best used for?
DVC is most often used for making a model reproducible by tying the exact data set version, code commit and parameters together in one git history, keeping large training data out of git while still having a repository that describes it precisely, skipping expensive preprocessing stages that have not changed, when iterating on a later stage of a pipeline, teams that need reproducibility but cannot get approval or budget to stand up a platform for it. Of those, making a model reproducible by tying the exact data set version, code commit and parameters together in one git history and keeping large training data out of git while still having a repository that describes it precisely are not what Google Cloud Platform is typically brought in for.
What can DVC do that Google Cloud Platform cannot?
DVC covers Pointer-file versioning, Remote storage backends, Pipeline definitions, Stage caching. Google Cloud Platform covers Compute Engine, App Engine, Cloud Run, Cloud Storage.

Answered from the vendors’ own pages

DVC: Does DVC put my data in Git?

No. Git gets a small pointer file containing a hash. The data goes to a cache on disk and to a remote you configure, such as an S3 bucket.

Google Cloud Platform: What is Google Cloud Platform's pricing model?

Google Cloud uses usage-based pay-as-you-go pricing with options for committed use discounts at 1-year or 3-year terms, which can reduce costs by 25-70%. Pricing varies by region, service, and usage volume.

Source
DVC: Do I need to run a server?

No, and that is most of its appeal. It is a command line tool plus storage you already have. DVC Studio, the hosted web interface, is optional and separately paid.

Google Cloud Platform: Does Google Cloud offer a free tier?

Yes, Google Cloud offers an always-free tier with generous free allowances for development, plus $300 in free credits for new customers during their first 90 days.

Source
DVC: How is it different from Git LFS?

Git LFS versions large files and stops there. DVC also defines pipelines, tracks which stage produced which output, records metrics and lets you compare experiments, and it works with ordinary object storage rather than an LFS server.

Google Cloud Platform: How do committed use discounts work?

Users can commit to 1-year or 3-year usage of specific services to receive discounts of 25-70% compared to on-demand pricing. These discounts apply to compute, storage, and other services.

Source
DVC: Is it free?

The tool is Apache 2.0 and free. You pay for the object storage that holds the data, and optionally for DVC Studio.

DVC: Can several people work on the same data set?

Yes, through the shared remote, but only if all of them use DVC for every change. The tool cannot enforce a discipline it does not own, and a single manual copy silently breaks the guarantee.

Share

Related pages

Other head to heads