Softwr

Cloud · head to head

AWS (Amazon Web Services) vs AWS CloudFormation

AWS (Amazon Web Services) logo

AWS (Amazon Web Services)

Cloud

Cloud computing platform

From
Free
Free plan
Yes
AWS CloudFormation logo

AWS CloudFormation

Cloud

Declarative infrastructure as code for AWS, free for AWS resources

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only AWS (Amazon Web Services) lists EC2 - Virtual Servers; only AWS CloudFormation lists stacks and templates.
  • Where AWS (Amazon Web Services) falls short: data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills.
  • Where AWS CloudFormation falls short: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it.

How do AWS (Amazon Web Services) and AWS CloudFormation differ?

AWS (Amazon Web Services) and AWS CloudFormation differ on pricing model and platforms. Only the attributes on which AWS (Amazon Web Services) and AWS CloudFormation actually diverge.

Attributes where AWS (Amazon Web Services) and AWS CloudFormation differ
AttributeAWS (Amazon Web Services)AWS CloudFormation
Pricing modelUsage-basedNo charge for AWS resource types; extensions per handler operation
PlatformsWeb, API, iOS, AndroidWeb, Linux, macOS, Windows

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

Not yet recorded: category for AWS CloudFormation, founded for AWS CloudFormation.

Which features does each one have?

They share no listed features; 20 appear only for AWS (Amazon Web Services) and 6 only for AWS CloudFormation. 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 (Amazon Web Services)

  • EC2 - Virtual Servers
  • S3 - Object Storage
  • RDS - Managed Database
  • Lambda - Serverless Computing
  • CloudFront - CDN
  • VPC - Virtual Network
  • IAM - Access Management
  • CloudWatch - Monitoring

Only in AWS CloudFormation

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

What is each one used for?

AWS (Amazon Web Services) is most often brought in for web hosting; AWS CloudFormation for recreating identical dev, staging and production environments on AWS. The jobs each tool is most often brought in to do.

AWS (Amazon Web Services)

  • Web hostingnot AWS CloudFormation
  • Data storagenot AWS CloudFormation
  • Machine learningnot AWS CloudFormation
  • Big data analyticsnot AWS CloudFormation
  • Application developmentnot AWS CloudFormation

AWS CloudFormation

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

Where do AWS (Amazon Web Services) and AWS CloudFormation fall short?

AWS (Amazon Web Services)'s most cited limit: data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills. AWS CloudFormation's: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS (Amazon Web Services)

  • Data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills
  • Discounts require one or three year Savings Plan commitments rather than being automatic
  • Every service is priced separately, so a working architecture has no single published cost
  • The free tier is a promotional allowance rather than an ongoing free plan

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

How much do AWS (Amazon Web Services) and AWS CloudFormation cost?

AWS (Amazon Web Services) is free to use; AWS CloudFormation is free to use. Plan by plan below, from each vendor's own pricing page.

AWS (Amazon Web Services)

Free
  • AWS Free TierFree
    • EC2 750 hours/month
    • 5GB S3 storage
    • 20GB data transfer
  • Pay-As-You-GoFree
    • No upfront payment
    • No long-term commitments
    • Pay only for what you use

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

Which should you pick?

Choose AWS (Amazon Web Services) if

  • You need ec2 - virtual servers.
  • You want to start without paying.
  • You work on Web, API, iOS, Android.
  • You also want s3 - object storage.

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.

Questions people ask

Is AWS (Amazon Web Services) or AWS CloudFormation better?
It depends on the job. AWS (Amazon Web Services) fits web hosting; AWS CloudFormation fits recreating identical dev, staging and production environments on AWS. AWS (Amazon Web Services) starts at Free and AWS CloudFormation at Free.
Which is cheaper, AWS (Amazon Web Services) or AWS CloudFormation?
AWS (Amazon Web Services) starts at Free and AWS CloudFormation at Free.
Does AWS (Amazon Web Services) or AWS CloudFormation run on more platforms?
AWS (Amazon Web Services) runs on Web, API, iOS, Android. AWS CloudFormation runs on Web, Linux, macOS, Windows.
Can I use AWS (Amazon Web Services) for free?
Both have a free tier, so you can try either at no cost before committing.
What is AWS (Amazon Web Services) best used for?
AWS (Amazon Web Services) is most often used for web hosting, data storage, machine learning, big data analytics. Of those, web hosting and data storage are not what AWS CloudFormation is typically brought in for.
What can AWS (Amazon Web Services) do that AWS CloudFormation cannot?
AWS (Amazon Web Services) covers EC2 - Virtual Servers, S3 - Object Storage, RDS - Managed Database, Lambda - Serverless Computing. AWS CloudFormation covers Stacks and templates, Change sets, Drift detection, StackSets.

Answered from the vendors’ own pages

AWS (Amazon Web Services): What are AWS's payment options and pricing models?

AWS offers four pricing approaches: pay-as-you-go (you pay only for what you use), flat-rate plans combining multiple services into one monthly price without overages, Savings Plans offering discounts on compute and machine learning with 1- or 3-year commitments, and volume-based tiered pricing where costs decrease as usage increases.

Source
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.

AWS (Amazon Web Services): Are there contracts, termination fees, or commitments required for AWS?

No long-term contracts are required for AWS services. No termination fees apply once you stop using the service. Savings Plans provide optional 1- or 3-year commitments with discounted hourly rates, but you can revert to pay-as-you-go pricing anytime.

Source
AWS CloudFormation: CloudFormation or Terraform?

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

AWS (Amazon Web Services): Does AWS offer a free tier?

AWS provides a free tier that offers hands-on experience with AWS products at no charge. The free tier allows new customers to try eligible services before committing to paid usage.

Source
AWS CloudFormation: How does CDK relate?

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

AWS (Amazon Web Services): How do I estimate my AWS costs?

AWS provides the AWS Pricing Calculator and Cost Explorer tool to estimate costs for single or multiple services. AWS also offers cost optimization recommendations, performance reporting, and budget alerts to help track and control spending.

Source
Share

Related pages

Other head to heads