High-quality cost-effective AI image generation on Amazon ECS

AWS Professional Services has published an architecture for serving AI image generation at lower cost by running Z-Image-Turbo, a 6-billion-parameter diffusion transformer, on AWS Inferentia2 accelerators. The service runs on Amazon ECS as a containerized microservice, using three ECS services, one per output resolution, each behind an internal Application Load Balancer. Compiled model artifacts are cached on Amazon EFS so containers start quickly and scale out without recompilation. The design targets slow generation, rising GPU bills and inconsistent output across replicas.

AI-written summary, checked against the cited sources. How summaries work

Image: AWS Containers Blog

Read at AWS Containers Blog