Alexa Voice Service (AVS) Integration for AWS IoT - AWS IoT Core

Alexa Voice Service (AVS) Integration for AWS IoT

Alexa Voice Service (AVS) Integration for AWS IoT is a new feature that cost-effectively brings Alexa Voice to any connected device without incurring messaging costs. AVS for AWS IoT reduces the cost and complexity of integrating Alexa. This feature leverages AWS IoT to offload intensive computational and memory audio tasks from the device to the cloud. Because of the resulting reduction in the engineering bill of materials (eBoM) cost, device makers can now cost-effectively bring Alexa to resource-constrained IoT devices and make it possible for consumers to talk directly to Alexa in parts of their home, office, or hotel rooms for an ambient experience.

Currently, smart home IoT devices are built with low-cost microcontrollers (MCU) that have limited memory to run real-time operating systems. Previously, AVS solutions for Alexa built-in products required expensive application processor-based devices with more than 50 MB memory running on Linux or Android. These expensive hardware requirements made it cost-prohibitive to integrate Alexa Voice on resource-constrained IoT devices. AVS for AWS IoT enables Alexa built-in functionality on MCUs, such as the Arm Cortex-M series processors with less than 1 MB embedded RAM. To do so, AVS offloads memory and compute tasks to a virtual Alexa built-in device in the cloud. This reduces eBoM cost by up to 50 percent.

For more information about the Arm Cortex-M series processors, see Arm or Wikipedia. For more information about hardware requirements for Alexa built-in products, see Sizing Up CPU, Memory, and Storage for Your Alexa Built-in Device on the Amazon Alexa developer portal.


AVS for AWS IoT is available in all AWS Regions where AWS IoT is available except in the China (Beijing and Ningxia) Regions. For the current list of AWS Regions, see the AWS Region Table.

AVS for AWS IoT has three components:

  • A set of reserved MQTT topics to transfer audio messages between Alexa enabled devices and AVS.

  • A virtual Alexa enabled device in the cloud that shifts tasks related to media retrieval, audio decoding, audio mixing, and state management from the physical device to the virtual device.

  • A set of APIs that support receiving and sending messages over the reserved topics, interfacing with the device microphone and speaker, and managing device state.

The following diagram illustrates how these components work together. It also demonstrates how device makers use the Login with Amazon to service to authenticate AVS.

            The companion mobile app uses the Login with Amazon service to authenticate to the Alexa Voice service 
            through the Alexa Voice service registration endpoint. The Alexa Voice service sends MQTT messages 
            to an Alexa enabled device through AWS IoT. AWS IoT sends these messages through MQTT topics that are reserved for Alexa.

Device manufacturers have two options to get started with AVS Integration for AWS IoT .

  • Development kits – Development kits launched by our partners make it easy to get started. The NXP i.MX RT 106 A, Qualcomm Home Hub 100 Development Kit for Amazon AVS, and STM32 STEVAL-VOICE-UI are some of the kits available on the market. You can find them on Development Kits for AVS. The kits include out-of-the box connectivity to AWS IoT, AVS qualified Audio Algorithms for Far-Field voice pickup, Echo Cancellation, Alexa Wake Word, and AVS for AWS IoT application code. You can use the feature application code to quickly prototype a device and port the implementation to your chosen MCU design for testing and device production when you're ready.

  • Custom device-side application code – Developers can also write a custom AVS for AWS IoT application by using the publicly available API. Documentation for this API is available on the AVS developer page. You can download the FreeRTOS and AWS IoT Device SDK from the FreeRTOS console ( or GitHub.

To see an example of how to get started with a development kit, see Getting Started with Alexa Voice Service (AVS) Integration for AWS IoT on an NXP Device.