Important
|
Restrictions
Note the following restrictions when installing {agent} on your system:
|
You have a few options for installing and managing an {agent}:
-
Install a {fleet}-managed {agent} (recommended)
With this approach, you install {agent} and use {fleet} in {kib} to define, configure, and manage your agents in a central location.
We recommend using {fleet} management because it makes the management and upgrade of your agents considerably easier.
Refer to [install-fleet-managed-elastic-agent].
-
Install {agent} in standalone mode (advanced users)
With this approach, you install {agent} and manually configure the agent locally on the system where it’s installed. You are responsible for managing and upgrading the agents. This approach is reserved for advanced users only.
Refer to [install-standalone-elastic-agent].
-
Install {agent} in a containerized environment
You can run {agent} inside of a container — either with {fleet-server} or standalone. Docker images for all versions of {agent} are available from the Elastic Docker registry, and we provide deployment manifests for running on Kubernetes.
Refer to:
-
{eck-ref}/k8s-elastic-agent.html[Run {agent} on ECK] — for {eck} users
Important
|
Restrictions in {serverless-short}
If you are using {agent} with {serverless-full}, note these differences from use with {ess} and self-managed {es}:
|
The {agent} resources consumption is influenced by the number of integration and the environment its been running on.
Using our lab environment as an example, we can observe the following resource consumption:
We tested using an AWS m7i.large
instance type with 2 vCPUs, 8.0 GB of memory, and up to 12.5 Gbps of bandwidth. The tests ingested a single log file using both the throughput and scale preset with self monitoring enabled.
These tests are representative of use cases that attempt to ingest data as fast as possible. This does not represent the resource overhead when using {integrations-docs}/endpoint[{elastic-defend}].
Resource |
Throughput |
Scale |
CPU* |
~67% |
~20% |
RSS memory size* |
~280 MB |
~220 MB |
Write network throughput |
~3.5 MB/s |
480 KB/s |
* including all monitoring processes
Adding integrations will increase the memory used by the agent and its processes.
The disk requirements for {agent} vary by operating system and {stack} version. With version 8.14 we have significantly reduced the size of the {agent} binary. Further reductions are planned to be made in future releases.
Operating system | 8.13 | 8.14 | 8.15 |
---|---|---|---|
Linux |
1800 MB |
1018 MB |
1060 MB |
macOS |
1100 MB |
619 MB |
680 MB |
Windows |
891 MB |
504 MB |
500 MB |
During upgrades, double the disk space is required to store the new {agent} binary. After the upgrade completes, the original {agent} is removed from disk to free up the space.