Connected Home Command and Control on AWS
Publication date: March 24, 2021 (Diagram history)
This reference architecture diagram shows how to integrate Alexa with your connected home devices by using AWS.
Connected Home Command and Control on AWS
-
An Alexa-enabled device running the Alexa Voice Services SDK or an Amazon Echo creates an Alexa invocation.
-
The Alexa skill uses AWS Lambda as its backend logic. Amazon API Gateway validates authorization and access control for the Alexa skill before routing data to the correct Skill Handler.
-
Amazon DynamoDB holds user authorization data that associates your users to their skill and devices while API Gateway verifies whether the request should be accepted.
-
With AWS IoT Core, you can connect devices to the cloud. AWS IoT Core sends and receives updates based on Alexa invocations.
-
Each Alexa invocation triggers an AWS IoT rule, which evaluates each invocation and routes the message to other AWS services.
-
Each Alexa invocation triggers a message to the AWS IoT Device Shadow. The Shadow service then sends a message to the device with settings that need to be updated to match the Alexa request.
-
AWS IoT Core securely sends IoT data to the devices that need to take action based on the Alexa command.
-
In addition to commands, Alexa can receive device data updates that happen locally. Your devices can send data to AWS IoT Core by using AWS IoT SDK, AWS IoT Greengrass, or Amazon FreeRTOS.
-
The devices send messages to AWS IoT Core, which uses an AWS IoT rule to write data to Amazon Kinesis Data Streams.
-
Kinesis Data Streams delivers real-time data. Amazon Managed Service for Apache Flink, Spark (Amazon EMR), Amazon EC2, Lambda, and other services extract data for processing.
-
The Lambda function invokes the proactive notifications interface for the Alexa Voice Service (AVS). This gives you a visual or audio indication that new content is available from an Alexa domain or an enabled Alexa skill.
Further reading
For additional information, refer to
Diagram history
To be notified about updates to this reference architecture diagram, subscribe to the RSS feed.
| Change | Description | Date |
|---|---|---|
Initial publication | Reference architecture diagram first published. | March 24, 2021 |
Note
To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.