Processing, Storing, and Querying Sensor Data on AWS Cloud
In the previous chapter, we successfully instructed ChatGPT in creating an MQTT publish topic and a JSON-format payload in ESP32, which then delivered the serialized data to AWS IoT Core. Starting from this chapter, we will use additional AWS services. These will allow us to process abnormal events, trigger corresponding email alerts, and store, transform, sort, and query all the received sensor data.
By the end of this chapter, you will have acquired the necessary skills to configure a variety of other AWS services to process, store, and query the collected sensor data. This will allow you to carry out a range of critical tasks that are routinely employed in the context of commercial deployment.
In this chapter, we’re going to cover the following main topics:
- Creating a customer-managed policy
- Task 1 – abnormal event process
- Task 2 – data storage and querying