Skip to content

Costs and right-sizing

See what your servers cost and what your providers billed, set a budget, and size them to what they actually use.

1Costs

Infrastructure → Costs lists each server’s monthly price from your provider, its recent CPU and the projects on it, with totals.

2Actual bills

For DigitalOcean, Vultr, Linode, Lightsail and EC2 credentials, Costs also shows what the provider actually charged: last month’s invoice beside the estimate from list prices, and this month so far. They’re read daily, or when you choose Check prices now. The credential needs billing read access (for Lightsail and EC2, an AWS key allowed ce:GetCostAndUsage); if it hasn’t, Costs says so. Invoices cover everything in the provider account, such as bandwidth, volumes and backups, so they’re usually above the estimate. Hetzner has no billing API.

3Budget

Set a monthly budget there to be told when your servers go over it.

4Snapshots

On a server’s Settings tab, tick Snapshot before risky changes (DigitalOcean, Hetzner, Vultr, Linode, Lightsail, EC2, Compute Engine and Azure servers). A provider snapshot is then taken before updates are installed, security fixes run or Node.js changes, and the three newest are kept; restore one from your provider’s dashboard if a change goes wrong. Take a snapshot now takes one straight away. Your provider charges for the storage.

5Disk clean-up

On a server’s Overview tab, under Diagnostics, choose Measure the disk to see how much space old releases, old logs, package caches, unused Docker images and old temporary files take, then Clear any of them. The live release and the releases each website keeps stay, and logs from the last two weeks stay.

6Right-sizing

Once a server has a few days of readings, Costs suggests a smaller size when even its busiest 5% of the time leaves most of it idle (with the monthly saving), or a bigger one when it runs hot. Suggestions keep headroom: at most 60% CPU and 70% memory at the same load. Resize in your provider’s dashboard.

Still stuck?Email us, or send feedback from inside the app.