Skip to content

Document rootfs billing for stopped Machines - #2697

Open
kcmartin wants to merge 3 commits into
mainfrom
rootfs-billing
Open

kcmartin wants to merge 3 commits into
mainfrom
rootfs-billing

Conversation

@kcmartin

@kcmartin kcmartin commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Rootfs charges for stopped and suspended Machines start on 1 Feb 2027 (March invoice). This adds the start date, what counts toward rootfs size (uncompressed image plus writes kept while suspended or with persist_rootfs), where to see it (Cost Explorer preview, fly machine status, Machine page), and a cost management tip.

Merge with cache disks (#2655) for the announcement in the week of 7 Dec. Merge #2655 first: this links to /machines/cache-disks.

Sources: Rian's notes in #fly-content (29 Nov), the Cost Explorer preview notice and RootfsProvisioning.rates_starting_at in ui-ex, rootfsUsageSummary in flyctl machine status.

Tracking: https://github.com/superfly/docs-tracking/issues/394

@mintlify

mintlify Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
fly-io 🟢 Ready View Preview Dec 1, 2026, 11:49 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

Comment thread reference/configuration.mdx Resolved
Comment thread about/billing.mdx Outdated

Stopped and suspended Machines are billed based on their root file system (rootfs) usage per second (the time they spend in the `stopped` or `suspended` state) by \$0.15 per GB per month.

A Machine's rootfs size is the uncompressed size of its image, plus any data the Machine wrote on top of the image that's still kept while it's stopped. Writes are normally discarded when a Machine stops, so they only count if you've set [`persist_rootfs`](/reference/configuration#persist_rootfs) to `restart` or `always`. To see a Machine's rootfs size, run `fly machine status <machine-id>` or open the Machine in the dashboard.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Writes are normally discarded when a Machine stops, so they only count if you've set persist_rootfs to restart or always

True, but not for suspended. We keep (and bill for) writes while machines are suspended - the discard only happens on stop.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed in 9a7a3d0: suspended Machines now count their writes, and the discard only applies on stop. I also added a line in the persist_rootfs section suggesting a cache disk for large rebuildable data (c1b1d6e)

@kcmartin
kcmartin marked this pull request as ready for review December 1, 2026 23:49
@kcmartin
kcmartin requested a review from a team as a code owner December 1, 2026 23:49

This branch was successfully deployed

1 active deployment
staging — c1b1d6e2 Deployed Dec 1, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants