> ## Documentation Index
> Fetch the complete documentation index at: https://inframan.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Optimize

> Pay for what your applications use: lean infrastructures, Spot nodes, autoscaling down to zero, sleep schedules and builds that skip themselves.

Inframan runs in your cloud account, so you pay your cloud provider directly, with no markup on compute. The levers below decide how much of it you use. Several are on by default.

## On by default

| Lever | What it saves |
| - | - |
| [A lean infrastructure](https://inframan.mintlify.site/optimize/lean-infrastructure.md) | A new infrastructure installs only what every application needs. Extras such as Knative are add-ons you choose. |
| [Spot nodes](https://inframan.mintlify.site/optimize/spot.md) | Non-production system, monitoring and build pools run on Spot capacity, and new application pools default to Spot. |
| Zonal clusters | Non-production clusters on Google Cloud run in one zone instead of three. |
| [Node autoscaling](https://inframan.mintlify.site/optimize/autoscaling.md#nodes) | Pools grow with demand and shrink when it drops, to zero for application pools that allow it. |
| [Builds that skip themselves](https://inframan.mintlify.site/optimize/builds.md) | A push rebuilds only the services that changed. |
| No monitoring bill | Metrics, logs and traces are stored in the cluster, not in a paid cloud monitoring service. |
| Idle revisions cost nothing | A revision's workloads are removed as soon as it has no traffic. |
| [Teardown without leftovers](https://inframan.mintlify.site/provision/destroy-infrastructure.md) | Destroying an infrastructure deletes its disks and volumes too. |

## Yours to turn on

> [card] [Scale to zero](https://inframan.mintlify.site/optimize/scale-to-zero.md)
>
> Let web services stop entirely when nobody is using them, and start on the next request.

> [card] [Business hours](https://inframan.mintlify.site/optimize/business-hours.md)
>
> Put a non-production infrastructure to sleep at night and at weekends, or whenever it's idle.

> [card] [Right-size services](https://inframan.mintlify.site/optimize/right-sizing.md)
>
> Compare what each service reserves with what it uses, and set requests and limits to match.

> [card] [Tune builds](https://inframan.mintlify.site/optimize/builds.md)
>
> Choose build machine sizes, and whether a warm build machine waits between builds.

## Where your money goes

The cost of an infrastructure is mostly its nodes. The **Platform** view in **Observability** shows CPU, memory and disk as requested, used and allocatable across the cluster. A large gap between requested and used means nodes you pay for but don't use. See [Right-sizing](https://inframan.mintlify.site/optimize/right-sizing.md).

Your cloud provider's billing console is the source of truth for what you pay. Every resource Inframan creates is in your own account.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.