Amazon Web Services for IoT Devices (AWS IoT)
Hossam Fattah · 2021
Amazon Web Services (AWS) is the cloud offered by Amazon. Amazon cloud is available worldwide and in different regions. AWS offers MQTT service where the MQTT server is hosted in AWS. NB-IoT device, acting as MQTT client, can communicate with the AWS. AWS IoT connects to IoT device by authenticating and providing end-to-end encryption to connected devices. Arduino sketches transmit and receive data to cloud after performing authentication with the cloud and data is encrypted in both directions. AWS IoT uses asymmetric cryptography. Asymmetric cryptography uses a pair of keys, public and private keys, to enable messages to be securely transferred. A message can be encrypted using a public key and the only way to decrypt it is to use the corresponding private key. DynamoDB is a database that is best suited for NB-IoT devices. DynamoDB is a key/value database which means that each record in the table consists of a key and value pairs.