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?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南