Configuration Guide - AWS Linux VM
Detailed configuration guide for the Spyderbat AWS Agent installed on an AWS VM
1. Managing the configuration
Locating the Configuration File
/opt/spyderbat/etc/aws-agent.yamlsudo vi /opt/spyderbat/etc/aws-agent.yamlApplying Changes
sudo systemctl restart aws_agent.serviceValidating Configuration
sudo systemctl status aws_agent.service
aws_agent.service - Spyderbat AWS Agent Service
Loaded: loaded (/etc/systemd/system/aws_agent.service; enabled; preset: disabled)
Active: active (running) since Wed 2024-12-11 18:48:48 UTC; 3 weeks 6 days ago
Main PID: 2146512 (aws_agent)
Tasks: 8 (limit: 1112)
Memory: 10.1M
CPU: 4min 7.715s
CGroup: /system.slice/aws_agent.service
├─2146512 /usr/bin/bash /opt/spyderbat/bin/aws_agent
└─2146528 docker run --pull always -v /opt/spyderbat/etc:/etc/aws-config --name aws-agent public.ecr.aws/a6j2k0g1/aws-agent:latest --config /etc/aws->
Jan 08 12:24:30 ip-172-31-86-31.ec2.internal aws_agent[2146528]: 2025-01-08 12:24:30,479:INFO :poller eks/us-west-1 got 2 records
Jan 08 12:24:30 ip-172-31-86-31.ec2.internal aws_agent[2146528]: 2025-01-08 12:24:30,755:INFO :Sending heartbeat and stat update
Jan 08 12:24:31 ip-172-31-86-31.ec2.internal aws_agent[2146528]: 2025-01-08 12:24:31,346:INFO :Session(region_name=None) IAM Poller got 56 roles and their inl>Checking agent logs
2. AWS Credentials Management
1. IAM Instance Profile (Recommended)
2. Environment Variables
3. From Files
3. Configuration Settings
spyderbat_orc_url
spyderbat_orc_urloutfile
outfilecluster_name
cluster_nameaws_account_id
aws_account_idrole_arn
role_arnsend_buffer_size
send_buffer_sizesend_buffer_records_bytes
send_buffer_records_bytessend_buffer_max_delay
send_buffer_max_delaylog_level
log_levelpollers
pollerspolling_interval
polling_intervalregions
regionsExample configuration file
Last updated
Was this helpful?