Can Greengrass use a Lambda in the Core if needed?

0

I have an AWS Lambda running on my AWS Greengrass which is the same Lambda I have in the AWS Lambda Core. My question is whether or not I can use the AWS Core to scale my edge capacity horizontally if needed so.

My application is a machine learning application that runs on Greengrass in the edge inside an on-premise IoT server. Can I use Greengrass to forward the request/streams of data to the AWS core so it can use the same Lambda in the Core when the edge capacity is max out?

demandé il y a 2 ans183 vues
1 réponse
0

Hi jaimedantas,

Could you tell us a little more about your use case and setup? A lambda function running on a Greengrass Core device can be made on-demand which runs when it receives work items and Greengrass runs multiple instances for it if there are more work items to be processed simultaneously. If your scale can be easily managed by the hardware for your IoT edge server(Greengrass Core), this will be may be sufficient for you. https://docs.aws.amazon.com/greengrass/v2/developerguide/import-lambda-function-console.html
Greengrass also provides the aws.greengrass.StreamManager component for data streaming use cases which you can use to stream data to cloud https://docs.aws.amazon.com/greengrass/v2/developerguide/stream-manager-component.html.

Scaling lambda function horizontally in cloud when a single Greengrass Core device cannot handle the workload is not supported natively, but you may be able to route data/messages from the Greengrass device to cloud lambda function on your own or setup multiple Greengrass Cores on the edge to handle high workload.

Thanks,
Shagupta

AWS
répondu il y a 2 ans

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