FleetWise Edge agent controls
When running in FleetWise Edge mode, the simulation service manages per-vehicle FWE agent Docker containers. The Fleet Manager UI provides controls to start, stop, and monitor these agents.
Starting and stopping agents
From the simulation panel in the Fleet Manager UI, operators can:
-
Select telemetry mode — Choose between "MQTT Direct" (JSON telemetry published directly to IoT Core) and "FleetWise Edge" (CAN signals collected by FWE agent, encoded as protobuf). The FWE mode description notes that Docker is required.
-
Start an agent — The simulation service calls the
/api/agent/startendpoint with the vehicle ID. The service:-
Resolves the vehicle’s VIN from DynamoDB
-
Retrieves the vehicle’s IoT certificate
-
Generates FWE persistency files (static config, decoder manifest, collection schemes)
-
Starts a Docker container named
fwe-{vin}with the FWE agent image -
Configures a virtual CAN bus interface (
vcan0) inside the container -
The agent connects to IoT Core, publishes a checkin, receives campaigns, and begins collecting
-
-
Stop an agent — Stops and removes the Docker container for the specified vehicle
-
View agent status — The
/api/agent/statusendpoint returns all running FWE containers with their VINs, uptime, and campaign sync state -
Stream agent logs — The
/api/agent/logs/{vin}endpoint streams the FWE container’s stdout, showing checkin messages, scheme receipts, and signal collection activity
Cloud simulation with FWE
In cloud simulation mode, the FWE agent and simulator run as separate EC2-backed ECS tasks on the same host:
-
The
fwe-simulatortask generates CAN frames and writes them to the assigned virtual CAN interface (e.g.,vcan0) -
The
fwe-agenttask reads from the same vcan interface, collects signals per campaign, and uploads protobuf to IoT Core -
Each vehicle gets a unique vcan interface to prevent cross-contamination between simultaneous simulations
-
The simulation Lambda assigns vcan interfaces using
_next_vcan_index()and passes the interface name to both tasks -
The FWE agent health check uses
pgrep aws-iot-fleetwise-edge— once healthy, the simulator task starts