Softwr

Developer Tools · head to head

AWS CDK vs Hetzner Cloud

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Hetzner Cloud logo

Hetzner Cloud

Cloud

Affordable cloud servers in Europe

From
Free
Free plan
Yes

The short version

  • AWS CDK is an Apache 2; Hetzner Cloud is a European cloud infrastructure provider.
  • AWS CDK is free; Hetzner Cloud starts at €3.29/mo.
  • Only AWS CDK lists construct Library of reusable components; only Hetzner Cloud lists cloud servers.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
  • Where Hetzner Cloud falls short: Cost-Optimized plans are shown as currently unavailable.
  • Prices and features on this page were last checked on 20 November 2026.

How do AWS CDK and Hetzner Cloud differ?

AWS CDK and Hetzner Cloud differ on pricing model (Open-source against Usage-based), platforms and category (Developer Tools against Cloud). Only the attributes on which AWS CDK and Hetzner Cloud actually diverge.

Attributes where AWS CDK and Hetzner Cloud differ
AttributeAWS CDKHetzner Cloud
Pricing modelOpen-sourceUsage-based
PlatformsWindows, macOS, LinuxWeb, API
CategoryDeveloper ToolsCloud

Identical on both: starting price (Free), free tier (Yes).

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 20 only for Hetzner Cloud. 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 Hetzner Cloud

  • Cloud servers
  • Block storage
  • Object storage
  • Load balancers
  • Networks
  • Firewalls
  • Floating IPs
  • Backups

What is each one used for?

AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Hetzner Cloud for low-cost virtual servers for development and testing. The jobs each tool is most often brought in to do.

AWS CDK

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

Hetzner Cloud

  • Low-cost virtual servers for development and testingnot AWS CDK
  • European hosting with data held in Germany or Finlandnot AWS CDK
  • Workloads with heavy egress, where included traffic mattersnot AWS CDK
  • Self-hosting applications away from the hyperscalersnot AWS CDK

Where do AWS CDK and Hetzner Cloud fall short?

AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Hetzner Cloud's: Cost-Optimized plans are shown as currently unavailable. 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

Hetzner Cloud

  • Cost-Optimized plans are shown as currently unavailable
  • The shared-resource tiers are positioned for variable usage and development rather than sustained production workloads
  • Regions are limited to Germany, Finland, the United States and Singapore, so latency to other markets is a real constraint
  • The uptime guarantee is 99.9 percent, below what the large hyperscalers offer on comparable services
  • Support is 24/7 by email, without a phone channel

How much do AWS CDK and Hetzner Cloud cost?

AWS CDK is free to use; Hetzner Cloud has a free plan, with paid plans from €3.29/mo. Plan by plan below, from each vendor's own pricing page.

AWS CDK

Free

No published plan breakdown. See the AWS CDK review.

Hetzner Cloud

Free
  • CX11€3.29/mo
    • 1 vCPU
    • 1GB RAM
    • 25GB SSD
  • CX21€6.59/mo
    • 2 vCPU
    • 4GB RAM
    • 40GB SSD

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 Hetzner Cloud if

  • You need cloud servers.
  • You want to start without paying.
  • You work on Web, API.
  • You also want block storage.

Questions people ask

Is AWS CDK or Hetzner Cloud better?
Neither clearly leads. AWS CDK starts at Free and Hetzner Cloud at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, AWS CDK or Hetzner Cloud?
AWS CDK starts at Free and Hetzner Cloud at Free.
Does AWS CDK or Hetzner Cloud run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Hetzner Cloud runs on Web, API.
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 Hetzner Cloud is typically brought in for.
What can AWS CDK do that Hetzner Cloud 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. Hetzner Cloud covers Cloud servers, Block storage, Object storage, Load balancers.

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
Hetzner Cloud: What types of cloud plans does Hetzner Cloud offer?

Hetzner Cloud offers Shared Resource plans (Cost-Optimized and Regular Performance) for development and testing, and Dedicated Resource plans (General Purpose) for business applications. Plans are available with a price calculator on their website.

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
Hetzner Cloud: What is included with Hetzner Cloud servers?

Every cloud server comes with free one-click apps like Docker, WordPress, Nextcloud, and GitLab. All servers include stateful firewalls at no additional cost, networking capabilities, APIs, and CLI tools.

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
Hetzner Cloud: Where are Hetzner Cloud servers located?

Hetzner Cloud servers are available in Germany, Finland, Singapore, and the USA, with data centers in Falkenstein, Nuremberg, Helsinki, Hillsboro (Oregon), Ashburn (Virginia), and Singapore.

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
Hetzner Cloud: What uptime guarantee does Hetzner Cloud provide?

Hetzner Cloud provides an SLA with 99.9% guaranteed uptime and clearly defined credits in case of malfunction. They also offer 24/7 support by email for business-critical workloads.

Source
Share

Related pages

Other head to heads