- 最新
- 最多得票
- 最多評論
Hi flycast,
my preferred way to experiment with component development in Greengrass is to use Jupyter Lab running as a component in Greengrass. You can use Jupyter Lab community component as a starting point. Don't forget to set the accessControl
configuration according to which Greengrass IPC APIs you want to use.
Once deployed, you need to create an ssh tunnel with the device to forward the remote port on your local machine. Then you can connect to the Jupyter Lab UI on http://localhost:8888
on your workstation.
Once in the Jupyter Lab UI, can interact with the device using Python, but you need first to install the awsiotsdk
using !pip install awsiotsdk
.
Cheers,
Massimiliano
I was interested in trying that out. There is no Jupyter component listed in public components list in deploy. When I looked at deploying Jupyter It didn't make sense to me. I see you are a contributor at github on this. I see the following:
You need to upload both community.greengrass.jupyterlab and community.greengrass.libffi to your account, but you need to include only community.greengrass.jupyterlab in your deployments.
Where do I find the files? I don't see them in the project. Where would I upload them to? Can you point me to a tutorial or something?
Hi flycast,
you find several examples howto develop components in our AWS IoT Greengrass V2 workshop.
Cheers,
Philipp
相關內容
- AWS 官方已更新 9 個月前
Hi, when you say that you started using Jupyter, have you deployed Jupyter as a component (eg using the Jupyter Lab component)?