> For the complete documentation index, see [llms.txt](https://docs.datafy.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datafy.io/set-up-and-installation/datafy-installation.md).

# Datafy Installation

You can install the Datafy [**AutoScaler**](/readme.md#datafy-autoscaler) directly, or start with the Datafy [**Sensor**](/readme.md#datafy-sensor) and update later on.

{% stepper %}
{% step %}

#### [Configure Permissions](/set-up-and-installation/datafy-installation/permissions-configuration.md)

Datafy requires basic permissions to view the EC2 instances your volumes are attached to, and to control the creation and modification of EBS volumes.
{% endstep %}

{% step %}

#### [Grant Network Access](/set-up-and-installation/datafy-installation/network-access.md)

Network access is required to allow the Datafy agent to communicate with our application’s backend. If access is blocked by default, access to Datafy needs to be whitelisted.
{% endstep %}

{% step %}

#### [Generate a Security Token](/set-up-and-installation/datafy-installation/token-generation.md)

Generate a security token used to identify your account with Datafy's application.
{% endstep %}

{% step %}

#### [Install Sensor or AutoScaler](/set-up-and-installation/datafy-installation/installation.md)

Install Datafy with one command line and zero downtime. It can be installed on an [EC2 instance](/set-up-and-installation/datafy-installation/installation.md#ec2-installation), or on a [K8s cluster](/set-up-and-installation/datafy-installation/installation.md#kubernetes-cluster) using a DaemonSet.
{% endstep %}
{% endstepper %}

{% hint style="success" %}
Datafy supports the following infrastructure:

* EC2 or any K8s cluster (EKS or self-managed)
* Any Linux based OS distribution - Amazon Linux, Ubuntu, and more.

The full list of supported cases can be found [here](/set-up-and-installation/supported-infrastructure.md).
{% endhint %}

{% hint style="info" %}
Prefer to follow along on a throwaway environment first? [My First Autoscaling Volume](/resources/my-first-autoscaling-volume.md) sets one up and walks through installation, activation, grow and shrink end to end.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.datafy.io/set-up-and-installation/datafy-installation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
