Additional Usage

Return to Usage Notes

Additional Usage Notes

Where is my data stored?

  1. All generated images and associated prompt history and configuration metadata are available for inspection and download through the webui in the 'file explorer' tab.
  2. Image data is stored in /home/ubuntu/stable-diffusion-webui/outputs/
  3. Stable diffusion AI Checkpoints are stored in /home/ubuntu/stable-diffusion-webui/models/Stable-diffusion/
  4. Embeddings are stored in /home/ubuntu/stablediffusion-webui/embeddings/
  5. Hypernetworks are stored in /home/ubuntu/stablediffusion-webui/models/hypernetworks/
  6. Logs are stored in /var/log/supervisor/

How is my data encrypted?

  1. Once properly configured with a DNS Name and an SSL certificate, all communications with the webui are transacted over SSL/HTTPS
  2. All generated data is stored unecrypted on the EBS root volume by default

How can I renew my HTTPS certificate?

  1. The HTTPS certificate provided by the certbot script is only valid for 90 days. By default, the certificate will renew manually on a scheudled process. In order to manually renew a certificate that is expiring with 30 days, SSH to the instance and execute the command 'certbot renew'.
  2. More information regarding managing certificates with certbot can be found here: https://eff-certbot.readthedocs.io/en/stable/using.html#managing-certificates

How can I monitor the server health?

  1. The system information panel of the webui provides a variety of data including memory, vram, disk, and cpu usage.
  2. If the WebUI is not available you can inspect the status of the EC2 instance by:
    1. Navigate to your Amazon EC2 console (verify that you're in the correct region.)
    2. Choose 'Instance' and select your launched instance.
    3. Select the webUI instance to display your metadata page and choose the Status checks tab at the bottom of the page.
    4. Review if your status checks passed or failed.

How can I upgrade to a new version?

  1. In order to upgrade to a new version of the WebUI you must start a new server instance using a current version of the Marketplace AMI.
  2. If you wish to retain your custom webUI configurations, you can save the file stored at /home/ubuntu/stablediffusion-webui/config.json and copy it to the new server, replacing the existing file.
  3. If you wish to retain your generated image data, AI checkpoints, embeddings, hypernetworks, or logs, you must download them from their respective directories on the server (we recommend 'scp' or 'rsync').