Using Amazon SQS with AWS Lambda FunctionsThe IoT scenario from my last post is expanded here to use an SQS queue in between the AWS IoT Rules engine and the Lambda function used to write inbound sensor data to the PostgreSQL database. This decouples the Rules engine and the Lambda function, allowing for flexibility and resiliency when […] “Using Amazon SQS with AWS Lambda Functions” |
Tag: Python
Using AWS Lambda functions to write to Amazon RDSIn my last post I implemented an AWS IoT scenario that used an IoT rule to write to DynamoDB. Here we change that rule to one that instead uses a Python Lambda function to write to a database on an Amazon RDS for PostgreSQL instance. […] “Using AWS Lambda functions to write to Amazon RDS” |
Connecting to AWS IoT Core using Python and MQTTEclipse Paho is an open source implementation of the MQTT publish/subscribe messaging protocol that’s frequently used within IoT applications. Here it’s used to send messages from a Python 3 device client to AWS IoT Core, triggering an IoT Core rule that inserts the message into an AWS DynamoDB […] “Connecting to AWS IoT Core using Python and MQTT” |