Developer Tools · head to head
AWS CDK vs GitBook

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

GitBook
Documentation
Hosted documentation platform with Git synchronisation
- From
- Free
- Free plan
- Yes
The short version
- AWS CDK is an Apache 2.
- Both are free.
- Only AWS CDK lists construct Library of reusable components; only GitBook lists two-way Git sync.
- Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
- Where GitBook falls short: hosted, so you do not own the rendering pipeline and are subject to platform changes.
How do AWS CDK and GitBook differ?
AWS CDK and GitBook differ on pricing model, platforms and category (Developer Tools against Documentation). Only the attributes on which AWS CDK and GitBook 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 6 only for GitBook. 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 GitBook
- Two-way Git sync
- Visual editor
- Hosted and searchable
- Versioning and spaces
- Access control
- Publishing workflow
What is each one used for?
AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; GitBook for documentation written by product and support staff as well as engineers. The jobs each tool is most often brought in to do.
AWS CDK
- Defining AWS infrastructure in TypeScript or Pythonnot GitBook
- Reusable internal infrastructure modulesnot GitBook
- Serverless application stacksnot GitBook
- Testing infrastructure with unit testsnot GitBook
- Standardising environments across accountsnot GitBook
GitBook
- Documentation written by product and support staff as well as engineersnot AWS CDK
- Public product docs that need hosting, search and access control managednot AWS CDK
- Teams wanting Git history without forcing everyone into a repositorynot AWS CDK
Where do AWS CDK and GitBook fall short?
AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. GitBook's: hosted, so you do not own the rendering pipeline and are subject to platform changes. 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
GitBook
- Hosted, so you do not own the rendering pipeline and are subject to platform changes
- Git sync is powerful but conflicts between browser and repository edits are confusing to resolve
- Pricing scales per user, which gets expensive where many people contribute occasionally
- Less customisable than a static site generator you control end to end
How much do AWS CDK and GitBook cost?
AWS CDK is free to use; GitBook is free to use. Plan by plan below, from each vendor's own pricing page.
AWS CDK
FreeNo published plan breakdown. See the AWS CDK review.
GitBook
Free- FreeFree
- Public documentation
- Basic editing
- Community support
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 GitBook if
- You need two-way git sync.
- You want to start without paying.
- You also want visual editor.
Questions people ask
- Is AWS CDK or GitBook better?
- It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; GitBook fits documentation written by product and support staff as well as engineers. AWS CDK starts at Free and GitBook at Free.
- Which is cheaper, AWS CDK or GitBook?
- AWS CDK starts at Free and GitBook at Free.
- Does AWS CDK or GitBook run on more platforms?
- AWS CDK runs on Windows, macOS, Linux. GitBook 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 GitBook is typically brought in for.
- What can AWS CDK do that GitBook 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. GitBook covers Two-way Git sync, Visual editor, Hosted and searchable, Versioning and spaces.
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.
SourceGitBook: Is GitBook free?
There is a free tier for public documentation, with paid team plans above it. Check current rates with the vendor.
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.
SourceGitBook: How does Git sync work?
Changes made in the browser commit to the connected repository, and commits to the repository appear in GitBook, so both editing routes stay in step.
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.
SourceGitBook: GitBook or Docusaurus?
GitBook is hosted and lets non-technical people write directly. Docusaurus is free and fully controllable but assumes contributors work in a repository.
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 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 Outline
- AWS CDK vs HelpDocs
- AWS CDK vs Slab
- AWS CDK vs Archbee
- AWS CDK vs Nuclino
- AWS CDK vs BookStack
- AWS CDK vs Read the Docs
- AWS CDK vs MkDocs
- AWS CDK vs Mintlify
- AWS CDK vs ReadMe
- AWS CDK vs Redocly
- AWS CDK vs Fumadocs
- AWS CDK vs Confluence
- AWS CDK vs Paligo
- AWS CDK vs Starlight
- AWS CDK vs VitePress
- AWS CDK vs Sphinx
- AWS CDK vs Adobe FrameMaker
- GitBook vs Terraform
- GitBook vs HCP Terraform
- GitBook vs Atlantis
- GitBook vs Pants Build
- GitBook vs Frappe
- GitBook vs Eclipse
- GitBook vs Spacelift
- GitBook vs Python
- GitBook vs Backstage
- GitBook vs Jitsu
- GitBook vs Notepad++
- GitBook vs Steampipe
- GitBook vs iTerm2
- GitBook vs JFrog Artifactory
- GitBook vs Leafmap
- GitBook vs LocalStack
- GitBook vs OrbStack
- GitBook vs PhpStorm
- GitBook vs Outline
- GitBook vs HelpDocs
- GitBook vs Slab
- GitBook vs Archbee
- GitBook vs Nuclino
- GitBook vs BookStack
- GitBook vs Read the Docs
- GitBook vs MkDocs
- GitBook vs Mintlify
- GitBook vs ReadMe
- GitBook vs Redocly
- GitBook vs Fumadocs
- GitBook vs Confluence
- GitBook vs Paligo
- GitBook vs Starlight
- GitBook vs VitePress
- GitBook vs Sphinx
- GitBook vs Adobe FrameMaker
