ECS Architecture
This high-performance container-based architecture supports images up to 100 MB and includes all advanced v8.0.0 features including transformation policies, non-S3 origin support, and administrative interface.
ECS architecture for high-performance image processing
The high-level process flow for the ECS architecture is as follows:
-
An Amazon CloudFront distribution provides global caching and content delivery.
-
An Application Load Balancer
(ALB) distributes incoming requests across multiple ECS tasks for high availability and scalability. -
Amazon Elastic Container Service
(ECS) tasks running on AWS Fargate process image transformation requests using containerized applications. -
ECS tasks maintain in-memory caches of transformation policies and origin mappings for fast request resolution and reduced latency.
-
Images are retrieved from multiple origin types: Amazon S3 buckets or external HTTP-accessible domains based on configured origin mappings.
-
An administrative interface built with AWS Amplify
provides policy and origin management capabilities through a secure web interface. -
Amazon DynamoDB
stores transformation policies, origin configurations, and mapping rules with high availability and performance. -
Amazon Cognito
provides authentication and authorization for the administrative interface. -
(Optional) Amazon Rekognition integration for smart cropping and content moderation features.