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
demandé il y a 4 mois229 vues
1 réponse
0
Réponse acceptée

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
répondu il y a 4 mois
profile picture
EXPERT
vérifié il y a 2 mois
  • 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?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions