Softwr

Developer Tools · head to head

AWS CDK vs Google App Engine

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Google App Engine logo

Google App Engine

Developer Tools

Google Cloud platform for deploying web apps without managing servers

From
Free
Free plan
Yes

The short version

  • AWS CDK is an Apache 2.
  • AWS CDK is free; Google App Engine starts at $0.05/mo.
  • Only AWS CDK lists construct Library of reusable components; only Google App Engine lists standard environment.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
  • Where Google App Engine falls short: google Cloud Run suits most new container workloads better, so App Engine adds little for greenfield projects.

How do AWS CDK and Google App Engine differ?

AWS CDK and Google App Engine differ on pricing model and platforms. Only the attributes on which AWS CDK and Google App Engine actually diverge.

Attributes where AWS CDK and Google App Engine differ
AttributeAWS CDKGoogle App Engine
Pricing modelOpen-sourcePer instance hour, with a daily free tier on standard
PlatformsWindows, macOS, LinuxWeb, API

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

Not yet recorded: category for Google App Engine.

Which features does each one have?

They share no listed features; 8 appear only for AWS CDK and 5 only for Google App Engine. 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 App Engine

  • Standard environment
  • Flexible environment
  • Automatic scaling
  • Traffic splitting
  • Managed services

What is each one used for?

AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Google App Engine for A small web app or API that fits inside the daily free tier. The jobs each tool is most often brought in to do.

AWS CDK

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

Google App Engine

  • A small web app or API that fits inside the daily free tiernot AWS CDK
  • An existing App Engine codebase that needs to keep runningnot AWS CDK
  • A team wanting simple deploys without Kubernetesnot AWS CDK
  • Background services scaled to zero between requestsnot AWS CDK

Where do AWS CDK and Google App Engine fall short?

AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Google App Engine's: google Cloud Run suits most new container workloads better, so App Engine adds little for greenfield projects. 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 App Engine

  • Google Cloud Run suits most new container workloads better, so App Engine adds little for greenfield projects
  • The standard environment runs in language sandboxes with version and library limits that constrain what code can do
  • The flexible environment has no free tier and cannot scale to zero, so idle apps still incur charges
  • Some bundled services, such as the Search API, are legacy features with their own small free allowances
  • Apps are tightly bound to App Engine APIs, which makes moving off it to another cloud harder

How much do AWS CDK and Google App Engine cost?

AWS CDK is free to use; Google App Engine has a free plan, with paid plans from $0.05/mo. Plan by plan below, from each vendor's own pricing page.

AWS CDK

Free

No published plan breakdown. See the AWS CDK review.

Google App Engine

Free
  • Standard environment$0.05/hour
    • F1 instances free for 28 hours per day per project
    • B1 instances free for 9 hours per day per project
    • Then $0.05 per instance hour for F1 and B1
  • Flexible environment$0.0526/hour
    • $0.0526 per vCPU hour
    • $0.0071 per GB of memory hour
    • No free tier

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 App Engine if

  • You need standard environment.
  • You want to start without paying.
  • You work on Web, API.
  • You also want flexible environment.

Questions people ask

Is AWS CDK or Google App Engine better?
It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Google App Engine fits a small web app or API that fits inside the daily free tier. AWS CDK starts at Free and Google App Engine at Free.
Which is cheaper, AWS CDK or Google App Engine?
AWS CDK starts at Free and Google App Engine at Free.
Does AWS CDK or Google App Engine run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Google App Engine 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 App Engine is typically brought in for.
What can AWS CDK do that Google App Engine 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 App Engine covers Standard environment, Flexible environment, Automatic scaling, Traffic splitting.

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 App Engine: Is App Engine free?

Standard has a daily free tier per project. The flexible environment has none.

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 App Engine: How is it billed?

Standard by instance hour by class, flexible by vCPU and memory hour.

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 App Engine: App Engine or Cloud Run?

Cloud Run suits most new container workloads. App Engine suits existing apps and simple deployments.

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