Softwr

Developer Tools · head to head

AWS CDK vs Cortex Xpanse

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Cortex Xpanse logo

Cortex Xpanse

Developer Tools

External attack surface management that scans the whole internet for your exposed assets

From
On request
Free plan
No

The short version

  • AWS CDK is an Apache 2.
  • AWS CDK is free; Cortex Xpanse prices on request.
  • Only AWS CDK lists construct Library of reusable components; only Cortex Xpanse lists internet-wide discovery.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
  • Where Cortex Xpanse falls short: pricing is not published, so budget and trial terms require a sales conversation.

How do AWS CDK and Cortex Xpanse differ?

AWS CDK and Cortex Xpanse 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 Cortex Xpanse actually diverge.

Attributes where AWS CDK and Cortex Xpanse differ
AttributeAWS CDKCortex Xpanse
Starting priceFreeOn request
Pricing modelOpen-sourceQuote
Free tierYesNo
PlatformsWindows, macOS, LinuxWeb

Not yet recorded: category for Cortex Xpanse.

Which features does each one have?

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

  • Internet-wide discovery
  • Asset attribution
  • Risk prioritisation
  • Automated playbooks
  • CVE response
  • M&A assessment

What is each one used for?

AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Cortex Xpanse for an enterprise finding forgotten cloud assets and shadow IT. The jobs each tool is most often brought in to do.

AWS CDK

  • Defining AWS infrastructure in TypeScript or Pythonnot Cortex Xpanse
  • Reusable internal infrastructure modulesnot Cortex Xpanse
  • Serverless application stacksnot Cortex Xpanse
  • Testing infrastructure with unit testsnot Cortex Xpanse
  • Standardising environments across accountsnot Cortex Xpanse

Cortex Xpanse

  • An enterprise finding forgotten cloud assets and shadow ITnot AWS CDK
  • An acquirer assessing the exposure of a target companynot AWS CDK
  • A security team responding to a new CVE across internet-facing assetsnot AWS CDK
  • A risk team reducing exposures flagged by cyber insurersnot AWS CDK

Where do AWS CDK and Cortex Xpanse fall short?

AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Cortex Xpanse's: pricing is not published, so budget and trial terms require a sales conversation. 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

Cortex Xpanse

  • Pricing is not published, so budget and trial terms require a sales conversation
  • It only sees the external surface; internal asset and vulnerability coverage needs other tools
  • Attribution of discovered assets can be wrong, so analysts still verify ownership
  • Automated remediation needs integrations and approvals that take time to set up
  • Palo Alto Networks sells overlapping Cortex Exposure Management, so the product boundary and licensing can be unclear

How much do AWS CDK and Cortex Xpanse cost?

AWS CDK is free to use; Cortex Xpanse 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.

Cortex Xpanse

On request
  • Cortex XpanseOn request
    • Subscription sized by organisation attack surface
    • Automated remediation playbooks
    • Quote only

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 Cortex Xpanse if

  • You need internet-wide discovery.
  • You also want asset attribution.

Questions people ask

Is AWS CDK or Cortex Xpanse better?
It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Cortex Xpanse fits an enterprise finding forgotten cloud assets and shadow IT. AWS CDK starts at Free and Cortex Xpanse at On request.
Which is cheaper, AWS CDK or Cortex Xpanse?
AWS CDK has a free tier; the other does not. Paid plans start at Free for AWS CDK and On request for Cortex Xpanse.
Does AWS CDK or Cortex Xpanse run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Cortex Xpanse runs on Web.
Can I use AWS CDK for free?
Yes. AWS CDK has a free tier, so you can try it without paying. Cortex Xpanse 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 Cortex Xpanse is typically brought in for.
What can AWS CDK do that Cortex Xpanse 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. Cortex Xpanse covers Internet-wide discovery, Asset attribution, Risk prioritisation, Automated playbooks.

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
Cortex Xpanse: What is Xpanse used for?

Discovering and reducing risks on internet-facing assets, including ones you did not know existed.

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
Cortex Xpanse: Is it a vulnerability scanner?

It overlaps, but it scans the internet continuously and discovers assets, rather than scanning a list you provide.

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
Cortex Xpanse: Does it fix issues?

It can run automated playbooks for remediation.

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
Cortex Xpanse: Is the price published?

No.

Share

Related pages

Other head to heads