Developer Tools · head to head
AWS CloudFormation vs Envoy

AWS CloudFormation
Developer Tools
Declarative infrastructure as code for AWS, free for AWS resources
- 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
- Both are free.
- Only AWS CloudFormation lists stacks and templates; only Envoy lists xDS dynamic configuration.
- Where AWS CloudFormation falls short: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it.
How do AWS CloudFormation and Envoy differ?
AWS CloudFormation and Envoy differ on pricing model and platforms. Only the attributes on which AWS CloudFormation and Envoy actually diverge.
| Attribute | AWS CloudFormation | Envoy |
|---|---|---|
| Pricing model | No charge for AWS resource types; extensions per handler operation | Open-source |
| Platforms | Web, Linux, macOS, Windows | Web |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: category for AWS CloudFormation.
Which features does each one have?
They share no listed features; 6 appear only for AWS CloudFormation 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 CloudFormation
- Stacks and templates
- Change sets
- Drift detection
- StackSets
- Rollback
- Registry extensions
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 CloudFormation is most often brought in for recreating identical dev, staging and production environments on AWS. The jobs each tool is most often brought in to do.
AWS CloudFormation
- Recreating identical dev, staging and production environments on AWSnot Envoy
- Deploying one baseline of security resources across many accounts with StackSetsnot Envoy
- Serverless applications packaged with AWS SAMnot Envoy
- Previewing and auditing infrastructure changes through change setsnot 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 CloudFormation
- An edge or API gateway that needs per-route retry budgets, circuit breaking and outlier detection rather than round-robin proxyingnot AWS CloudFormation
- Migrating traffic between service versions or between a monolith and its replacement, using weighted splits and shadow trafficnot AWS CloudFormation
- 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 CloudFormation
Where do AWS CloudFormation and Envoy fall short?
AWS CloudFormation's most cited limit: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS CloudFormation
- It only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it
- Raw templates are verbose and hard to reuse, which is why many teams add CDK on top
- A failed update can leave a stack in a stuck state such as UPDATE_ROLLBACK_FAILED that needs manual intervention
- New AWS features sometimes arrive in CloudFormation after the console and API, so you wait or script around the gap
- Deleting a stack deletes its resources, so a mistaken delete of a stack with data needs DeletionPolicy discipline
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 CloudFormation and Envoy cost?
AWS CloudFormation is free to use; Envoy is free to use. Plan by plan below, from each vendor's own pricing page.
AWS CloudFormation
Free- AWS resource typesFree
- No additional charge for using CloudFormation with AWS resources
- You pay for the resources the stack creates
- Third-party extensionsOn request
- $0.0009 per handler operation, first 1,000 per month free
- $0.00008 per second of handler duration beyond 30 seconds
Envoy
FreeNo published plan breakdown. See the Envoy review.
Which should you pick?
Choose AWS CloudFormation if
- You need stacks and templates.
- You want to start without paying.
- You work on Web, Linux, macOS, Windows.
- You also want change sets.
Choose Envoy if
- You need xds dynamic configuration.
- You want to start without paying.
- You also want protocol breadth.
Questions people ask
- Is AWS CloudFormation or Envoy better?
- It depends on the job. AWS CloudFormation fits recreating identical dev, staging and production environments on AWS; Envoy fits acting as the data plane under a service mesh or Gateway API implementation, which is how the overwhelming majority of deployments use it. AWS CloudFormation starts at Free and Envoy at Free.
- Which is cheaper, AWS CloudFormation or Envoy?
- AWS CloudFormation starts at Free and Envoy at Free.
- Does AWS CloudFormation or Envoy run on more platforms?
- AWS CloudFormation runs on Web, Linux, macOS, Windows. Envoy runs on Web.
- Can I use AWS CloudFormation for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is AWS CloudFormation best used for?
- AWS CloudFormation is most often used for recreating identical dev, staging and production environments on aws, deploying one baseline of security resources across many accounts with stacksets, serverless applications packaged with aws sam, previewing and auditing infrastructure changes through change sets. Of those, recreating identical dev, staging and production environments on aws and deploying one baseline of security resources across many accounts with stacksets are not what Envoy is typically brought in for.
- What can AWS CloudFormation do that Envoy cannot?
- AWS CloudFormation covers Stacks and templates, Change sets, Drift detection, StackSets. Envoy covers xDS dynamic configuration, Protocol breadth, Filter chain architecture, Observability by default.
Answered from the vendors’ own pages
AWS CloudFormation: Does CloudFormation cost money?
Not for AWS resource types. You pay for the resources it creates; third-party extensions are billed at $0.0009 per handler operation after 1,000 free.
Envoy: 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 CloudFormation: CloudFormation or Terraform?
CloudFormation is AWS-only with state managed by AWS; Terraform spans many providers and keeps its own state.
Envoy: 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 CloudFormation: How does CDK relate?
CDK lets you write infrastructure in a programming language and synthesises CloudFormation templates.
Envoy: 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.
Envoy: 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
More on AWS CloudFormation
Other head to heads
- AWS CloudFormation vs Terraform
- AWS CloudFormation vs Spacelift
- AWS CloudFormation vs env zero
- AWS CloudFormation vs Atlantis
- AWS CloudFormation vs LocalStack
- AWS CloudFormation vs Coder
- AWS CloudFormation vs Tilt
- AWS CloudFormation vs Harness
- AWS CloudFormation vs Argo CD
- AWS CloudFormation vs HCP Terraform
- AWS CloudFormation vs Daytona
- AWS CloudFormation vs Xlinesoft
- AWS CloudFormation vs GitHub Copilot
- AWS CloudFormation vs Visual Studio Code
- AWS CloudFormation vs Kubernetes
- AWS CloudFormation vs Claude Code
- AWS CloudFormation vs Docker
- AWS CloudFormation vs Istio
- AWS CloudFormation vs Ona (formerly Gitpod)
- AWS CloudFormation vs Jenkins
- AWS CloudFormation vs Hookdeck
- AWS CloudFormation vs Restate
- AWS CloudFormation vs Datadog APM
- AWS CloudFormation vs Leafmap
- AWS CloudFormation vs Turborepo
- AWS CloudFormation vs Helix
- AWS CloudFormation vs Git
- AWS CloudFormation vs Sublime Text
- AWS CloudFormation vs Eclipse
- AWS CloudFormation vs Bazel
- AWS CloudFormation vs GNU Emacs
- AWS CloudFormation vs LaunchDarkly
- Envoy vs Terraform
- Envoy vs Spacelift
- Envoy vs env zero
- Envoy vs Atlantis
- Envoy vs LocalStack
- Envoy vs Coder
- Envoy vs Tilt
- Envoy vs Harness
- Envoy vs Argo CD
- Envoy vs HCP Terraform
- Envoy vs Daytona
- Envoy vs Xlinesoft
- Envoy vs GitHub Copilot
- Envoy vs Visual Studio Code
- Envoy vs Kubernetes
- Envoy vs Claude Code
- Envoy vs Docker
- Envoy vs Istio
- Envoy vs Ona (formerly Gitpod)
- Envoy vs Jenkins
- Envoy vs Hookdeck
- Envoy vs Restate
- Envoy vs Datadog APM
- Envoy vs Leafmap
- Envoy vs Turborepo
- Envoy vs Helix
- Envoy vs Git
- Envoy vs Sublime Text
- Envoy vs Eclipse
- Envoy vs Bazel
- Envoy vs GNU Emacs
- Envoy vs LaunchDarkly
