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?

已提問 2 年前檢視次數 194 次
1 個回答
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
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南