Solution Overview
This solution helps you use Stable Diffusion to build high-availability Artificial Intelligence-Generated Content (AIGC) web applications on Huawei Cloud Elastic Cloud Server (ECS). Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images given any text and images input.
Solution Architecture
This solution helps you use Stable Diffusion to build high-availability AIGC web applications on Huawei Cloud Elastic Cloud Server (ECS).

Building High-Availability AIGC Applications Based on Open-Source Models
Version: 1.0.0
Last Updated: September 2023
Built By: Huawei Cloud
Time Required for Deployment: About 30 minutes
Time Required for Uninstallation: About 10 minutes
Solution Description
This solution will:
1. Two GPU-accelerated Linux ECSs, which will be used for running AIGC applications.
2. Three Elastic IP addresses (EIPs), which will be bound to the two Linux ECSs and an Elastic Load Balance (ELB), respectively, for internal and external communication.
3. An ELB, which will be used to distribute traffic across availability zones (AZs).
4. An Object Storage Service (OBS) bucket, which will be used to store generated image files.
5. Stable Diffusion web UI, inotify-tools, and OBS obsutil, which will be installed on each Linux ECS to automatically upload the images saved on the web UI.
Solution Description
This solution will:
1. Two GPU-accelerated Linux ECSs, which will be used for running AIGC applications.
2. Three Elastic IP addresses (EIPs), which will be bound to the two Linux ECSs and an Elastic Load Balance (ELB), respectively, for internal and external communication.
3. An ELB, which will be used to distribute traffic across availability zones (AZs).
4. An Object Storage Service (OBS) bucket, which will be used to store generated image files.
5. Stable Diffusion web UI, inotify-tools, and OBS obsutil, which will be installed on each Linux ECS to automatically upload the images saved on the web UI.