Developer Tools · head to head
AWS CDK vs Nhost

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

Nhost
Developer Tools
Postgres backend with GraphQL, authentication, storage and functions, from $25 a month
- From
- Free
- Free plan
- Yes
The short version
- AWS CDK is an Apache 2; Nhost is a hosted backend platform.
- AWS CDK is free; Nhost starts at $25/mo.
- Only AWS CDK lists construct Library of reusable components; only Nhost lists postgres database.
- Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
- Where Nhost falls short: the API layer is Hasura GraphQL, so teams who want a REST-first or other access pattern are working against the platform's default.
How do AWS CDK and Nhost differ?
AWS CDK and Nhost differ on pricing model and platforms. Only the attributes on which AWS CDK and Nhost actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: category for Nhost.
Which features does each one have?
They share no listed features; 8 appear only for AWS CDK and 8 only for Nhost. 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 Nhost
- Postgres database
- Hasura GraphQL
- Authentication
- Storage
- Functions
- AI toolkit
- Nhost Run
- Infrastructure as code
What is each one used for?
AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Nhost for A startup that wants Postgres, auth and a GraphQL API without writing a backend. The jobs each tool is most often brought in to do.
AWS CDK
- Defining AWS infrastructure in TypeScript or Pythonnot Nhost
- Reusable internal infrastructure modulesnot Nhost
- Serverless application stacksnot Nhost
- Testing infrastructure with unit testsnot Nhost
- Standardising environments across accountsnot Nhost
Nhost
- A startup that wants Postgres, auth and a GraphQL API without writing a backendnot AWS CDK
- A React or Vue team using real-time GraphQL subscriptionsnot AWS CDK
- A developer who wants backend config in git through the CLInot AWS CDK
- An app that needs file storage and auth plus a few server functionsnot AWS CDK
Where do AWS CDK and Nhost 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
Nhost
- The API layer is Hasura GraphQL, so teams who want a REST-first or other access pattern are working against the platform's default
- Starter projects are paused after one week of inactivity, which makes the free tier unsuitable for anything that must stay available
- Point-in-time recovery starts at $100 on top of the plan, so recovery beyond the 7 days of daily backups is an extra cost
- Compute, custom domains ($10 per project per month), egress and storage overage are metered, so the plan fee understates the running bill for a busy app
- Team costs $599 a month, a large jump from Pro at $25, so growing teams that need the Team tier's limits face a steep step
How much do AWS CDK and Nhost cost?
AWS CDK is free to use; Nhost has a free plan, with paid plans from $25/mo. Plan by plan below, from each vendor's own pricing page.
AWS CDK
FreeNo published plan breakdown. See the AWS CDK review.
Nhost
Free- StarterFree
- 1 project and 1 workspace member
- 1 GB database, 1 GB storage, 5 GB egress
- 10 functions with 10 second execution time
- Pro$25/mo
- $15 in compute credits included
- 10 GB database, 50 GB storage, 50 GB egress
- 50 functions, 180 second execution time
- Team$599/mo
- $15 in compute credits included
- Everything in Pro, with 600 second function execution time
- EnterpriseOn request
- Custom pricing
- Dedicated clusters available as an add-on
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 Nhost if
- You need postgres database.
- You want to start without paying.
- You also want hasura graphql.
Questions people ask
- Is AWS CDK or Nhost better?
- It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend. AWS CDK starts at Free and Nhost at Free.
- Which is cheaper, AWS CDK or Nhost?
- AWS CDK starts at Free and Nhost at Free.
- Does AWS CDK or Nhost run on more platforms?
- AWS CDK runs on Windows, macOS, Linux. Nhost runs on Web.
- 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 Nhost is typically brought in for.
- What can AWS CDK do that Nhost 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. Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage.
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.
SourceNhost: How much does Nhost cost?
Starter is $0, Pro is $25 a month and Team is $599 a month, plus metered usage beyond included amounts. Enterprise is custom.
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.
SourceNhost: Does the free plan pause?
Yes. Starter projects are paused after one week of inactivity.
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.
SourceNhost: Are there user limits on auth?
No. The pricing page lists unlimited total users on every plan.
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.
SourceRelated 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 Spacelift
- AWS CDK vs Eclipse
- AWS CDK vs Python
- AWS CDK vs Backstage
- AWS CDK vs Jitsu
- AWS CDK vs Notepad++
- AWS CDK vs Steampipe
- AWS CDK vs Dagger
- AWS CDK vs Dependabot
- AWS CDK vs Distroless
- AWS CDK vs Ghostty
- AWS CDK vs JFrog Artifactory
- AWS CDK vs Nixpacks
- AWS CDK vs Cloudflare Workers
- AWS CDK vs AppSignal
- AWS CDK vs Kiro
- AWS CDK vs Jenkins
- AWS CDK vs Gitea
- AWS CDK vs Deno
- AWS CDK vs Blacksmith
- AWS CDK vs Graphite
- AWS CDK vs LocalStack
- AWS CDK vs Beefree SDK
- AWS CDK vs Datadog APM
- AWS CDK vs Deep Code
- AWS CDK vs env zero
- AWS CDK vs Fig
- AWS CDK vs GoLand
- Nhost vs Terraform
- Nhost vs HCP Terraform
- Nhost vs Atlantis
- Nhost vs Pants Build
- Nhost vs Frappe
- Nhost vs Spacelift
- Nhost vs Eclipse
- Nhost vs Python
- Nhost vs Backstage
- Nhost vs Jitsu
- Nhost vs Notepad++
- Nhost vs Steampipe
- Nhost vs Dagger
- Nhost vs Dependabot
- Nhost vs Distroless
- Nhost vs Ghostty
- Nhost vs JFrog Artifactory
- Nhost vs Nixpacks
- Nhost vs Cloudflare Workers
- Nhost vs AppSignal
- Nhost vs Kiro
- Nhost vs Jenkins
- Nhost vs Gitea
- Nhost vs Deno
- Nhost vs Blacksmith
- Nhost vs Graphite
- Nhost vs LocalStack
- Nhost vs Beefree SDK
- Nhost vs Datadog APM
- Nhost vs Deep Code
- Nhost vs env zero
- Nhost vs Fig
- Nhost vs GoLand
