Guidance for Livestreams Hosted with Digital Humans on AWS
Overview
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.
Deploy with confidence
Ready to deploy? Review the sample code on GitHub for detailed deployment instructions to deploy as-is or customize to fit your needs.
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.
Operational Excellence
CloudWatch continually monitors the steps and performance of Lambda and API Gateway. This helps you to know when steps are blocked or have the potential to be blocked in addition to which services are causing a delay in response. Monitoring through CloudWatch helps you optimize your system over time.
Security
AWS Identity and Access Management (IAM) access replaces credential access between services to improve system security. With IAM, you should limit role access to the minimum permissions within the system without storing any credential information in the code and configuration. Amazon S3 blocks public access, and you can access S3 buckets with Amazon CloudFront , which protects unauthorized access from public networks.
Reliability
API Gateway, Lambda, and DynamoDB support a serverless architecture. Serverless services can automatically scale horizontally based on the actual workload. This improves reliability by reducing the chance of application failure within the livestream system.
Performance Efficiency
Amazon IVS helps the system provide high-performance service to the end user. Amazon IVS achieves this through real-time streaming with latency that can be under 300 milliseconds from host to viewer, allowing you to create an engaging live video experience. Amazon IVS also provides high concurrency, allowing digital human livestream audiences of up to 10,000 viewers.
Cost Optimization
DynamoDB has a Time to Live (TTL) feature that can delete expired items from your DynamoDB table, reducing overall costs. For Lambda, your cost is based on the amount of time your code runs. You can also use timeout features with Lambda to minimize ephemeral storage.
Sustainability
Amazon S3 provides lifecycle configuration, a set of rules that define actions for Amazon S3 to apply to a group of objects. You can set an “expiration” feature, which configures Amazon S3 to automate the removal of retired data, reducing storage resources and effectively minimizing your workload’s environmental impact.
Disclaimer
Did you find what you were looking for today?
Let us know so we can improve the quality of the content on our pages