Connecting MicroPython to AWS IoT using Mosquitto MQTT Relay
Create an IAM policy for the bridge to connect to the IoT Endpoint
Create certificates and keys for connecting to the IoT MQTT Endpoint
List the certificate and copy the ARN in the form of
Attach the policy to the certificate
Download the Amazon root CA certificate
AWS IoT Endpoint
- Every AWS account has a single unique endpoint.
- The endpoint is specific to each AWS account.
- Each AWS account can only have a single endpoint.
- The endpoint is configured by default and does not require any special effort to provision it.
List the IoT MQTT Endpoint using AWS CLI
Configure mosquitto-to-AWS bridge