Softwr

Cloud · head to head

AWS CloudFormation vs Fly.io

AWS CloudFormation logo

AWS CloudFormation

Cloud

Declarative infrastructure as code for AWS, free for AWS resources

From
Free
Free plan
Yes
Fly.io logo

Fly.io

Cloud

Deploy web applications globally

From
$29/month
Free plan
No

The short version

  • AWS CloudFormation is free; Fly.io starts at $29/mo.
  • Only AWS CloudFormation lists stacks and templates; only Fly.io lists global deployment.
  • Where AWS CloudFormation falls short: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it.
  • Where Fly.io falls short: stopped machines still bill at $0.15 per GB of root filesystem a month, so a paused service is not a free one.

How do AWS CloudFormation and Fly.io differ?

AWS CloudFormation and Fly.io differ on starting price (Free against $29/month), pricing model and free tier (Yes against No). Only the attributes on which AWS CloudFormation and Fly.io actually diverge.

Attributes where AWS CloudFormation and Fly.io differ
AttributeAWS CloudFormationFly.io
Starting priceFree$29/month
Pricing modelNo charge for AWS resource types; extensions per handler operationUsage-based
Free tierYesNo
PlatformsWeb, Linux, macOS, WindowsWeb, API, Self-hosted

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

Which features does each one have?

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

  • Global deployment
  • Docker support
  • Postgres databases
  • Redis support
  • Auto-scaling
  • Health checks
  • Backups
  • Monitoring

What is each one used for?

AWS CloudFormation is most often brought in for recreating identical dev, staging and production environments on AWS; Fly.io for deploying containerised applications close to users across regions. The jobs each tool is most often brought in to do.

AWS CloudFormation

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

Fly.io

  • Deploying containerised applications close to users across regionsnot AWS CloudFormation
  • Running full stack apps and databases on managed machinesnot AWS CloudFormation

Where do AWS CloudFormation and Fly.io fall short?

AWS CloudFormation's most cited limit: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it. Fly.io's: stopped machines still bill at $0.15 per GB of root filesystem a month, so a paused service is not a free one. 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

Fly.io

  • Egress is priced by destination region, from $0.02 per GB in North America and Europe to $0.12 per GB for Africa and India, so the same traffic costs six times more depending on where users are
  • Stopped machines still bill at $0.15 per GB of root filesystem a month, so a paused service is not a free one
  • Volumes are billed on provisioned capacity rather than usage, at $0.15 per GB a month
  • Reservation discounts of 40% require paying a year up front, from $36 to $1,440
  • Fly Kubernetes is a separate $75 a month per cluster
  • Dedicated IPv4 addresses are $2 a month each

How much do AWS CloudFormation and Fly.io cost?

AWS CloudFormation is free to use; Fly.io starts at $29/mo. 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

Fly.io

$29/month
  • Pay-as-You-GoOn request
    • Micro VMs and persistent storage charged by usage
    • FlyCTL CLI
    • Unlimited users and organizations
  • Serious Support$29/mo
    • Access to dedicated engineering team
    • All Pay-as-You-Go features
  • Machine Reservation BlocksOn request
    • 40% discount on machine usage
    • Requires upfront payment for savings
  • Compliance Package$99/mo
    • HIPAA compliance
    • BAAs
    • SOC2 documentation

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 Fly.io if

  • You need global deployment.
  • You work on Web, API, Self-hosted.
  • You also want docker support.

Questions people ask

Is AWS CloudFormation or Fly.io better?
It depends on the job. AWS CloudFormation fits recreating identical dev, staging and production environments on AWS; Fly.io fits deploying containerised applications close to users across regions. AWS CloudFormation starts at Free and Fly.io at $29/month.
Which is cheaper, AWS CloudFormation or Fly.io?
AWS CloudFormation has a free tier; the other does not. Paid plans start at Free for AWS CloudFormation and $29/month for Fly.io.
Does AWS CloudFormation or Fly.io run on more platforms?
AWS CloudFormation runs on Web, Linux, macOS, Windows. Fly.io runs on Web, API, Self-hosted.
Can I use AWS CloudFormation for free?
Yes. AWS CloudFormation has a free tier, so you can try it without paying. Fly.io starts at $29/month.
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 Fly.io is typically brought in for.
What can AWS CloudFormation do that Fly.io cannot?
AWS CloudFormation covers Stacks and templates, Change sets, Drift detection, StackSets. Fly.io covers Global deployment, Docker support, Postgres databases, Redis support.

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.

Fly.io: Is there a free tier for Fly.io?

Fly.io does not advertise a free tier. The base plan is pay-as-you-go with usage-based pricing for Micro VMs and persistent storage. All users get FlyCTL CLI, unlimited organizations, private networking, SSO, ACLs, and scoped tokens.

Source
AWS CloudFormation: CloudFormation or Terraform?

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

Fly.io: How much does Fly.io Serious Support cost?

Serious Support costs 29 USD per month and provides access to a dedicated engineering team while maintaining all pay-as-you-go features for Micro VMs and storage.

Source
AWS CloudFormation: How does CDK relate?

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

Fly.io: What does Fly.io Compliance Package include?

The Compliance Package is 99 USD per month and includes HIPAA compliance, BAAs, and SOC2 documentation for organizations requiring compliance certifications.

Source
Fly.io: Does Fly.io offer discounts for upfront commitment?

Yes, Fly.io offers Machine Reservation Blocks with 40% discount on machine usage. This requires upfront payment but applies savings on infrastructure costs.

Source
Share

Related pages

Other head to heads