Changes

no edit summary
Line 13: Line 13:     
=== '''Creating a thing''' ===
 
=== '''Creating a thing''' ===
[[File:Image9876.png|alt=|border|class=tlt-border|862x862px]]
+
[[File:Networking rutos configuration examples AWS 001.png]]
    
First off, open the [https://aws.amazon.com/pt/console/ AWS Management Console] and login with your credentials. After that, you will see a screen similar to this:
 
First off, open the [https://aws.amazon.com/pt/console/ AWS Management Console] and login with your credentials. After that, you will see a screen similar to this:
Line 19: Line 19:  
On the search bar on the top, search for "IoT Core", and click on the first search result. You will see a screen like the one below, open the "Manage" section and click on "Things".
 
On the search bar on the top, search for "IoT Core", and click on the first search result. You will see a screen like the one below, open the "Manage" section and click on "Things".
   −
[[File:Image3423432.png|border|class=tlt-border]]
+
[[File:Networking rutos configuration examples AWS 002.png]]
    
Then, do the following procedure to create a Thing: click on the "Create Things" button '''→''' "Create single thing"  '''→''' Give it any name '''→''' "No shadow" '''→'''"Auto-generate a new certificate (recommended)" '''→''' "Create thing".
 
Then, do the following procedure to create a Thing: click on the "Create Things" button '''→''' "Create single thing"  '''→''' Give it any name '''→''' "No shadow" '''→'''"Auto-generate a new certificate (recommended)" '''→''' "Create thing".
Line 26: Line 26:  
Certificates are used by Publishers and Subscribers to connect to your AWS MQTT Broker.
 
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".
+
You will be prompted to download the certificates, download the "Device certificate",  "Private key file,  "Public key file" and "Amazon Root CA 1".[[File:Networking rutos configuration examples AWS 003.png]]
[[File:Image985.png|border|class=tlt-border|478x478px]]
      
Move all the 4 files to a folder on the C:\ drive, so it's easy to locate them. Then, rename them as following: Keep the "AmazonRootCA1.pem" as it is, the file xxxxx.'''pem.crt''' as device_certificate.pem.crt, the file xxxxx-'''private.pem.key''' as private_key.pem.key and the file xxxxx-'''public.pem.key''' as public_key.pem.key. After that, you will have the following:
 
Move all the 4 files to a folder on the C:\ drive, so it's easy to locate them. Then, rename them as following: Keep the "AmazonRootCA1.pem" as it is, the file xxxxx.'''pem.crt''' as device_certificate.pem.crt, the file xxxxx-'''private.pem.key''' as private_key.pem.key and the file xxxxx-'''public.pem.key''' as public_key.pem.key. After that, you will have the following:
   −
[[File:Image874.png|border|class=tlt-border|406x406px]]
+
[[File:Networking rutos configuration examples AWS 004.png]]
    
===Setting up policies===
 
===Setting up policies===
Line 38: Line 37:  
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|border|class=tlt-border|523x523px]]
+
[[File:Networking rutos configuration examples AWS 005.png]]
   −
Do the following procedure: Click on "Create policy" '''→''' Give it a name '''→''' Policy effect: allow '''→''' Policy action: * '''→''' Policy resource: *'''→''' Create[[File:Image854.png|border|class=tlt-border|799x799px]]
+
Do the following procedure: Click on "Create policy" '''→''' Give it a name '''→''' Policy effect: allow '''→''' Policy action: * '''→''' Policy resource: *'''→''' Create.[[File:Networking rutos configuration examples AWS 006.png]]
    
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".
 
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|border|class=tlt-border|807x807px]]
+
[[File:Networking rutos configuration examples AWS 007.png]]
    
Then select the policy you've created previously, and click on "Attach policies"
 
Then select the policy you've created previously, and click on "Attach policies"
   −
[[File:Image471.png|border|class=tlt-border|479x479px]]
+
[[File:Networking rutos configuration examples AWS 008.png]]
    
===Getting your endpoint===
 
===Getting your endpoint===
Line 55: Line 54:  
You can find it into the "Settings" tab, copy and save it.
 
You can find it into the "Settings" tab, copy and save it.
   −
[[File:Image4785.png|border|class=tlt-border|405x405px]]
+
[[File:Networking rutos configuration examples AWS 009.png]]
    
With that, your MQTT Broker is all setup, and you can start setting up your RUT router as a Publisher.
 
With that, your MQTT Broker is all setup, and you can start setting up your RUT router as a Publisher.
Line 78: Line 77:  
Then, you will use the "Data to server" functionality, under "Services" menu.
 
Then, you will use the "Data to server" functionality, under "Services" menu.
   −
[[File:Image451.png|border|class=tlt-border|470x470px]]
+
[[File:Networking rutos configuration examples AWS 010.png]]
    
Click on the "Add" button on the right side of the page, you will see the following menu.
 
Click on the "Add" button on the right side of the page, you will see the following menu.

Navigation menu