What are the AWS IoT Core Greengrass components RAM size recommendations?

0

Hello,

The developper guide states that a minimum of 96 MB RAM is required for the AWS IoT Greengrass Core software, but this does not include the components that run on the core device. The RAM requirements for the following components are not specified:

  • aws.greengrass.clientdevices.Auth
  • aws.greengrass.clientdevices.mqtt.Moquette
  • aws.greengrass.clientdevices.mqtt.Bridge
  • aws.greengrass.Cli
  • aws.greengrass.ShadowManager
  • aws.greengrass.clientdevices.IPDetector
  • aws.greengrass.crypto.Pkcs11Provider

The purpose is to use Greengrass as an MQTT gateway and determine the necessary hardware accordingly.

Thank you for your answer.

AMARSTM
已提問 3 個月前檢視次數 96 次
1 個回答
0

Hello,

Thank you for your interest in Greengrass. The RAM usage for these components is not published as it depends very heavily on your actual use case when using these components, particularly the MQTT related components. I would expect that this set of components and the Nucleus would require approximately 250MB of RAM and you can control the maximum usage by setting the jvmOptions in the Nucleus configuration. If you set the maximum Java heap size too low, this can lead to instability or these components failing to operate. My recommendation would be that you deploy all these components, execute a scenario similar to your production use case, and measure the consumption. If the consumption is too high, you can try to set the maximum Java heap size to be smaller.

I'm sorry that I cannot provide specific values, but I hope that this answer helps you a bit.

Regards,

Michael

AWS
專家
已回答 3 個月前

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

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

回答問題指南