---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ydb.tech/docs/en/devops/deployment-options/ansible.md?version=main
  - https://ydb.tech/docs/ru/devops/deployment-options/ansible.md?version=main
sourcePath: en/core/devops/deployment-options/ansible/index.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

# Working With YDB Using Ansible

This section of YDB documentation contains a collection of articles intended for [cluster administration](https://ydb.tech/docs/en/devops/index.md?version=main) using [Ansible](https://www.ansible.com/). This is the recommended approach to running production YDB clusters directly on virtual machines or bare metal. It is recommended to use [Kubernetes](https://ydb.tech/docs/en/devops/deployment-options/kubernetes/index.md?version=main) instead of Ansible for containerized environments.

The key articles to get started with this section:

* [Deploying a YDB cluster with Ansible](https://ydb.tech/docs/en/devops/deployment-options/ansible/initial-deployment/index.md?version=main)
* [Deploy Infrastructure for YDB Cluster using Terraform](https://ydb.tech/docs/en/devops/deployment-options/ansible/preparing-vms-with-terraform.md?version=main)
* [Restarting YDB Clusters deployed with Ansible](https://ydb.tech/docs/en/devops/deployment-options/ansible/restart.md?version=main)
* Observability:

  * [Logging on Clusters Deployed with Ansible](https://ydb.tech/docs/en/devops/deployment-options/ansible/observability/logging.md?version=main)
