Softwr

Software · head to head

AWS CloudFormation vs Google Compute Engine

AWS CloudFormation logo

AWS CloudFormation

Software

Declarative infrastructure as code for AWS, free for AWS resources

From
Free
Free plan
Yes
Google Compute Engine logo

Google Compute Engine

Software

Google Cloud virtual machines billed per vCPU and per GB of memory

From
On request
Free plan
No

The short version

  • AWS CloudFormation is free; Google Compute Engine prices on request.
  • Only AWS CloudFormation lists stacks and templates; only Google Compute Engine lists machine families.
  • Where AWS CloudFormation falls short: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it.
  • Where Google Compute Engine falls short: you manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove.

How do AWS CloudFormation and Google Compute Engine differ?

AWS CloudFormation and Google Compute Engine differ on starting price (Free against On request), pricing model and free tier (Yes against No). Only the attributes on which AWS CloudFormation and Google Compute Engine actually diverge.

Attributes where AWS CloudFormation and Google Compute Engine differ
AttributeAWS CloudFormationGoogle Compute Engine
Starting priceFreeOn request
Pricing modelNo charge for AWS resource types; extensions per handler operationPer vCPU and per GB of memory per hour
Free tierYesNo
PlatformsWeb, Linux, macOS, WindowsWeb, API

Which features does each one have?

They share no listed features; 6 appear only for AWS CloudFormation and 5 only for Google Compute 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 CloudFormation

  • Stacks and templates
  • Change sets
  • Drift detection
  • StackSets
  • Rollback
  • Registry extensions

Only in Google Compute Engine

  • Machine families
  • Custom machine types
  • Sustained use discounts
  • Committed use discounts
  • Free e2-micro

What is each one used for?

AWS CloudFormation is most often brought in for recreating identical dev, staging and production environments on AWS; Google Compute Engine for lift-and-shift of virtual machine workloads to Google Cloud. The jobs each tool is most often brought in to do.

AWS CloudFormation

  • Recreating identical dev, staging and production environments on AWSnot Google Compute Engine
  • Deploying one baseline of security resources across many accounts with StackSetsnot Google Compute Engine
  • Serverless applications packaged with AWS SAMnot Google Compute Engine
  • Previewing and auditing infrastructure changes through change setsnot Google Compute Engine

Google Compute Engine

  • Lift-and-shift of virtual machine workloads to Google Cloudnot AWS CloudFormation
  • GPU and high performance computing jobsnot AWS CloudFormation
  • Self-managed databases or legacy servers needing OS controlnot AWS CloudFormation
  • Cost-optimised batch work on spot capacitynot AWS CloudFormation

Where do AWS CloudFormation and Google Compute Engine fall short?

AWS CloudFormation's most cited limit: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it. Google Compute Engine's: machine type choice is wide, and picking the wrong family wastes money until you resize. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS CloudFormation

  • It only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it
  • Raw templates are verbose and hard to reuse, which is why many teams add CDK on top
  • A failed update can leave a stack in a stuck state such as UPDATE_ROLLBACK_FAILED that needs manual intervention
  • New AWS features sometimes arrive in CloudFormation after the console and API, so you wait or script around the gap
  • Deleting a stack deletes its resources, so a mistaken delete of a stack with data needs DeletionPolicy discipline

Google Compute Engine

  • You manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove
  • Bills combine vCPU, memory, disks, network egress and licences, which makes forecasting hard without the pricing calculator
  • Machine type choice is wide, and picking the wrong family wastes money until you resize
  • Sustained use discounts do not stack with committed use discounts, so savings depend on getting commitments right
  • Network egress charges can exceed compute cost for data-heavy applications

How much do AWS CloudFormation and Google Compute Engine cost?

AWS CloudFormation is free to use. Plan by plan below, from each vendor's own pricing page.

AWS CloudFormation

Free
  • AWS resource typesFree
    • No additional charge for using CloudFormation with AWS resources
    • You pay for the resources the stack creates
  • Third-party extensionsOn request
    • $0.0009 per handler operation, first 1,000 per month free
    • $0.00008 per second of handler duration beyond 30 seconds

Google Compute Engine

On request
  • On demandOn request
    • vCPU and memory billed separately
    • Sustained use discounts up to 30%
    • Committed use discounts available

Which should you pick?

Choose AWS CloudFormation if

  • You need stacks and templates.
  • You want to start without paying.
  • You work on Web, Linux, macOS, Windows.
  • You also want change sets.

Choose Google Compute Engine if

  • You need machine families.
  • You work on Web, API.
  • You also want custom machine types.

Questions people ask

Is AWS CloudFormation or Google Compute Engine better?
It depends on the job. AWS CloudFormation fits recreating identical dev, staging and production environments on AWS; Google Compute Engine fits lift-and-shift of virtual machine workloads to Google Cloud. AWS CloudFormation starts at Free and Google Compute Engine at On request.
Which is cheaper, AWS CloudFormation or Google Compute Engine?
AWS CloudFormation has a free tier; the other does not. Paid plans start at Free for AWS CloudFormation and On request for Google Compute Engine.
Does AWS CloudFormation or Google Compute Engine run on more platforms?
AWS CloudFormation runs on Web, Linux, macOS, Windows. Google Compute Engine runs on Web, API.
Can I use AWS CloudFormation for free?
Yes. AWS CloudFormation has a free tier, so you can try it without paying. Google Compute Engine starts at On request.
What is AWS CloudFormation best used for?
AWS CloudFormation is most often used for recreating identical dev, staging and production environments on aws, deploying one baseline of security resources across many accounts with stacksets, serverless applications packaged with aws sam, previewing and auditing infrastructure changes through change sets. Of those, recreating identical dev, staging and production environments on aws and deploying one baseline of security resources across many accounts with stacksets are not what Google Compute Engine is typically brought in for.
What can AWS CloudFormation do that Google Compute Engine cannot?
AWS CloudFormation covers Stacks and templates, Change sets, Drift detection, StackSets. Google Compute Engine covers Machine families, Custom machine types, Sustained use discounts, Committed use discounts.

Answered from the vendors’ own pages

AWS CloudFormation: Does CloudFormation cost money?

Not for AWS resource types. You pay for the resources it creates; third-party extensions are billed at $0.0009 per handler operation after 1,000 free.

Google Compute Engine: How is Compute Engine billed?

Per vCPU and per GB of memory per hour, plus disks and network.

AWS CloudFormation: CloudFormation or Terraform?

CloudFormation is AWS-only with state managed by AWS; Terraform spans many providers and keeps its own state.

Google Compute Engine: Is there a free VM?

Yes, Google Cloud offers a free e2-micro instance under its free programme.

AWS CloudFormation: How does CDK relate?

CDK lets you write infrastructure in a programming language and synthesises CloudFormation templates.

Google Compute Engine: What discounts exist?

Sustained use discounts of up to 30% and committed use discounts.

Share

Related pages

Other head to heads