Skip to main content

Guidance for Mobile Live Shopping on AWS

Overview

This Guidance demonstrates how you can build a mobile-based live video streaming experience that lets your shoppers stream product demonstrations on their mobile devices. It uses a live video streaming service that is managed by AWS and ideal for delivering low-latency or real-time video on user-generated content platforms. A video converting service is also integrated in this Guidance, which converts media files from their source format into versions that will play back on mobile devices, equipping you to deliver engaging media content at a global scale. 

How it works

These technical details feature an architecture diagram to illustrate how to effectively use this solution. The architecture diagram shows the key components and their interactions, providing an overview of the architecture's structure and functionality step-by-step.

Well-Architected Pillars

The architecture diagram above is an example of a Solution created with Well-Architected best practices in mind. To be fully Well-Architected, you should follow as many Well-Architected best practices as possible.

This Guidance uses DynamoDB and Amazon S3, which can log all control plane and data plane events through AWS CloudTrail. CloudTrail Insights continuously examines management events, helping you analyze and respond to unusual activity.

Read the Operational Excellence whitepaper 

This Guidance uses AWS Identity and Access Management(IAM) authentication through API Gateway and Amazon Cognito to make sure that only administrators can authorize privileged API requests, such as creating, modifying, and deleting channels. Additionally, AWS WAF enhances security by filtering unexpected access-based criteria you define.

Read the Security whitepaper 

This Guidance offers DynamoDB on-demand backup and point-in-time-recovery so that you can back up and restore online. DynamoDB and Amazon S3 use three Availability Zones (AZs) in this Guidance, making this Guidance reliable for AZ-level failure. Additionally, these two services have an object replication feature that makes it easy for you to build disaster recovery for failure in an asynchronous manner.

Read the Reliability whitepaper 

This Guidance uses Amazon IVS and Amazon Chime SDK messaging, which scale automatically to accommodate more than thousands of concurrent users. Additionally, CloudFront uses an edge content delivery network to transfer video on demand to mobile devices quickly.

Read the Performance Efficiency whitepaper 

This Guidance uses a MediaConvert job to transcode video assets for playback when a live stream ends, storing the assets in Amazon S3, which provides cost-optimized storage tiers. Additionally, because this Guidance uses a serverless architecture, you pay only for what you use.

Read the Cost Optimization whitepaper 

This Guidance uses CloudFront and Amazon IVS, which help reduce environmental impact by providing self-managed data planes that facilitate the delivery of high-quality images with low latency and without the need to deploy separate points of presence. Additionally, managed services and automatic scaling features minimize unnecessary resource consumption.

Read the Sustainability whitepaper 

Disclaimer

The sample code; software libraries; command line tools; proofs of concept; templates; or other related technology (including any of the foregoing that are provided by our personnel) is provided to you as AWS Content under the AWS Customer Agreement, or the relevant written agreement between you and AWS (whichever applies). You should not use this AWS Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the AWS Content, such as sample code, as appropriate for production grade use based on your specific quality control practices and standards. Deploying AWS Content may incur AWS charges for creating or using AWS chargeable resources, such as running Amazon EC2 instances or using Amazon S3 storage.