Softwr

Developer Tools · head to head

AWS CDK vs Red Hat OpenShift

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Red Hat OpenShift logo

Red Hat OpenShift

Cloud

Kubernetes-based application platform sold as self-managed editions and managed cloud services

From
$0.076/hour
Free plan
No

The short version

  • AWS CDK is an Apache 2.
  • AWS CDK is free; Red Hat OpenShift starts at $0.076/mo.
  • Only AWS CDK lists construct Library of reusable components; only Red Hat OpenShift lists kubernetes-based application platform.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
  • Where Red Hat OpenShift falls short: self-managed edition prices are not published and need a quote.

How do AWS CDK and Red Hat OpenShift differ?

AWS CDK and Red Hat OpenShift differ on starting price (Free against $0.076/hour), pricing model (Open-source against Subscription) and free tier (Yes against No). Only the attributes on which AWS CDK and Red Hat OpenShift actually diverge.

Attributes where AWS CDK and Red Hat OpenShift differ
AttributeAWS CDKRed Hat OpenShift
Starting priceFree$0.076/hour
Pricing modelOpen-sourceSubscription
Free tierYesNo
PlatformsWindows, macOS, LinuxWeb, Linux
CategoryDeveloper ToolsCloud

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 7 only for Red Hat OpenShift. 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 Red Hat OpenShift

  • Kubernetes-based application platform
  • Managed services on AWS, Azure, Google Cloud and IBM Cloud
  • Self-managed editions for datacentre or cloud
  • OpenShift GitOps and Pipelines for CI/CD
  • OpenShift Virtualization for virtual machines
  • OpenShift Serverless and Service Mesh
  • OpenShift AI for AI workloads

What is each one used for?

AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Red Hat OpenShift for running enterprise Kubernetes on premises. The jobs each tool is most often brought in to do.

AWS CDK

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

Red Hat OpenShift

  • Running enterprise Kubernetes on premisesnot AWS CDK
  • Managed Kubernetes on AWS or Azurenot AWS CDK
  • Migrating virtual machines to containersnot AWS CDK
  • CI/CD with GitOps pipelinesnot AWS CDK
  • Hybrid cloud application platformsnot AWS CDK

Where do AWS CDK and Red Hat OpenShift fall short?

AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Red Hat OpenShift's: self-managed edition prices are not published and need a quote. 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

Red Hat OpenShift

  • Self-managed edition prices are not published and need a quote
  • The 0.076 dollars per hour price assumes a three-year reserved contract
  • Subscription cost and complexity exceed plain Kubernetes for small teams
  • Managed services are billed by cloud providers, so costs are split across vendors

How much do AWS CDK and Red Hat OpenShift cost?

AWS CDK is free to use; Red Hat OpenShift starts at $0.076/mo. Plan by plan below, from each vendor's own pricing page.

AWS CDK

Free

No published plan breakdown. See the AWS CDK review.

Red Hat OpenShift

$0.076/hour
  • Managed cloud reserved instances (from)$0.076/hour
  • Self-managed editionsOn request

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 Red Hat OpenShift if

  • You need kubernetes-based application platform.
  • You work on Web, Linux.
  • You also want managed services on aws, azure, google cloud and ibm cloud.

Questions people ask

Is AWS CDK or Red Hat OpenShift better?
It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Red Hat OpenShift fits running enterprise Kubernetes on premises. AWS CDK starts at Free and Red Hat OpenShift at $0.076/hour.
Which is cheaper, AWS CDK or Red Hat OpenShift?
AWS CDK has a free tier; the other does not. Paid plans start at Free for AWS CDK and $0.076/hour for Red Hat OpenShift.
Does AWS CDK or Red Hat OpenShift run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Red Hat OpenShift runs on Web, Linux.
Can I use AWS CDK for free?
Yes. AWS CDK has a free tier, so you can try it without paying. Red Hat OpenShift starts at $0.076/hour.
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 Red Hat OpenShift is typically brought in for.
What can AWS CDK do that Red Hat OpenShift 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. Red Hat OpenShift covers Kubernetes-based application platform, Managed services on AWS, Azure, Google Cloud and IBM Cloud, Self-managed editions for datacentre or cloud, OpenShift GitOps and Pipelines for CI/CD.

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
Red Hat OpenShift: What deployment options does OpenShift have?

Managed services on AWS, Azure, Google Cloud and IBM Cloud, and self-managed editions such as Container Platform and Platform Plus. Managed options are jointly run with the cloud provider.

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
Red Hat OpenShift: How much does OpenShift cost?

Red Hat lists reserved managed instances from 0.076 US dollars per hour on a three-year contract. Self-managed editions have no published list price.

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
Red Hat OpenShift: Is there an open source version?

The community upstream is OKD, licensed under Apache 2.0. OpenShift itself is listed as a commercial product.

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
Red Hat OpenShift: Can I try it first?

Red Hat lists a Developer Sandbox, a self-managed trial and a free eight-hour ROSA hands-on experience. Trials of the managed and self-managed products are listed on the pricing page.

Source
Share

Related pages

Other head to heads