Installation¶
Before you begin¶
Before you begin, make sure your environment meets the following specifications.
Specification |
Requirement |
|---|---|
Deployment model |
A single Linux host with Docker Compose (PoC or single-host), or a Kubernetes cluster with Helm (clustered or high-availability). |
Host operating system |
Any Linux distribution that supports the required Docker or Kubernetes versions. |
Container runtime |
Docker Engine (the 29.x line) with Docker Compose 2.0 or later. Or, Kubernetes 1.23 or later with Helm 3.8 or later. |
Shell |
Bash 4 or later. |
Administrative access |
Root or |
BIG-IP integration |
An existing API virtual server on a BIG-IP, with connectivity from BIG-IP to the host on TCP 6514. |
Management access |
Administrative access to the API Security Local Edition UI on TCP 8000. |
Internet connectivity |
None required. API Security Local Edition operates fully within your environment (air-gapped). |
Note
Supported platform versions are listed in the Release Notes.
Sizing guidance¶
Size the deployment host to the environment you expect to monitor. The primary scaling factors are the number of monitored hosts/domains and the number of discovered API endpoints. Your disk storage should size appropriately based on your data retention window. The following tiers are a starting point:
Tier |
Monitored hosts/domains |
vCPU |
RAM |
Storage |
API endpoints |
Sizing/planning notes |
|---|---|---|---|---|---|---|
Small (PoC/lab) |
A few hosts |
2 vCPU |
4 GB |
20 GB SSD |
Less than or equal to 1,000 |
Light demo or small PoC. Suitable for functional validation and small environments. |
Medium |
Up to 50 |
4 vCPU |
16 GB |
40 GB SSD |
Less than or equal to 40,000 |
Recommended baseline for production with moderate, steady traffic. |
Large |
100 or more |
8 vCPU |
32 GB |
100 GB or more SSD |
40,000 or more |
Large or multi BIG-IP sites. The same profile covers denser environments. Add disk storage for longer retention and larger inventories. |
Note
These values include the base footprint of the service (approximately 1.5 GB RAM and 4 GB disk with no load). You should size your storage for your data retention needs. For a recommendation tailored to your environment and retention requirements, contact your F5 Sales representative or Solutions Engineer.
Installation package structure¶
After downloading the release package (Docker Compose or Kubernetes), extract it:
tar -xvzf <release-package>.tar.gz
cd <release-package>
The folder contains install_local.sh, the Docker Compose or Helm configuration, documentation, and a demo folder.
Install on Docker Compose¶
Use the Docker Compose package for single-host deployments, laboratory environments, and proof-of-concept usage.
View available options¶
To view available options, run command:
./install_local.sh --help
Option |
Description |
|---|---|
|
Use default mode (autoconfiguration) |
|
Stop the running environment |
|
Remove containers, images, and volumes |
|
Upgrade an existing installation |
|
Preview the upgrade (with |
|
Show the help message |
Perform a default installation¶
To perform a default installation, run command:
./install_local.sh --default
The script prints the host’s usable IP addresses when it finishes.
Install on Kubernetes (Helm)¶
Deploy the Helm chart from the package, configure persistent storage and resource requests, expose the UI service through an ingress or load balancer, and validate pod health with kubectl get pods. See the package README for Helm values.
Validate the installation¶
Open https://<host-ip>:8000, sign in with the default credentials (admin / admin), and change the password when prompted. After BIG-IP integration, confirm ingestion counters increase and endpoints appear.
Upgrade¶
The --upgrade and --upgrade --dry-run command options apply only to Docker Compose. For Kubernetes, follow the Helm package procedure.
./install_local.sh --upgrade --dry-run
./install_local.sh --upgrade
Uninstall¶
./install_local.sh --stop # stop, keep data
./install_local.sh --purge # remove containers, images, and volumes
Warning
The --purge option permanently deletes all local data, including discovered endpoints, findings, audit records, and configuration.