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
已提问 4 个月前229 查看次数
1 回答
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
专家
Greg_B
已回答 4 个月前
profile picture
专家
已审核 2 个月前
  • 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?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则