Softwr

Developer Tools · head to head

AWS CDK vs Google Cloud Platform

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Google Cloud Platform logo

Google Cloud Platform

Cloud

From
Free
Free plan
Yes

The short version

  • AWS CDK is an Apache 2.
  • Both are free.
  • Only AWS CDK lists construct Library of reusable components; only Google Cloud Platform lists compute Engine.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
  • Where Google Cloud Platform falls short: the $300 Free Trial credit expires 90 days from signup, whichever comes first with spending it.

How do AWS CDK and Google Cloud Platform differ?

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

Attributes where AWS CDK and Google Cloud Platform differ
AttributeAWS CDKGoogle Cloud Platform
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 Google Cloud Platform. 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 Google Cloud Platform

  • Compute Engine
  • App Engine
  • Cloud Run
  • Cloud Storage
  • Cloud SQL
  • BigQuery
  • Dataflow
  • Cloud Pub/Sub

What is each one used for?

AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Google Cloud Platform for cloud infrastructure and computing services. The jobs each tool is most often brought in to do.

AWS CDK

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

Google Cloud Platform

  • Cloud infrastructure and computing servicesnot AWS CDK
  • Machine learning and data analyticsnot AWS CDK
  • Enterprise application hostingnot AWS CDK

Where do AWS CDK and Google Cloud Platform fall short?

AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Google Cloud Platform's: the $300 Free Trial credit expires 90 days from signup, whichever comes first with spending it. 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

Google Cloud Platform

  • The $300 Free Trial credit expires 90 days from signup, whichever comes first with spending it
  • Free Tier Compute Engine is limited to one non-preemptible e2-micro instance per month and only in the us-west1, us-central1 or us-east1 regions
  • Free Tier Compute Engine includes only 30 GB-months of standard persistent disk and 1 GB of outbound North America data transfer per month
  • Free Tier Cloud Storage covers 5 GB-months of regional storage in US regions only, 5,000 Class A and 50,000 Class B operations per month
  • Free Tier outbound data transfer allowances exclude destinations in China and Australia
  • Compute Engine resources are governed by allocation quotas that require a quota increase request to exceed

How much do AWS CDK and Google Cloud Platform cost?

AWS CDK is free to use; Google Cloud Platform 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.

Google Cloud Platform

Free
  • Free TierFree
    • Compute Engine 744 hours/month
    • Cloud Storage 5GB
    • Cloud SQL 250MB storage

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 Google Cloud Platform if

  • You need compute engine.
  • You want to start without paying.
  • You work on Web, API.
  • You also want app engine.

Questions people ask

Is AWS CDK or Google Cloud Platform better?
It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Google Cloud Platform fits cloud infrastructure and computing services. AWS CDK starts at Free and Google Cloud Platform at Free.
Which is cheaper, AWS CDK or Google Cloud Platform?
AWS CDK starts at Free and Google Cloud Platform at Free.
Does AWS CDK or Google Cloud Platform run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Google Cloud Platform 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 Google Cloud Platform is typically brought in for.
What can AWS CDK do that Google Cloud Platform 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. Google Cloud Platform covers Compute Engine, App Engine, Cloud Run, Cloud Storage.

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
Google Cloud Platform: What is Google Cloud Platform's pricing model?

Google Cloud uses usage-based pay-as-you-go pricing with options for committed use discounts at 1-year or 3-year terms, which can reduce costs by 25-70%. Pricing varies by region, service, and usage volume.

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
Google Cloud Platform: Does Google Cloud offer a free tier?

Yes, Google Cloud offers an always-free tier with generous free allowances for development, plus $300 in free credits for new customers during their first 90 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
Google Cloud Platform: How do committed use discounts work?

Users can commit to 1-year or 3-year usage of specific services to receive discounts of 25-70% compared to on-demand pricing. These discounts apply to compute, storage, and other services.

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