Softwr

Web Development · head to head

AWS CloudFormation vs Gatsby

AWS CloudFormation logo

AWS CloudFormation

Web Development

Declarative infrastructure as code for AWS, free for AWS resources

From
Free
Free plan
Yes
Gatsby logo

Gatsby

Web Development

Open-source React framework for building websites and apps

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only AWS CloudFormation lists stacks and templates; only Gatsby lists react-based component development.
  • Where AWS CloudFormation falls short: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it.
  • Where Gatsby falls short: Gatsby Cloud hosting ended in August 2023 and was merged into Netlify.

How do AWS CloudFormation and Gatsby differ?

AWS CloudFormation and Gatsby differ on pricing model and platforms. Only the attributes on which AWS CloudFormation and Gatsby actually diverge.

Attributes where AWS CloudFormation and Gatsby differ
AttributeAWS CloudFormationGatsby
Pricing modelNo charge for AWS resource types; extensions per handler operationOpen-source
PlatformsWeb, Linux, macOS, WindowsWeb, Windows, macOS, Linux

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

Not yet recorded: category for AWS CloudFormation.

Which features does each one have?

They share no listed features; 6 appear only for AWS CloudFormation and 8 only for Gatsby. 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 Gatsby

  • React-based component development
  • GraphQL data layer
  • Plugin and theme ecosystem
  • Static site generation
  • Server-side rendering
  • Deferred Static Generation
  • Headless CMS integration
  • Cloud Functions support

What is each one used for?

AWS CloudFormation is most often brought in for recreating identical dev, staging and production environments on AWS; Gatsby for marketing sites pulling content from a headless CMS. The jobs each tool is most often brought in to do.

AWS CloudFormation

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

Gatsby

  • Marketing sites pulling content from a headless CMSnot AWS CloudFormation
  • Blogs and documentation sites built in Reactnot AWS CloudFormation
  • Static sites with image optimisation pluginsnot AWS CloudFormation
  • Migrating existing Gatsby Cloud sites to Netlifynot AWS CloudFormation

Where do AWS CloudFormation and Gatsby fall short?

AWS CloudFormation's most cited limit: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it. Gatsby's: Gatsby Cloud hosting ended in August 2023 and was merged into Netlify. 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

Gatsby

  • Gatsby Cloud hosting ended in August 2023 and was merged into Netlify
  • The GitHub repository's releases section is empty, so release cadence is unclear
  • Requires React and GraphQL knowledge; there is no visual editor
  • Hosting, CMS and build services are paid separately
  • Official hosting guidance now centres on Netlify

How much do AWS CloudFormation and Gatsby cost?

AWS CloudFormation is free to use; Gatsby 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

Gatsby

Free

No published plan breakdown. See the Gatsby review.

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 Gatsby if

  • You need react-based component development.
  • You want to start without paying.
  • You work on Web, Windows, macOS, Linux.
  • You also want graphql data layer.

Questions people ask

Is AWS CloudFormation or Gatsby better?
It depends on the job. AWS CloudFormation fits recreating identical dev, staging and production environments on AWS; Gatsby fits marketing sites pulling content from a headless CMS. AWS CloudFormation starts at Free and Gatsby at Free.
Which is cheaper, AWS CloudFormation or Gatsby?
AWS CloudFormation starts at Free and Gatsby at Free.
Does AWS CloudFormation or Gatsby run on more platforms?
AWS CloudFormation runs on Web, Linux, macOS, Windows. Gatsby runs on Web, Windows, macOS, Linux.
Can I use AWS CloudFormation for free?
Both have a free tier, so you can try either at no cost before committing.
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 Gatsby is typically brought in for.
What can AWS CloudFormation do that Gatsby cannot?
AWS CloudFormation covers Stacks and templates, Change sets, Drift detection, StackSets. Gatsby covers React-based component development, GraphQL data layer, Plugin and theme ecosystem, Static site generation.

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.

Gatsby: Is Gatsby free?

Yes. Gatsby is open source under the MIT License, and the project site lists no paid Gatsby plans. You pay separately for hosting and any CMS you connect.

Source
AWS CloudFormation: CloudFormation or Terraform?

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

Gatsby: What happened to Gatsby Cloud?

Netlify acquired Gatsby, Inc. in February 2023 and ended Gatsby Cloud in August 2023, folding it into Netlify. The Gatsby site offers migration paths to Netlify.

Source
AWS CloudFormation: How does CDK relate?

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

Gatsby: Does Gatsby support server-side rendering?

Yes. Wikipedia says version 4 added server-side rendering and Deferred Static Generation alongside static generation. The Gatsby site also mentions Cloud Functions.

Source
Share

Related pages

Other head to heads