AWS IoT FleetWise Agent Installation

0

Hello AWS people. I want to install the IoT FleetWise agent. I don't want to create and install EC2 with cloudformation, but I want to install it myself.

I checked github and it seems that after running cloud information in the guide, I have to work in the generated ec2.

Is there a way to install an agent other than cloudformation?

mzhyo
asked 2 months ago116 views
1 Answer
0

Hi. You don't have to use CFN. See the instructions here: https://github.com/aws/aws-iot-fleetwise-edge/blob/main/docs/dev-guide/edge-agent-dev-guide.md#getting-started-on-a-development-machine . This takes you through building the agent and running it, either on your own physical machine, or your own EC2 instance.

Also with the FleetWise demo CFN, it installs the edge agent using EC2 instance user data. You may be interested to review the steps here: https://github.com/aws/aws-iot-fleetwise-edge/blob/main/tools/cfn-templates/fwdemo.yml#L128. You could create your own EC2 instance and essentially perform the same steps as the user data.

profile pictureAWS
EXPERT
Greg_B
answered 2 months ago
  • Thank you for your answer. I'm typing commands directly as shown in github. I think the next command is to install FWE. $ sudo ./tools/install-fwe.sh

    But the following error appears. Started FWE #0. Version: 1.1.0, git tag: v1.1.0, git commit sha: daa51bd4f7895f82edf103d4e202f32573264920, Build time: 2024-01-03 04:57:38 Segmentation fault (core dumped) fwe@0.service: Main process exited, code=exited, status=139/n/a fwe@0.service: Failed with result 'exit-code'. fwe@0.service: Scheduled restart job, restart counter is at 5. Stopped FWE #0. fwe@0.service: Start request repeated too quickly. fwe@0.service: Failed with result 'exit-code'. Failed to start FWE #0.

    What should I do?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions