- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
Hi
Do you have the Greengrass CLI deployed on your device? If yes, you can deploy the correct proxy settings using the CLI. Please take a look at [1].
If not, then you need to uninstall Greengrass from that device and re-install with the correct configuration provided as a yaml file with the --init-config
param. Please take a look at [2].
It is recommended to have http_proxy
in all caps.
could you please clarify the process for working with a proxy normally? Did you read through [3]? Your device should able to operate in a network proxy properly if this doc is followed.
Please reach out if there are other concerns/questions. Thanks!
[1] https://docs.aws.amazon.com/greengrass/v2/developerguide/gg-cli-deployment.html#deployment-create
[2] https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-installer.html
Recipe directory is the only required param for the CLI deployment create command. You need to create a directory on your device and provide its absolute path as the value to this param.
You can skip every other param except the --update-config
in which you need to merge in the correct network config for the component aws.greengrass.Nucleus
. For more info on the config for Nucleus, please take a look at [1].
Greengrass will not inherit the values set in /etc/environment
, you need to set the networkProxy
object explicitly.
I hope this helps! Happy to help if there are further questions!
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 3 anni fa
The greengrass-cli is locally deployed on the device.
If there is a cloud deployment currently on the device, which specifies the incorrect proxy, will a local deployment merge with a new networkProxy setting overwrite the cloud one?
Additional clarification question on the gg cli deployment command: The
deployment create
command -recipeDir and and an --artifactDir argument. Must I specify these for a local deployment? Where can I find these values for the AWS Nucleus component?Regarding 'normal' operation with a proxy, I have read the documentation but I am still unclear on the following:
If the environmental variables, 'HTTP_PROXY' and 'HTTPS_PROXY' are set (at an OS level), in
/etc/environment
, will the Greengrass components inherit those settings, or do they still need the networkProxy object to be explicitly set?