Developer Tools · head to head
AWS CDK vs Envoy

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

Envoy
Developer Tools
A high-performance L7 proxy written in C++ that is configured by an API rather than a config file, and is usually deployed under a control plane.
- 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 Envoy lists xDS dynamic configuration.
- Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
- Prices and features on this page were last checked on 20 November 2026.
How do AWS CDK and Envoy differ?
AWS CDK and Envoy differ on platforms. Only the attributes on which AWS CDK and Envoy actually diverge.
Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes), category (Developer Tools).
Which features does each one have?
They share no listed features; 8 appear only for AWS CDK and 8 only for Envoy. 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 Envoy
- xDS dynamic configuration
- Protocol breadth
- Filter chain architecture
- Observability by default
- Outlier detection
- Traffic shaping
- mTLS termination and origination
- Hot restart
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 Envoy
- Reusable internal infrastructure modulesnot Envoy
- Serverless application stacksnot Envoy
- Testing infrastructure with unit testsnot Envoy
- Standardising environments across accountsnot Envoy
Envoy
- Acting as the data plane under a service mesh or Gateway API implementation, which is how the overwhelming majority of deployments use itnot AWS CDK
- An edge or API gateway that needs per-route retry budgets, circuit breaking and outlier detection rather than round-robin proxyingnot AWS CDK
- Migrating traffic between service versions or between a monolith and its replacement, using weighted splits and shadow trafficnot AWS CDK
- Standardising observability across a polyglot estate, so that latency, error rates and tracing look the same regardless of the language a service is written innot AWS CDK
Where do AWS CDK and Envoy 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
Envoy
- The configuration surface is very large and hand-written bootstrap YAML runs to hundreds of lines for routing that Nginx expresses in twenty, which is why nearly every production deployment sits under a control plane and inherits that control plane's constraints as well
- xDS is the real API and it is not stable in the comfortable sense; the v2 API set was removed outright, resource types continue to be deprecated, and your control plane and Envoy binaries have to be upgraded roughly in step or the proxies stop accepting configuration
- Extending it properly means writing a C++ filter and building and maintaining your own Envoy binary; the alternatives are Lua, which adds per-request overhead, and proxy-wasm, whose ABI has remained effectively experimental for years with a real performance cost
- At sidecar density the per-proxy memory and CPU footprint is a measurable share of cluster capacity, since thousands of workloads each carry a full proxy, and this is precisely the cost that has pushed mesh projects towards node-level or ambient architectures
- There is no single vendor selling support for Envoy itself; you get the community plus control-plane vendors such as Solo.io and Tetrate, so an Envoy-level production bug is your own engineers in a C++ codebase unless a support contract happens to cover it
- Diagnosing why a request got a particular response involves reading config dumps, the stats endpoint and the RESPONSE_FLAGS codes in access logs rather than a readable error, which is a specific skill you must hire or spend months growing
How much do AWS CDK and Envoy cost?
AWS CDK is free to use; Envoy 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.
Envoy
FreeNo published plan breakdown. See the Envoy review.
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 Envoy if
- You need xds dynamic configuration.
- You want to start without paying.
- You also want protocol breadth.
Questions people ask
- Is AWS CDK or Envoy better?
- Neither clearly leads. AWS CDK starts at Free and Envoy at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
- Which is cheaper, AWS CDK or Envoy?
- AWS CDK starts at Free and Envoy at Free.
- Does AWS CDK or Envoy run on more platforms?
- AWS CDK runs on Windows, macOS, Linux. Envoy 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 Envoy is typically brought in for.
- What can AWS CDK do that Envoy 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. Envoy covers xDS dynamic configuration, Protocol breadth, Filter chain architecture, Observability by default.
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.
SourceEnvoy: Should I run Envoy on its own, or under a control plane?
Almost always under one. Directly authoring xDS or static bootstrap configuration is viable for a handful of routes and becomes unmanageable beyond that. Envoy Gateway, Istio, Contour, Gloo and Consul all exist to generate that configuration for you.
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.
SourceEnvoy: How does it compare with Nginx or HAProxy?
Envoy is dynamically configured over an API and instrumented far more heavily; Nginx and HAProxy are faster to configure and lighter for straightforward reverse proxying. If you never need to change routing without a reload, Envoy is more machinery than the problem requires.
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.
SourceEnvoy: What does it cost?
Nothing to licence; it is Apache 2.0 and there is no paid edition. The cost is engineering time and, for most organisations, a commercial control plane or cloud service that packages it.
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.
SourceEnvoy: Can I write extensions without C++?
You can write Lua filters or proxy-wasm modules in Rust, Go, C++ or AssemblyScript. Both carry per-request overhead compared with a native filter, and the Wasm path has been slower to stabilise than the project originally projected.
Envoy: Is it a CNCF project?
Yes, it is a graduated CNCF project licensed under Apache 2.0, which means the trademark and governance sit with the foundation rather than with Lyft or any vendor.
Related 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 Backstage
- AWS CDK vs Jitsu
- AWS CDK vs Notepad++
- AWS CDK vs Steampipe
- AWS CDK vs AI SDK
- AWS CDK vs Gitea
- AWS CDK vs GitLab
- AWS CDK vs Buildkite
- AWS CDK vs Eclipse
- AWS CDK vs Sublime Text
- AWS CDK vs Bazel
- AWS CDK vs GitLab CI/CD
- AWS CDK vs Istio
- AWS CDK vs Ona (formerly Gitpod)
- AWS CDK vs Jenkins
- AWS CDK vs Hookdeck
- AWS CDK vs Restate
- AWS CDK vs Turborepo
- AWS CDK vs Helix
- AWS CDK vs Git
- AWS CDK vs Okteto
- AWS CDK vs StackBlitz
- AWS CDK vs CodeSandbox
- AWS CDK vs Cody
- AWS CDK vs Depot
- AWS CDK vs Neovim
- AWS CDK vs Azure DevOps
- AWS CDK vs Bitbucket
- Envoy vs Terraform
- Envoy vs HCP Terraform
- Envoy vs Atlantis
- Envoy vs Pants Build
- Envoy vs Frappe
- Envoy vs Spacelift
- Envoy vs Backstage
- Envoy vs Jitsu
- Envoy vs Notepad++
- Envoy vs Steampipe
- Envoy vs AI SDK
- Envoy vs Gitea
- Envoy vs GitLab
- Envoy vs Buildkite
- Envoy vs Eclipse
- Envoy vs Sublime Text
- Envoy vs Bazel
- Envoy vs GitLab CI/CD
- Envoy vs Istio
- Envoy vs Ona (formerly Gitpod)
- Envoy vs Jenkins
- Envoy vs Hookdeck
- Envoy vs Restate
- Envoy vs Turborepo
- Envoy vs Helix
- Envoy vs Git
- Envoy vs Okteto
- Envoy vs StackBlitz
- Envoy vs CodeSandbox
- Envoy vs Cody
- Envoy vs Depot
- Envoy vs Neovim
- Envoy vs Azure DevOps
- Envoy vs Bitbucket
