0

I need lambda function to send the image from S3 to multiple Raspberry pi devices. Whenever there is new version of the picture uploaded in s3, it should trigger the function. and send the uploaded images to Rpi

1 Answer 1

0

There are two ways to achieve it after setting Lambda on S3 trigger:

  • Download the file using aws sdk in the /tmp/ folder. Lambda allows 512 MB storage.
  • Use paramiko to transfer file/s to any number of Raspberry Pi servers.

OR

wget <presigned_url> -O /path/to/folder/

These solutions are based on python to give you an idea, yet you may find paramiko and remote script alternative libraries in other languages as well.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.