- Newest
- Most votes
- Most comments
Hi, you can find guidance in the Configure the AWS IoT Greengrass Core software documentation:
To configure a network proxy, create a deployment for the aws.greengrass.Nucleus component that merges the following configuration update. This configuration update contains the networkProxy object.
{ "networkProxy": { "noProxyAddresses": "http://192.168.0.1,www.example.com", "proxy": { "url": "https://my-proxy-server:1100", "username": "Mary_Major", "password": "pass@word1357" } } }
Thank you for you reply. I had seen that explanation in the doc, but what I do not understand is how to get that done on the core device itself. I could use the CLI with an --update-config but what do I use for recipeDir and artifactDir when the nucleus component has been deployed by fleet deployment.
I should have been more clear on what I wanted. I want the Proxy configuration to be updated programmatically by a component running on the device.
I found out about GetConfiguration/UpdateConfiguration but whilst I can get the configuration of aws.greengrass.Nucleus programmatically, I can seem to be able to update it. Is it possible?
I could use AWS CLI through a shell sub-process, but that command requires an artifact directory and I can't seem to find a way to set that.
Help please.
I also have this issue - how can I set the proxy settings locally without a cloud connection?
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
The correct answer is below. But one quick note: Nucleus does not read from effectiveConfig.yaml. It is only written to. The way to change Nucleus behavior is by updating configuration via a deployment.