Today, there are billions of connected devices in the home, in the office, in factories, on ships and planes, in cars, in oil fields, in agricultural fields – they are everywhere and they are collecting powerful data. Having the ability to stream this data, and analyze it in real-time will be critical to virtually all IoT and AI applications in the future. Customers are using Amazon Kinesis to quickly and reliably stream data from devices into AWS for analytics, and then using Kinesis Analytics and AWS Lambda to instruct those devices what to do next, or to trigger some other action. This whitepaper provides common design patterns for building streaming applications using Amazon Kinesis and other AWS services. It uses a sample use case to demonstrate how you can implement these design patterns.