# Production setup

These how-to guides cover common operations to prepare a LXD server setup for production.

## Optimize performance

The `lxd-benchmark` tool measures the time to create instances in different configurations. In some scenarios, deployments can also be configured for increased bandwidth.

* [Benchmark performance](../howto/benchmark_performance/index.html.md)
* [Increase bandwidth](../howto/network_increase_bandwidth/index.html.md)

## Monitor metrics and logs

LXD collects metrics and logs that can be viewed as raw data or used with observability tools like Loki and Grafana.

* [Monitor metrics](../metrics/index.html.md)
* [Monitor security events](../howto/security_events/index.html.md)
* [Send logs to Loki](../howto/logs_loki/index.html.md)
* [Set up Grafana](../howto/grafana/index.html.md)

## Related topics

Explanation:

- [Performance tuning](../explanation/performance_tuning/index.html.md#performance-tuning)

Reference:

- [Provided metrics](../reference/provided_metrics/index.html.md#provided-metrics)
- [Server settings for a LXD production setup](../reference/server_settings/index.html.md#server-settings)
