I will present a sample approach to reduce the AWS infrastructure costs for telemetry ingest.
I will also help you understand the output of the AWS Pricing Calculator and AWS infrastructure cost factors.
Sample scenario:
We have 100 devices constantly connected to the AWS IoT Core.
A single device sends 10 KB of telemetry data every 5 seconds.
Our task is to deliver telemetry data to S3 Bucket at a minimal cost.
The first step is to send telemetry data from our devices to the AWS IoT Core.
To reduce the telemetry transfer costs I suggest using the Basic Ingest. This way we can avoid the AWS IoT Core messaging costs.
Important: devices and applications can not subscribe to Basic Ingest reserved topics! We need to use the IoT Rule to handle received messages.
We use Kinesis Data Firehose to buffer telemetry messages received by the IoT Core before writing them to the S3 Bucket.
Kinesis Data Firehose writes buffered data to S3 Bucket every 900 seconds. This way we reduce the number of S3 API invocations.
In this simplified example I wanted to demonstrate the importance of careful solution design. Sometimes the “simplest design” is not the best/cheapest one.
Pricing estimations are not easy and require knowledge of cost factors related to AWS services. Please mind that these kinds of estimations are never accurate, but they help to define the order of magnitude of infrastructure cost.
The same business case can be implemented using multiple different solutions, the cost estimation gives additional data to make an informed decision.
Check my blog post for additional details: www.thingrex.com/iot_ingest_c...
Support quality content❤️ Donate💰 www.thingrex.com/support/
#iot #internetofthings #aws #design
Негізгі бет Ғылым және технология How to reduce the AWS infrastructure costs for telemetry ingest in IoT project.
Пікірлер: 6