---
metadata:
  - name: generator
    content: Diplodoc Platform v5.71.0
alternate:
  - https://ydb.tech/docs/en/devops/deployment-options/ansible/index.md?version=v26.3
  - https://ydb.tech/docs/ru/devops/deployment-options/ansible/index.md?version=v26.3
  - href: https://ydb.tech/docs/en/devops/deployment-options/ansible/index.md?version=v26.3
    type: text/markdown
    title: Markdown version
  - href: https://ydb.tech/docs/en/llms.txt?revision=962422e645f28cc9d83f45f9bb5846da6ee2ca46&version=v26.3
    rel: describedby
sourcePath: en/core/devops/deployment-options/ansible/index.md
---
> **Documentation capabilities:** Search, read sources, and browse this documentation: [agent guide](https://ydb.tech/docs/docs-api/agent/overview?project=ydb-platform--ydb&lang=en&version=v26.3).

> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt?revision=962422e645f28cc9d83f45f9bb5846da6ee2ca46&version=v26.3

# Working With YDB Using Ansible

This section of YDB documentation contains a collection of articles intended for DevOps engineers managing YDB clusters 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=v26.3) 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=v26.3)
* [Deploy Infrastructure for YDB Cluster using Terraform](https://ydb.tech/docs/en/devops/deployment-options/ansible/preparing-vms-with-terraform.md?version=v26.3)
* [Restarting YDB Clusters deployed with Ansible](https://ydb.tech/docs/en/devops/deployment-options/ansible/restart.md?version=v26.3)
* Observability:

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