# 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 %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
