Datafy should be installed on any nodes or instances with EBS volumes attached that you want Datafy to monitor or manage.
All installations include two parameters:
$VERSION or $HELM_VERSION- The version number of the agent (in EC2) or Helm chart (in K8s) to be installed. For consistent behavior, this should always be specified.
$TOKEN - Security token used for identification, associated with the relevant AWS account. The security token can be generated by an admin through the Datafy dashboard.
If you are installing on an instance where Datafy is already installed, check out how to upgrade
EC2 Instance
Datafy is installed on EC2s as a Docker image. If not already installed on your instance, install Docker before installing Datafy.
Run the following CLI command on your instance to install Datafy:
The install command downloads and runs an install script that ensures your instance is supported by Datafy, and then installs the requested version using Docker.
Check out Deployment Examples for examples how to install Datafy with the deployment tools you already use
Kubernetes Cluster
You can install Datafy using a single line command or with a Helm chart directly.
When installing Autoscaler, make sure that all of the nodes in the relevant cluster or node group are supported.
Helm Chart Installation
Datafy can be installed directly via a Helm chart. See the latest Helm chart documentation for additional installation parameters and versioning.
The Helm chart creates a datafy-installer DaemonSet. The DaemonSet installs the Datafy agent on all nodes in the cluster, and ensures that it is up and running. If the installation fails, Helm will roll back the cluster to the state it was in before the installation began.
1
Add Datafy Repo
2
Install Datafy
Single-Line Installation
If your cluster is running Bottlerocket, use the Helm chart installation above
Validate Installation
You're all set up!
Once you've successfully completed the installation, you can see the utilization of the volumes attached to instances Datafy is installed on in the Datafy dashboard.