Skip to content

Infra Components

YourCloud is built to accommodate a wide range of customer use cases. For instance, we support configurations such as storing all media assets in a single bucket, multiple buckets, or across multiple regions. To provide this flexibility, the solution is deployed using multiple stacks.

YourCloud consists of three stacks:

  1. Processing Stack
  2. Streaming Global Stack
  3. Streaming Regional Stack

Processing Stack

This stack is responsible for transforming the input file into an intermediate format suitable for consumption by the streaming stack.

The primary components of this stack include:

  1. API Gateway - Serves as the interaction point for customer systems.
  2. Batch Environment - The compute layer for processing input videos.
  3. DynamoDB Tables - Acts as the persistence layer.
  4. Lambda Functions - Implements the business logic.
  5. Queues - Enables asynchronous processing.

Streaming Global Stack

This stack is responsible for authorizing incoming requests and routing them to the appropriate regional stack.

The primary components of this stack include:

  1. CloudFront - Serves as the entry point for media players while also providing caching capabilities.
  2. DynamoDB Global Tables - Acts as the persistence layer.
  3. Lambda@Edge Functions - Implements the business logic.

Streaming Regional Stack

This stack is responsible for serving modified video segments.

The primary components of this stack include:

  1. DynamoDB Table - Acts as the persistence layer.
  2. Lambda Functions - Implements the business logic.
  3. S3 Object Lambda Access Point - Enables object transformation.
  4. Queues - Enables asynchronous processing.