Developer Tools · head to head
AWS CDK vs Umami

AWS CDK
Developer Tools
Open source framework for defining AWS infrastructure in programming languages
- From
- Free
- Free plan
- Yes

Umami
Marketing
Open source, cookie-free web analytics you can self-host for the cost of a database
- From
- Free
- Free plan
- Yes
The short version
- AWS CDK is an Apache 2.
- AWS CDK is free; Umami starts at $20/mo.
- Only AWS CDK lists construct Library of reusable components; only Umami lists cookie-free tracking.
- Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
How do AWS CDK and Umami differ?
AWS CDK and Umami differ on pricing model, platforms and category (Developer Tools against Marketing). Only the attributes on which AWS CDK and Umami actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 8 appear only for AWS CDK and 8 only for Umami. 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 CDK
- Construct Library of reusable components
- CDK CLI for synthesis and deployment
- Programmatic CDK Toolkit Library
- Support for TypeScript, JavaScript, Python, Java, C# and Go
- Deployment through AWS CloudFormation
- Custom and shareable constructs
- Construct Hub registry
- Open source under Apache 2.0
Only in Umami
- Cookie-free tracking
- Self-hosting
- Small tracking script
- Custom events
- Funnels and goals
- Multi-site and teams
- Public dashboards
- API access
What is each one used for?
AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python. The jobs each tool is most often brought in to do.
AWS CDK
- Defining AWS infrastructure in TypeScript or Pythonnot Umami
- Reusable internal infrastructure modulesnot Umami
- Serverless application stacksnot Umami
- Testing infrastructure with unit testsnot Umami
- Standardising environments across accountsnot Umami
Umami
- A developer who wants traffic numbers on a personal or client site without adding a consent bannernot AWS CDK
- An organisation whose legal or procurement team has ruled out sending visitor data to a US advertising companynot AWS CDK
- A high-traffic site where hosted analytics priced by pageview band has become expensive and self-hosting removes the ceiling entirelynot AWS CDK
- A team that wants analytics data in a database they already control so they can query and join it themselvesnot AWS CDK
Where do AWS CDK and Umami fall short?
AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS CDK
- Targets AWS only, so it does not provision resources on other clouds
- Deploys through CloudFormation, so its resource coverage and limits apply
- Infrastructure written in code can be harder to review than declarative templates
- The AWS resources it creates are billed separately at standard AWS rates
Umami
- There is no cohort analysis, retention curve, session replay or multi-touch attribution, so a marketing team that needs to justify channel spend will still buy a second tool and Umami becomes a supplementary dashboard
- Self-hosting is only free in licence terms; you own the database, the upgrades, the backups and the query performance at scale, and a busy site's events table grows quickly enough to need real attention
- Because it stores no persistent identifier, it cannot follow a user across devices or sessions in any meaningful way, which makes returning-visitor and lifetime-value questions unanswerable by design rather than by omission
- Cloud overage is billed per event beyond the plan allowance, so a traffic spike or a badly instrumented custom event can produce a bill materially above the $20 or $200 headline before anyone notices
- It is maintained by a small team, so the pace of new capability is modest and enterprise expectations such as SSO, granular role permissions and formal support agreements are limited compared with commercial analytics vendors
How much do AWS CDK and Umami cost?
AWS CDK is free to use; Umami has a free plan, with paid plans from $20/mo. Plan by plan below, from each vendor's own pricing page.
AWS CDK
FreeNo published plan breakdown. See the AWS CDK review.
Umami
Free- Self-hostedFree
- MIT licensed, no licence fee
- No event limit imposed by the software
- Unlimited websites and users
- Cloud HobbyFree
- Up to 100,000 events per month
- 3 websites
- 6 months data retention
- Cloud Pro$20/mo
- Up to 1,000,000 events per month
- Unlimited websites
- Unlimited team members
- Cloud Business$200/mo
- Up to 10,000,000 events per month
- All Pro features
- Higher volume overage rate
Which should you pick?
Choose AWS CDK if
- You need construct library of reusable components.
- You want to start without paying.
- You work on Windows, macOS, Linux.
- You also want cdk cli for synthesis and deployment.
Choose Umami if
- You need cookie-free tracking.
- You want to start without paying.
- You work on Web, Linux.
- You also want self-hosting.
Questions people ask
- Is AWS CDK or Umami better?
- It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Umami fits a developer who wants traffic numbers on a personal or client site without adding a consent banner. AWS CDK starts at Free and Umami at Free.
- Which is cheaper, AWS CDK or Umami?
- AWS CDK starts at Free and Umami at Free.
- Does AWS CDK or Umami run on more platforms?
- AWS CDK runs on Windows, macOS, Linux. Umami runs on Web, Linux.
- Can I use AWS CDK for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is AWS CDK best used for?
- AWS CDK is most often used for defining aws infrastructure in typescript or python, reusable internal infrastructure modules, serverless application stacks, testing infrastructure with unit tests. Of those, defining aws infrastructure in typescript or python and reusable internal infrastructure modules are not what Umami is typically brought in for.
- What can AWS CDK do that Umami cannot?
- AWS CDK covers Construct Library of reusable components, CDK CLI for synthesis and deployment, Programmatic CDK Toolkit Library, Support for TypeScript, JavaScript, Python, Java, C# and Go. Umami covers Cookie-free tracking, Self-hosting, Small tracking script, Custom events.
Answered from the vendors’ own pages
AWS CDK: Which languages does AWS CDK support?
The AWS documentation lists TypeScript, JavaScript, Python, Java, C# and .NET, and Go. Infrastructure is defined as constructs composed into stacks and apps.
SourceUmami: Is Umami really free?
Self-hosted, yes; it is MIT licensed with no event cap. You pay for the server and database. Umami Cloud has a free tier at 100,000 events a month and paid tiers from $20.
AWS CDK: How does AWS CDK deploy resources?
CDK apps are synthesised and deployed through AWS CloudFormation. The documentation states this gives predictable, repeatable deployments with rollback on error.
SourceUmami: Do I need a cookie consent banner?
For Umami analytics specifically, generally no, because it sets no cookies and stores no personal data. Other tags on your site may still require one.
AWS CDK: Is AWS CDK free?
It is open source under the Apache 2.0 licence according to its GitHub repository. The AWS resources you provision with it are charged at their normal rates.
SourceUmami: Can it replace Google Analytics?
For traffic, referrers and event counts, yes. For attribution modelling, audiences and advertising integration, no.
AWS CDK: When was AWS CDK first released?
Wikipedia reports a developer preview announced in 2018 and general availability on 11 July 2019. CDK v2 followed in 2021.
SourceUmami: What does it need to run?
A container and a PostgreSQL or MySQL database. Most people deploy it on infrastructure they already pay for.
Related pages
Other head to heads
- AWS CDK vs Terraform
- AWS CDK vs HCP Terraform
- AWS CDK vs Atlantis
- AWS CDK vs Pants Build
- AWS CDK vs Frappe
- AWS CDK vs Eclipse
- AWS CDK vs Spacelift
- AWS CDK vs Python
- AWS CDK vs Backstage
- AWS CDK vs Jitsu
- AWS CDK vs Notepad++
- AWS CDK vs Steampipe
- AWS CDK vs iTerm2
- AWS CDK vs JFrog Artifactory
- AWS CDK vs Leafmap
- AWS CDK vs LocalStack
- AWS CDK vs OrbStack
- AWS CDK vs PhpStorm
- AWS CDK vs Matomo
- AWS CDK vs Plausible
- AWS CDK vs Simple Analytics
- AWS CDK vs Fathom Analytics
- AWS CDK vs Mautic
- AWS CDK vs Attribution
- AWS CDK vs Countly
- AWS CDK vs Freshpaint
- AWS CDK vs Moz
- AWS CDK vs Google Analytics
- AWS CDK vs Agility PR Solutions
- AWS CDK vs Buffer
- AWS CDK vs Kissmetrics
- AWS CDK vs Netcore Cloud
- AWS CDK vs Birch
- AWS CDK vs DV Rockerbox
- AWS CDK vs Branch
- AWS CDK vs Catchr
- Umami vs Terraform
- Umami vs HCP Terraform
- Umami vs Atlantis
- Umami vs Pants Build
- Umami vs Frappe
- Umami vs Eclipse
- Umami vs Spacelift
- Umami vs Python
- Umami vs Backstage
- Umami vs Jitsu
- Umami vs Notepad++
- Umami vs Steampipe
- Umami vs iTerm2
- Umami vs JFrog Artifactory
- Umami vs Leafmap
- Umami vs LocalStack
- Umami vs OrbStack
- Umami vs PhpStorm
- Umami vs Matomo
- Umami vs Plausible
- Umami vs Simple Analytics
- Umami vs Fathom Analytics
- Umami vs Mautic
- Umami vs Attribution
- Umami vs Countly
- Umami vs Freshpaint
- Umami vs Moz
- Umami vs Google Analytics
- Umami vs Agility PR Solutions
- Umami vs Buffer
- Umami vs Kissmetrics
- Umami vs Netcore Cloud
- Umami vs Birch
- Umami vs DV Rockerbox
- Umami vs Branch
- Umami vs Catchr
