Softwr

Developer Tools · head to head

AWS CDK vs Microsoft Foundry

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Microsoft Foundry logo

Microsoft Foundry

Machine Learning

Microsoft platform for building, deploying and governing AI agents and models on Azure

From
On request
Free plan
No

The short version

  • AWS CDK is an Apache 2.
  • AWS CDK is free; Microsoft Foundry prices on request.
  • Only AWS CDK lists construct Library of reusable components; only Microsoft Foundry lists model catalogue from multiple providers.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
  • Where Microsoft Foundry falls short: no single list price: cost depends on each Azure service used.

How do AWS CDK and Microsoft Foundry differ?

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

Attributes where AWS CDK and Microsoft Foundry differ
AttributeAWS CDKMicrosoft Foundry
Starting priceFreeOn request
Pricing modelOpen-sourceUsage-based
Free tierYesNo
PlatformsWindows, macOS, LinuxWeb
CategoryDeveloper ToolsMachine Learning

Which features does each one have?

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

  • Model catalogue from multiple providers
  • Prompt agents built in the portal
  • Hosted agents running your own code
  • Foundry Agent Service
  • Tracing and evaluations
  • Content safety controls
  • Entra identity and role based access
  • SDKs for Python, C#, JavaScript and Java

What is each one used for?

AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Microsoft Foundry for building enterprise AI agents on Azure. The jobs each tool is most often brought in to do.

AWS CDK

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

Microsoft Foundry

  • Building enterprise AI agents on Azurenot AWS CDK
  • Comparing and deploying models from several providersnot AWS CDK
  • Governing AI apps with Entra and policy controlsnot AWS CDK
  • Upgrading an Azure OpenAI resource to a wider platformnot AWS CDK

Where do AWS CDK and Microsoft Foundry fall short?

AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Microsoft Foundry's: no single list price: cost depends on each Azure service used. 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

Microsoft Foundry

  • No single list price: cost depends on each Azure service used
  • Building agents needs an Azure subscription
  • Several platform capabilities are still in preview
  • Naming and portal changes (classic versus new) can confuse existing users

How much do AWS CDK and Microsoft Foundry cost?

AWS CDK 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.

Microsoft Foundry

On request

No published plan breakdown. See the Microsoft Foundry 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 Microsoft Foundry if

  • You need model catalogue from multiple providers.
  • You also want prompt agents built in the portal.

Questions people ask

Is AWS CDK or Microsoft Foundry better?
It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Microsoft Foundry fits building enterprise AI agents on Azure. AWS CDK starts at Free and Microsoft Foundry at On request.
Which is cheaper, AWS CDK or Microsoft Foundry?
AWS CDK has a free tier; the other does not. Paid plans start at Free for AWS CDK and On request for Microsoft Foundry.
Does AWS CDK or Microsoft Foundry run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Microsoft Foundry runs on Web.
Can I use AWS CDK for free?
Yes. AWS CDK has a free tier, so you can try it without paying. Microsoft Foundry 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 Microsoft Foundry is typically brought in for.
What can AWS CDK do that Microsoft Foundry 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. Microsoft Foundry covers Model catalogue from multiple providers, Prompt agents built in the portal, Hosted agents running your own code, Foundry Agent Service.

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
Microsoft Foundry: What was Microsoft Foundry called before?

Microsoft's documentation lists the previous brand as Azure AI Studio and Azure AI Foundry.

Source
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
Microsoft Foundry: How is Microsoft Foundry priced?

Pricing is consumption based and depends on the individual services used. Azure offers a free trial of up to 30 days.

Source
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
Microsoft Foundry: Do I need an Azure account to try it?

Exploring Foundry needs no Azure account, but building agents requires an Azure subscription.

Source
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
Share

Related pages

Other head to heads