Secure IOT with AWS and Hornbill ESP32 Revision as of 19:11, 8 April 2017 by Explorer
In this tutorial we will discuss how to configure the AWS for amazon user account and later we will see how to setup a new things and generate certificates to communicate with your IOT device using AWS MQTT services.
AWS User Account
For using the AWS services you need to have a user account and login using the AWS Login link
Existing users can directly login and directly jump to next. New users should register first and link the credit card for payments. Basic plan is free for first Year, other plans are chargeable. Check this link for available plans.
Creating a new thing
Generate certificates for new thing
Click on the activate button to activate the certificates and download the certificate,private key and root CA as name them as below.
Define and Attach Policies
Verify the Attached Policies
Testing Using MQTT Fx tool
As we have a test thing and also the certificates assigned with required policies. We can test it using the MQTT Fx broker tool. Lets list all the info we had while creating the thing and it certificates.
Broker Address / HOST Name: a3jzsmkecjw9hn.iot.us-west-2.amazonaws.com
Broker Port : 8883