Skip to content

3.2.2. Provision Elastic Compute Capacity for IoT Message Processing

ID Priority Best Practice
BP 3.2.2.1 Required Dynamically scale cloud resources with utilization

Architecture Notes - BP 3.2.2.1 - Dynamically scale cloud resources with utilization

The elastic nature of the cloud can be used to increase and decrease resources on demand. Use the ability to increase and decrease cloud resources based on data number of messages and size of messages and number of devices

Recommendation 3.2.2.1.1 - Know the mechanisms that can be used to monitor cloud resource usage and methods to scale the resources

  • Use Amazon CloudWatch Logs to trigger based on rate of data flow to auto-scale cloud resources as needed.
  • Use AWS IoT Rules engine error actions to provision additional cloud resources and message retries as needed.
  • Examine IoT logs for errors in communicating to resources and provision resources based on that data.
  • Use AWS Lambda to automatically scale your application by running code in response to each event.
  • Use automatic scaling where possible. Kinesis Data Streams and Amazon DynamoDB are two services that provide automatic scaling.

Additional Resources

  1. Rules for AWS IoT
  2. Amazon SQS
  3. Building loosely couple applications
Back to top