This section describes how to launch and connect toTechlatest Stable Diffusion with InvokeAI Web Interface on Amazon Web Services (AWS).
Note: Stable diffusion requires a lot of processing, so a GPU instance is recommended. If you want to use a CPU instance due to the high price of GPU instances, you should use instances with a higher CPU.
GPU's are not available in some zones and for some instance types.
Below are recommended VM configuration requirements:
For CPU, its the minimum spec but more cpu is preferred. Instances with AMD GPU are not recommended
Note: GPU instance will perform 10 times or more faster when processing request compared to CPU instance . Typical GPU instance will take few seconds to render the images compared to 7-10 minutes by CPU instance, hence GPU instances are preferred.
sudo passwd ubuntu
cd /home/ubuntu/invokeai
./invoke.sh