AWS Iot - Vending Machine
AWS Iot - Vending Machine
AWS Iot - Vending Machine
You can use the AWS IoT to communicate with Vending Machines through wifi
module with IAM credentials.
Background Information
In order to ensure the secured communication between IoT devices and AWS IoT
Core, Devices may use X.509 certificates to connect to AWS IoT using TLS mutual
authentication protocols. AWS Cloud security mechanisms protect data as it moves
between AWS IoT and other devices or AWS services.
This mutual TLS authentication mode requires that a device certificate meets either
of the following two conditions:
1. The certificate used on the IoT device is issued by AWS IoT Core
2. The CA certificate which is used to sign IoT device certificate is pre-imported
into a customer’s AWS account and associated with their AWS IoT Core
environment.
Implementation Methodology
The entire implementation can be divided into three modules: Client Endpoint, AWS
IoT Core and Vending Machine.
Client Endpoint:
Taking the drugs data to process.
Uses database, like MySQL, to store information such as the device ID,
location, drug request information and drug dispense information.
IoT Core:
Response to create things, Polices, and certificates.
Response of communicating with Vending Machine through mqtt protocol to
publish and subscribe the data.