How to Deploy a Lambda function as a Component on an Edge Machine using AWS Greengrass v2

Step 1 — Create a Lambda Function.

pip install loguru -t .

Step 2 — Creating versions and alias for our Lambda Function.

Step 3 — Make a Component in AWS Greengrass using this Lambda Function.

Step 4 — Deploy a Lambda function as a Component on an Edge Machine using AWS Greengrass v2.

sudo -i
// Enter your password
cd /greengrass/v2/logs/
ls -lrt
more <log file name>

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store