Overview
The Rootly Edge Connector is a lightweight agent that runs in your infrastructure to securely integrate with internal systems. This guide covers installation, configuration, and deployment for production environments.Prerequisites
Before installing the Edge Connector, ensure you have:- Operating System: Linux (systemd-based distributions recommended)
- Network Access: Outbound HTTPS to
rec.rootly.com(port 443) - API Key: Edge Connector API key from Rootly (see Getting Started)
- Permissions: Root or sudo access for system installation
The Edge Connector only requires outbound network access. No inbound firewall rules are needed.
Installation Methods
Choose one of the following installation methods based on your environment:Option 1: Homebrew (Recommended for macOS/Linux)
Option 2: Go Install
If you have Go 1.24+ installed:Option 3: Build from Source
Option 4: Pre-built Binaries
For enterprise customers with access to private releases:Contact support@rootly.com for access to pre-built binaries and download credentials.
Quick Start (Development)
For testing and development, run the Edge Connector directly:1. Create Configuration Files
config.yml:2. Set API Key
3. Run the Connector
Production Installation (Linux/systemd)
For production deployments, install the Edge Connector as a systemd service.Step 1: Create System User
Create a dedicated user for the Edge Connector:Step 2: Create Directories
Set up the directory structure:Step 3: Install Binary
Copy the binary to the installation directory. The binary location depends on your installation method:Step 4: Create Configuration
Create your configuration files in/etc/rootly-edge-connector/:
/etc/rootly-edge-connector/config.yml:
/etc/rootly-edge-connector/actions.yml:
Step 5: Create Environment File
Store the API key and sensitive values securely:Step 6: Set Permissions
Secure the files with appropriate permissions:Step 7: Create Systemd Service
Create/etc/systemd/system/rootly-edge-connector.service:
Step 8: Enable and Start Service
Configuration Reference
config.yml
actions.yml
See the Action Configuration guide for detailed action syntax.Management Commands
Systemd Service Control
Viewing Logs
Checking Metrics
If metrics are enabled (default port 9090):Updating
Update Binary
Update Configuration
Docker Deployment
For containerized environments: Dockerfile:Troubleshooting
Connector Won’t Start
Check configuration syntax:API Connection Issues
Test network connectivity:Actions Not Executing
Check action registration:High Memory/CPU Usage
Check poll interval:- Increase
poller.polling_wait_interval_msin config.yml (e.g., from 5000 to 30000)
- Ensure actions complete within their timeout values
- Check for hung processes
Security Best Practices
1. Run as Dedicated User
Always run the Edge Connector as a non-root user with minimal privileges.2. Protect Sensitive Files
3. Network Isolation
- Run on a dedicated or isolated host
- Restrict outbound connections to rec.rootly.com only (if using firewall)
- Do not expose metrics port publicly
4. Audit Scripts
- Review all scripts before adding to actions.yml
- Use version control for scripts
- Implement pull request approval process
5. Rotate API Keys
- Rotate API keys periodically (e.g., quarterly)
- Use different keys for dev/staging/production
- Revoke old keys after rotation
6. Monitor Logs
- Set up log aggregation (e.g., to ELK, Splunk)
- Alert on errors and failures
- Review execution logs regularly
Next Steps
- Configure Actions for your use cases
- Learn Template Syntax for dynamic values
- Review Event Examples for payload structures
- See the main Edge Connectors documentation for architecture details