This is used for AWS IOT Greengrass discussions. AWS IoT Greengrass is an Internet of Things (IoT) open source edge runtime and cloud service that helps developers build, deploy, and manage device software. https://aws.amazon.com/greengrass/
Questions tagged [aws-iot-greengrass]
155 questions
0
votes
2 answers
How to send logs generated within code to AWS?
I am trying to send the logs (being generated as a part of my on-premise device and the message being sent or received using devices onboarded on greengrass) to AWS.
How is it possible?
I wanted to check SDKs also but found no documentation stating…

MMA
- 41
- 5
0
votes
0 answers
Ressource consumption when sending data from AWS Greengrass to the AWS Cloud
I'm currently working on a project where we are using AWS Iot Greengrass on an edge device to measure some metrics coming from a machine. We have a Kinesis Analytics application running to detect some anomalies in the data. My problem is that I…

emilio
- 588
- 3
- 12
0
votes
1 answer
How to run components in AWS Greengrass?
In AWS Greengrass Documentation it says you can test components like this
sudo /greengrass/v2/bin/greengrass-cli deployment create \
--recipeDir ~/greengrassv2/recipes \
--artifactDir ~/greengrassv2/artifacts \
--merge…

Jesus Almaral - Hackaprende
- 2,246
- 1
- 24
- 32
0
votes
3 answers
AWS IoT Greengrass v2 does not create greengrass/v2/ folder on my raspberry
I am trying to connect my raspberry pi4 device running raspy OS lite with AWS Iot Greengrass v2 and i do following steps:
From AWS Greengrass console i setup a core device
On my raspberry i install Java 8 runtime
$ sudo apt.get update
$ sudo…

Manuel Santi
- 1,106
- 17
- 46
0
votes
1 answer
Using cffi to call functions of shared library from python
I am calling some c-sdk from python code. This python code is running as lambda on greengrass. I am using cffi to call the function of shared so from python. My lambda (python code) is running as gcc_user but when i print the user in my C code, it…

Himanshu Verma
- 53
- 1
- 8
0
votes
1 answer
Unable to access root.ca.pem file in AWS IoT Greengrass from Raspberry Pi
I am trying to publish a message from a IoT Core which is a Raspberry Pi 4.
import time
from AWSIoTPythonSDK.MQTTLib import AWSIoTMQTTClient
def hello(self,params,packet):
print("Received Message from AWS IoT Core")
print(f"Topic:…

yudhiesh
- 6,383
- 3
- 16
- 49
0
votes
1 answer
Subscribe from a python server to an aws-iot topic
I basically need to send a command to a device from a python server and the device will publish the reply to a topic and I need to catch the reply server side.
To publish from the server to the device I'm using the boto3 iot-data module. But how can…

Pierluigi
- 33
- 6
0
votes
1 answer
Failed to start Greengrass Daemon in Ubuntu 20.04.1 LTS
I am trying to set up AWS IoT Greengrass in my virtual machine Ubuntu 20.04.1 LTS.
I followed the steps here: https://docs.aws.amazon.com/greengrass/latest/developerguide/install-ggc.html
In these 2 commands systemctl start greengrass.service and…

firefighter
- 171
- 1
- 14
0
votes
1 answer
Facing issue while deploying Docker images through AWS-Greengrass Connector Service
BACKGROUND:
We are trying to deploy App as a docker container through AWS-Greengrass Connector Service to the edge device (Running Greengrass core as container in Linux env).
We are configuring the greengrass group connector in cloud for docker app…
0
votes
1 answer
Not able to use additional dependencies in AWS lambda function for python
I am building a lambda function to be deployed in a Greengrass core device which has additional dependencies such as NumPy etc. I have followed the instructions provided in official documentation to do so but not able to do it.
I have created a…

Rahul Gusai
- 701
- 1
- 6
- 11
0
votes
1 answer
What is the difference between memory limit, timeout setting at lambda vs Greengrass lambda configuration?
What is the difference between memory limit, timeout setting at lambda vs Greengrass lambda configuration?
At Lambda:
At Greengrass Lambda configuration:

variable
- 8,262
- 9
- 95
- 215
0
votes
2 answers
How to stop greengrass core?
I have installed greengrass core software and started it via:
sudo tar -xzvf greengrass-OS-architecture-1.11.0.tar.gz -C /
sudo tar -xzvf hash-setup.tar.gz -C /greengrass
cd /greengrass/certs/
sudo wget -O root.ca.pem…

variable
- 8,262
- 9
- 95
- 215
0
votes
1 answer
What is the purpose of having a local only shadow in AWS IoT greengrass?
AWS IoT greengrass works over a local network. This means there is no problem/need for an internet connection. So why is local only shadow concept provided in AWS IoT greengrass?
It makes sense to use local shadow when sync'd with cloud so that when…

variable
- 8,262
- 9
- 95
- 215
0
votes
1 answer
With what context is data sent from a Lambda to AWS IoT core?
We can use a lambda function to connect to AWS IoT Greengrass core and publish messages. For device to receieve msg published by lambda, 2 things need to be satisfied: 1) There needs to be a subscription to the lambda in the greengrass (with…

variable
- 8,262
- 9
- 95
- 215
0
votes
1 answer
For communication from AWS IoT greengrass lambda to AWS IoT Core rules engine, should lambda be configured as a device (thing)?
In order to send data from Greengrass lambda to AWS IoT Core rules engine,we need to create a subscription with source as the Lambda and target as IoT Core.
Should lambda identify itself as an IoT device (thing, with credentials) to the IoT core via…

variable
- 8,262
- 9
- 95
- 215