Softwr

Machine Learning · head to head

AWS KMS vs DVC

AWS KMS logo

AWS KMS

Machine Learning

Managed encryption key service used by most AWS storage and database services

From
$1/month
Free plan
No
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

The short version

  • DVC is free; AWS KMS starts at $1/mo.
  • Only AWS KMS lists customer managed keys; only DVC lists pointer-file versioning.
  • Where AWS KMS falls short: every decrypt call is a billed request, and workloads that call KMS for each record can accumulate millions of billable requests.

How do AWS KMS and DVC differ?

AWS KMS and DVC differ on starting price ($1/month against Free), pricing model and free tier (No against Yes). Only the attributes on which AWS KMS and DVC actually diverge.

Attributes where AWS KMS and DVC differ
AttributeAWS KMSDVC
Starting price$1/monthFree
Pricing modelPer key per month plus per 10,000 requestsOpen-source
Free tierNoYes
PlatformsWebLinux, macOS, Windows

Not yet recorded: category for AWS KMS, founded for AWS KMS.

Which features does each one have?

They share no listed features; 6 appear only for AWS KMS and 8 only for DVC. 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 AWS KMS

  • Customer managed keys
  • Service integration
  • Automatic rotation
  • Custom key stores
  • CloudTrail logging
  • Envelope encryption

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

What is each one used for?

AWS KMS is most often brought in for signing artefacts or JWTs with asymmetric keys that never leave the HSM. The jobs each tool is most often brought in to do.

AWS KMS

  • Meeting a compliance requirement for customer-controlled encryption keys on S3 and RDSnot DVC
  • Signing artefacts or JWTs with asymmetric keys that never leave the HSMnot DVC
  • Encrypting application secrets and data keys with envelope encryptionnot DVC
  • Separating key administrators from data users with key policies and audit logsnot DVC

DVC

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

Where do AWS KMS and DVC fall short?

AWS KMS's most cited limit: per-account request quotas can throttle high-volume workloads, forcing data key caching or architectural workarounds. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS KMS

  • Cost grows with key count, so organisations that create one key per tenant or per object class pay $1 per month for each one, including the keys they forgot
  • Every decrypt call is a billed request, and workloads that call KMS for each record can accumulate millions of billable requests
  • Per-account request quotas can throttle high-volume workloads, forcing data key caching or architectural workarounds
  • Keys are tied to AWS, so using the same keys with other clouds or on-premises systems needs external key stores or a separate tool such as HashiCorp Vault
  • Key policies and grants interact with IAM in non-obvious ways, and a misconfigured policy can lock administrators out of a key

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

How much do AWS KMS and DVC cost?

AWS KMS starts at $1/mo; DVC is free to use. Plan by plan below, from each vendor's own pricing page.

AWS KMS

$1/month
  • Customer managed key$1/mo
    • $1 per key per month, prorated hourly
    • Same price for symmetric, asymmetric, HMAC and multi-Region keys
    • First and second rotation each add $1 per month
  • RequestsOn request
    • $0.03 per 10,000 requests
    • 20,000 free requests per month
    • $0.15 per 10,000 for most asymmetric requests, $12.00 per 10,000 for RSA GenerateDataKeyPair

DVC

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

Which should you pick?

Choose AWS KMS if

  • You need customer managed keys.
  • You also want service integration.

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.

Questions people ask

Is AWS KMS or DVC better?
It depends on the job. AWS KMS fits meeting a compliance requirement for customer-controlled encryption keys on S3 and RDS; DVC fits making a model reproducible by tying the exact data set version, code commit and parameters together in one Git history. AWS KMS starts at $1/month and DVC at Free.
Which is cheaper, AWS KMS or DVC?
DVC has a free tier; the other does not. Paid plans start at $1/month for AWS KMS and Free for DVC.
Does AWS KMS or DVC run on more platforms?
AWS KMS runs on Web. DVC runs on Linux, macOS, Windows.
Can I use DVC for free?
Yes. DVC has a free tier, so you can try it without paying. AWS KMS starts at $1/month.
What is AWS KMS best used for?
AWS KMS is most often used for meeting a compliance requirement for customer-controlled encryption keys on s3 and rds, signing artefacts or jwts with asymmetric keys that never leave the hsm, encrypting application secrets and data keys with envelope encryption, separating key administrators from data users with key policies and audit logs. Of those, meeting a compliance requirement for customer-controlled encryption keys on s3 and rds and signing artefacts or jwts with asymmetric keys that never leave the hsm are not what DVC is typically brought in for.
What can AWS KMS do that DVC cannot?
AWS KMS covers Customer managed keys, Service integration, Automatic rotation, Custom key stores. DVC covers Pointer-file versioning, Remote storage backends, Pipeline definitions, Stage caching.

Answered from the vendors’ own pages

AWS KMS: How much does AWS KMS cost?

$1 per month per customer managed key, $0.03 per 10,000 requests, and a free tier of 20,000 requests per month, per the AWS pricing page.

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.

AWS KMS: Are AWS managed keys free?

Keys that AWS services create on your behalf (AWS managed keys) have no monthly fee; usage charges for requests may still apply as shown on the pricing page.

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.

AWS KMS: What is the difference between KMS and CloudHSM?

KMS is a multi-tenant key service integrated with AWS services. CloudHSM gives you dedicated single-tenant HSMs, and in the AWS example a two-HSM cluster costs $1.60 per HSM per hour.

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.

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