Softwr

Developer Tools · head to head

AWS CDK vs Teleport

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Teleport logo

Teleport

Cybersecurity

Certificate-based access to servers, Kubernetes, databases and apps, replacing shared credentials and VPNs

From
On request
Free plan
No

The short version

  • AWS CDK is an Apache 2.
  • AWS CDK is free; Teleport prices on request.
  • Only AWS CDK lists construct Library of reusable components; only Teleport lists short-lived certificates.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.

How do AWS CDK and Teleport differ?

AWS CDK and Teleport differ on starting price (Free against On request), pricing model (Open-source against Quote) and free tier (Yes against No). Only the attributes on which AWS CDK and Teleport actually diverge.

Attributes where AWS CDK and Teleport differ
AttributeAWS CDKTeleport
Starting priceFreeOn request
Pricing modelOpen-sourceQuote
Free tierYesNo
PlatformsWindows, macOS, LinuxLinux, macOS, Windows, Self-hosted, Web
CategoryDeveloper ToolsCybersecurity

Not yet recorded: founded for AWS CDK.

Which features does each one have?

They share no listed features; 8 appear only for AWS CDK and 8 only for Teleport. 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 Teleport

  • Short-lived certificates
  • Protocol coverage
  • Session recording and replay
  • Access Requests
  • Device Trust
  • Identity provider integration
  • Machine identity
  • FIPS and FedRAMP builds

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

Teleport

  • Removing long-lived SSH keys and shared database passwords so that offboarding an engineer takes one action in the identity providernot AWS CDK
  • Producing session recordings and per-user database audit trails as direct evidence for SOC 2 or FedRAMPnot AWS CDK
  • Giving contractors or on-call engineers time-boxed, approved access to production instead of standing admin rightsnot AWS CDK
  • Replacing a flat VPN with per-resource authorisation across servers, Kubernetes and internal web appsnot AWS CDK

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

Teleport

  • Pricing is not published and is described as active users plus protected resources, so an autoscaling estate cannot forecast the bill and finance teams discover the true cost only after the first true-up
  • The proxy is a hard dependency on reaching production, so it needs its own high availability deployment and a tested break-glass path or an outage in Teleport becomes an outage in your ability to respond to outages
  • The open source Community Edition omits Access Requests, Device Trust and the FIPS builds, which are exactly the controls an auditor asks about, so the free tier rarely survives a compliance review
  • Self-hosting means running and upgrading a certificate authority and its backing store, and Teleport releases frequently enough that upgrade work becomes a standing operational commitment
  • Coverage across protocols is uneven in depth, so teams with legacy systems, unusual databases or bespoke network appliances find gaps that still require the old VPN to remain in place alongside it

How much do AWS CDK and Teleport cost?

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

AWS CDK

Free

No published plan breakdown. See the AWS CDK review.

Teleport

On request
  • Teleport Community EditionOn request
    • Open source, self-hosted
    • SSH, Kubernetes, database and app access
    • Session recording
  • Teleport EnterpriseOn request
    • Cloud-hosted or self-hosted
    • Access Requests and approval workflow
    • Device Trust and hardware key enforcement

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 Teleport if

  • You need short-lived certificates.
  • You work on Linux, macOS, Windows, Self-hosted, Web.
  • You also want protocol coverage.

Questions people ask

Is AWS CDK or Teleport better?
It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Teleport fits removing long-lived SSH keys and shared database passwords so that offboarding an engineer takes one action in the identity provider. AWS CDK starts at Free and Teleport at On request.
Which is cheaper, AWS CDK or Teleport?
AWS CDK has a free tier; the other does not. Paid plans start at Free for AWS CDK and On request for Teleport.
Does AWS CDK or Teleport run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Teleport runs on Linux, macOS, Windows, Self-hosted, Web.
Can I use AWS CDK for free?
Yes. AWS CDK has a free tier, so you can try it without paying. Teleport starts at On request.
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 Teleport is typically brought in for.
What can AWS CDK do that Teleport 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. Teleport covers Short-lived certificates, Protocol coverage, Session recording and replay, Access Requests.

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
Teleport: Is the open source edition usable in production?

Yes, but it lacks Access Requests, Device Trust and FIPS builds, which most compliance programmes end up requiring.

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
Teleport: How is it priced?

Not publicly. The vendor prices on active users and protected resources and provides a quote after a sales conversation.

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
Teleport: What happens if Teleport goes down?

Nobody reaches the resources behind it, so you need a highly available deployment and a documented break-glass procedure.

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
Teleport: Does it replace our VPN?

For anything you put behind it, yes. Legacy systems and appliances it does not support will keep the VPN alive.

Share

Related pages

Other head to heads