Softwr

Developer Tools · head to head

AWS CDK vs Outline

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Outline logo

Outline

Documentation

Team knowledge base under the Business Source Licence, self-hostable or vendor hosted

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 Outline lists structured collections.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.

How do AWS CDK and Outline differ?

AWS CDK and Outline differ on pricing model, platforms and category (Developer Tools against Documentation). Only the attributes on which AWS CDK and Outline actually diverge.

Attributes where AWS CDK and Outline differ
AttributeAWS CDKOutline
Pricing modelOpen-sourceFree to self-host, per user per month when hosted by the vendor
PlatformsWindows, macOS, LinuxWeb, Self-hosted, iOS, Android
CategoryDeveloper ToolsDocumentation

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 Outline. 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 Outline

  • Structured collections
  • Block editor
  • Search
  • Backlinks and mentions
  • Templates
  • API and webhooks
  • Single sign-on
  • Self-hosting

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 Outline
  • Reusable internal infrastructure modulesnot Outline
  • Serverless application stacksnot Outline
  • Testing infrastructure with unit testsnot Outline
  • Standardising environments across accountsnot Outline

Outline

  • Running an internal wiki on your own infrastructure when documentation cannot leave a specific jurisdictionnot AWS CDK
  • Replacing a general-purpose workspace tool with something narrower where search speed and writing flow matter mostnot AWS CDK
  • Keeping engineering decision records and postmortems in templated documents that link to each other automaticallynot AWS CDK
  • Giving a company already standardised on Google or Okta a wiki that inherits identity and group membership directlynot AWS CDK

Where do AWS CDK and Outline 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

Outline

  • The Business Source Licence is not an open source licence, so anyone planning to host Outline for clients, resell it or embed it in a commercial service is prohibited until the per-release change date passes, and this is regularly discovered only at legal review
  • There is no local password authentication, so self-hosting requires an identity provider to be in place first, which turns a small internal wiki into a project with a dependency on Google, Okta, Entra or a Keycloak instance somebody has to run
  • Self-hosting needs Postgres, Redis and S3-compatible object storage together, so the operational footprint is larger than the single database most internal wikis require
  • The hosted plans offer no customer-selectable hosting region, so buyers with data residency obligations are pushed to self-hosting even when they would have paid to avoid running servers
  • It is built for internal knowledge rather than public documentation, with no versioned documentation sets, no static output and limited public publishing, so it will not serve as a product documentation site
  • Because it is a single-vendor project rather than a foundation-governed one, a future licence or pricing change applies to new releases and the only defence is staying on an older version

How much do AWS CDK and Outline cost?

AWS CDK is free to use; Outline is free to use. Plan by plan below, from each vendor's own pricing page.

AWS CDK

Free

No published plan breakdown. See the AWS CDK review.

Outline

Free
  • Self-hostedFree
    • Source available under the Business Source Licence
    • No licence fee for use inside your own organisation
    • Requires Postgres, Redis and S3-compatible storage
  • Team (hosted)On request
    • Charged per user per month
    • Hosted and maintained by the vendor
    • Single sign-on through Google, Slack or Microsoft
  • Enterprise (hosted)On request
    • SAML single sign-on and provisioning
    • Administrative controls and audit visibility
    • Negotiated terms and 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 Outline if

  • You need structured collections.
  • You want to start without paying.
  • You work on Web, Self-hosted, iOS, Android.
  • You also want block editor.

Questions people ask

Is AWS CDK or Outline better?
It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Outline fits running an internal wiki on your own infrastructure when documentation cannot leave a specific jurisdiction. AWS CDK starts at Free and Outline at Free.
Which is cheaper, AWS CDK or Outline?
AWS CDK starts at Free and Outline at Free.
Does AWS CDK or Outline run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Outline runs on Web, Self-hosted, iOS, Android.
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 Outline is typically brought in for.
What can AWS CDK do that Outline 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. Outline covers Structured collections, Block editor, Search, Backlinks and mentions.

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.

Source
Outline: Is Outline open source?

No, not in the OSI sense. It is source available under the Business Source Licence, which permits internal use and self-hosting but not offering it as a service to others, with each release converting to an open source licence after its change date.

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.

Source
Outline: Can I run it for free?

Yes, for your own organisation. Self-hosting carries no licence fee, only the cost of running Postgres, Redis, object storage and an identity provider.

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.

Source
Outline: Can I choose where the hosted version stores data?

No. The hosted plans do not offer a region choice, so residency requirements mean self-hosting.

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.

Source
Outline: Does it work for public product documentation?

Poorly. It has no versioned documentation sets or static site output, so it is best kept for internal knowledge.

Share

Related pages

Other head to heads