Cloud · head to head
AWS (Amazon Web Services) vs AWS CDK

AWS (Amazon Web Services)
Cloud
Cloud computing platform
- From
- Free
- Free plan
- Yes

AWS CDK
Developer Tools
Open source framework for defining AWS infrastructure in programming languages
- From
- Free
- Free plan
- Yes
The short version
- AWS CDK is an Apache 2.
- Both are free.
- Only AWS (Amazon Web Services) lists EC2 - Virtual Servers; only AWS CDK lists construct Library of reusable components.
- Where AWS (Amazon Web Services) falls short: data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills.
- Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
How do AWS (Amazon Web Services) and AWS CDK differ?
AWS (Amazon Web Services) and AWS CDK differ on pricing model (Usage-based against Open-source), platforms and category (Cloud against Developer Tools). Only the attributes on which AWS (Amazon Web Services) and AWS CDK actually diverge.
| Attribute | AWS (Amazon Web Services) | AWS CDK |
|---|---|---|
| Pricing model | Usage-based | Open-source |
| Platforms | Web, API, iOS, Android | Windows, macOS, Linux |
| Category | Cloud | Developer Tools |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for AWS CDK.
Which features does each one have?
They share no listed features; 20 appear only for AWS (Amazon Web Services) and 8 only for AWS CDK. 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 (Amazon Web Services)
- EC2 - Virtual Servers
- S3 - Object Storage
- RDS - Managed Database
- Lambda - Serverless Computing
- CloudFront - CDN
- VPC - Virtual Network
- IAM - Access Management
- CloudWatch - Monitoring
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
What is each one used for?
AWS (Amazon Web Services) is most often brought in for web hosting; AWS CDK for defining AWS infrastructure in TypeScript or Python. The jobs each tool is most often brought in to do.
AWS (Amazon Web Services)
- Web hostingnot AWS CDK
- Data storagenot AWS CDK
- Machine learningnot AWS CDK
- Big data analyticsnot AWS CDK
- Application developmentnot AWS CDK
AWS CDK
- Defining AWS infrastructure in TypeScript or Pythonnot AWS (Amazon Web Services)
- Reusable internal infrastructure modulesnot AWS (Amazon Web Services)
- Serverless application stacksnot AWS (Amazon Web Services)
- Testing infrastructure with unit testsnot AWS (Amazon Web Services)
- Standardising environments across accountsnot AWS (Amazon Web Services)
Where do AWS (Amazon Web Services) and AWS CDK fall short?
AWS (Amazon Web Services)'s most cited limit: data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills. AWS CDK's: 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 (Amazon Web Services)
- Data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills
- Discounts require one or three year Savings Plan commitments rather than being automatic
- Every service is priced separately, so a working architecture has no single published cost
- The free tier is a promotional allowance rather than an ongoing free plan
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
How much do AWS (Amazon Web Services) and AWS CDK cost?
AWS (Amazon Web Services) is free to use; AWS CDK is free to use. Plan by plan below, from each vendor's own pricing page.
AWS (Amazon Web Services)
Free- AWS Free TierFree
- EC2 750 hours/month
- 5GB S3 storage
- 20GB data transfer
- Pay-As-You-GoFree
- No upfront payment
- No long-term commitments
- Pay only for what you use
AWS CDK
FreeNo published plan breakdown. See the AWS CDK review.
Which should you pick?
Choose AWS (Amazon Web Services) if
- You need ec2 - virtual servers.
- You want to start without paying.
- You work on Web, API, iOS, Android.
- You also want s3 - object storage.
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.
Questions people ask
- Is AWS (Amazon Web Services) or AWS CDK better?
- It depends on the job. AWS (Amazon Web Services) fits web hosting; AWS CDK fits defining AWS infrastructure in TypeScript or Python. AWS (Amazon Web Services) starts at Free and AWS CDK at Free.
- Which is cheaper, AWS (Amazon Web Services) or AWS CDK?
- AWS (Amazon Web Services) starts at Free and AWS CDK at Free.
- Does AWS (Amazon Web Services) or AWS CDK run on more platforms?
- AWS (Amazon Web Services) runs on Web, API, iOS, Android. AWS CDK runs on Windows, macOS, Linux.
- Can I use AWS (Amazon Web Services) for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is AWS (Amazon Web Services) best used for?
- AWS (Amazon Web Services) is most often used for web hosting, data storage, machine learning, big data analytics. Of those, web hosting and data storage are not what AWS CDK is typically brought in for.
- What can AWS (Amazon Web Services) do that AWS CDK cannot?
- AWS (Amazon Web Services) covers EC2 - Virtual Servers, S3 - Object Storage, RDS - Managed Database, Lambda - Serverless Computing. 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.
Answered from the vendors’ own pages
AWS (Amazon Web Services): What are AWS's payment options and pricing models?
AWS offers four pricing approaches: pay-as-you-go (you pay only for what you use), flat-rate plans combining multiple services into one monthly price without overages, Savings Plans offering discounts on compute and machine learning with 1- or 3-year commitments, and volume-based tiered pricing where costs decrease as usage increases.
SourceAWS 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.
SourceAWS (Amazon Web Services): Are there contracts, termination fees, or commitments required for AWS?
No long-term contracts are required for AWS services. No termination fees apply once you stop using the service. Savings Plans provide optional 1- or 3-year commitments with discounted hourly rates, but you can revert to pay-as-you-go pricing anytime.
SourceAWS 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.
SourceAWS (Amazon Web Services): Does AWS offer a free tier?
AWS provides a free tier that offers hands-on experience with AWS products at no charge. The free tier allows new customers to try eligible services before committing to paid usage.
SourceAWS 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.
SourceAWS (Amazon Web Services): How do I estimate my AWS costs?
AWS provides the AWS Pricing Calculator and Cost Explorer tool to estimate costs for single or multiple services. AWS also offers cost optimization recommendations, performance reporting, and budget alerts to help track and control spending.
SourceAWS 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
More on AWS (Amazon Web Services)
Other head to heads
- AWS (Amazon Web Services) vs Google Cloud Platform
- AWS (Amazon Web Services) vs Microsoft Azure
- AWS (Amazon Web Services) vs Oracle Cloud
- AWS (Amazon Web Services) vs Vultr
- AWS (Amazon Web Services) vs Linode
- AWS (Amazon Web Services) vs Hetzner Cloud
- AWS (Amazon Web Services) vs Wasabi
- AWS (Amazon Web Services) vs Huawei Cloud
- AWS (Amazon Web Services) vs OVHcloud
- AWS (Amazon Web Services) vs Akamai
- AWS (Amazon Web Services) vs Nebius
- AWS (Amazon Web Services) vs DigitalOcean
- AWS (Amazon Web Services) vs Rancher
- AWS (Amazon Web Services) vs Confluent Cloud
- AWS (Amazon Web Services) vs Northflank
- AWS (Amazon Web Services) vs Scaleway
- AWS (Amazon Web Services) vs HAProxy
- AWS (Amazon Web Services) vs IBM Cloud
- AWS (Amazon Web Services) vs Terraform
- AWS (Amazon Web Services) vs HCP Terraform
- AWS (Amazon Web Services) vs Atlantis
- AWS (Amazon Web Services) vs Pants Build
- AWS (Amazon Web Services) vs Frappe
- AWS (Amazon Web Services) vs Eclipse
- AWS (Amazon Web Services) vs Spacelift
- AWS (Amazon Web Services) vs Python
- AWS (Amazon Web Services) vs Backstage
- AWS (Amazon Web Services) vs Jitsu
- AWS (Amazon Web Services) vs Notepad++
- AWS (Amazon Web Services) vs Steampipe
- AWS (Amazon Web Services) vs iTerm2
- AWS (Amazon Web Services) vs JFrog Artifactory
- AWS (Amazon Web Services) vs Leafmap
- AWS (Amazon Web Services) vs LocalStack
- AWS (Amazon Web Services) vs OrbStack
- AWS (Amazon Web Services) vs PhpStorm
- AWS CDK vs Google Cloud Platform
- AWS CDK vs Microsoft Azure
- AWS CDK vs Oracle Cloud
- AWS CDK vs Vultr
- AWS CDK vs Linode
- AWS CDK vs Hetzner Cloud
- AWS CDK vs Wasabi
- AWS CDK vs Huawei Cloud
- AWS CDK vs OVHcloud
- AWS CDK vs Akamai
- AWS CDK vs Nebius
- AWS CDK vs DigitalOcean
- AWS CDK vs Rancher
- AWS CDK vs Confluent Cloud
- AWS CDK vs Northflank
- AWS CDK vs Scaleway
- AWS CDK vs HAProxy
- AWS CDK vs IBM Cloud
- 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
