Changes

no edit summary
Line 8: Line 8:     
* An AWS account
 
* An AWS account
* A router from the RUT2xx, RUT9xx or RUTXxx series
+
* A router from the RUT2xx or RUT9xx or RUTXxx series
 
* A computer with mosquitto application (optional)
 
* A computer with mosquitto application (optional)
   Line 22: Line 22:     
=== Certificate Handling ===
 
=== Certificate Handling ===
You will be prompted to download the certificates, those will be used by Publishers and Subscribers to connect to your AWS MQTT Broker, download the "Device certificate",  "Private key file,  "Public key file" and "Amazon Root CA 1".
+
Certificates are used by Publishers and Subscribers to connect to your AWS MQTT Broker.
 +
 
 +
You will be prompted to download the certificates, download the "Device certificate",  "Private key file,  "Public key file" and "Amazon Root CA 1".
 
[[File:Image985.png|none|thumb|478x478px]]
 
[[File:Image985.png|none|thumb|478x478px]]
   Line 29: Line 31:     
=== Setting up policies ===
 
=== Setting up policies ===
 +
The policies are needed for allowing incoming data into AWS.
 +
 
Go back to the AWS IoT HuB, open the "Secure" tab and click on "Policies"
 
Go back to the AWS IoT HuB, open the "Secure" tab and click on "Policies"
 
[[File:Image8754.png|none|thumb|523x523px]]
 
[[File:Image8754.png|none|thumb|523x523px]]
   −
Do the following procedure: Click on "Create policy" -> Give it a name
+
Do the following procedure: Click on "Create policy" -> Give it a name -> Policy effect: allow -> Policy action: * -> Policy resource: *-> Create
 +
[[File:Image854.png|none|thumb|799x799px]]
 +
Then, on the same "Secure" tab, click on certificates. There you will see one certificate, the one you've created, select it by checking the checkbox, then go to "Actions", and click on "Attach policy".
 +
[[File:Image5422.png|none|thumb|807x807px]]
 +
Then select the policy you've created previously, and click on "Attach policies"
 +
[[File:Image471.png|none|thumb|479x479px]]
 +
 
 +
=== Getting your endpoint ===
 +
The endpoint is the host address of your MQTT Broker, where Publishers and Subscribers will connect to.
 +
 
 +
You can find it into the "Settings" tab, copy and save it somewhere.
 +
[[File:Image4785.png|none|thumb|405x405px]]
 +
With that, your MQTT Broker is all setup, and you can start setting up your RUT router as a Publisher.

Navigation menu