2
votes

We are using .net core windows form application(client). Mqtt protocol used for communication between client & server. Need to install greengrass in windows machine(server). So need to pass data from server(greengrass) to aws iot core.

So how to install greengrass on windows 10

1
What have you tried? Have you read the AWS docs?hardillb
yes. read with the document docs.aws.amazon.com/greengrass/v1/developerguide/… . but it doesn't contains installation in windows.Noufal P
Also read with this document. docs.aws.amazon.com/greengrass/v1/developerguide/… . Is aws greengrass installed via docker container?Noufal P

1 Answers

3
votes

On Windows you can only run Greengrass in Docker container. But if the only thing you need is MQTT message exchange between your app and AWS IoT Core, you don't need Greengrass at all. I'd even say Greengreass would complicate things more.

Instead write MQTT client extension for your app and it will publish and subscribe directly to AWS IoT Core.

Here you have sample .Net MQTT publisher/subscriber application:

https://github.com/aws-samples/iot-dotnet-publisher-consumer

If you want to built in more functionality here is .NET SDK API reference:

https://docs.aws.amazon.com/sdkfornet/v3/apidocs/Index.html

Happy coding!