What are the prerequisites for installing FlagFlow?
FlagFlow supports two storage options for storing its state: etcd (recommended for production) and filesystem storage (suitable for small companies or development).
etcd is the recommended storage engine for production environments, providing distributed, reliable key-value storage with real-time watching capabilities. It's ideal for environments requiring high availability, multiple replicas, and instant synchronization across instances.
Filesystem storage is available as an alternative for small companies without heavy infrastructure requirements
or single-instance deployments. While it can work with replicas, changes have a few milliseconds
delay across instances. When using filesystem storage, you must mount the /data
volume to persist data across container restarts.
FlagFlow has modest hardware requirements, making it suitable for various deployment scenarios from development to production environments.
These requirements scale based on your usage patterns, number of feature flags, and frequency of flag changes. Monitor resource usage and adjust accordingly.
FlagFlow requires specific network configurations and port access for proper operation.
Service | Port | Protocol | Purpose | External Access |
---|---|---|---|---|
FlagFlow | 3000 | HTTP | Web UI and API | Required |
etcd (optional) | 2379 | HTTP | Client connections | Internal only |
etcd (optional) | 2380 | HTTP | Peer communication | Internal only |
Only port 3000 needs external access for FlagFlow's web UI and API. If using etcd, do not expose etcd ports (2379, 2380) to external networks - this would create a significant security vulnerability.
Security Warning: If using etcd, etcd ports should remain internal to your container network or cluster. Exposing them externally allows unauthorized access to your feature flag data and configuration.
Proper security configuration is essential for production FlagFlow deployments.
FlagFlow is tested and supported with the following software versions:
Before proceeding with FlagFlow installation, verify all prerequisites are met:
💡 Tip: For production deployments, consider running through this checklist in your staging environment first to validate the entire installation process.