Install Automatic1111 on AWS with Terraform and Packer (Stable Diffusion)
Gerald Yerden Gerald Yerden
1.27K subscribers
658 views
24

 Published On Oct 4, 2023

Walkthrough deploying Automatic1111’s stable diffusion on AWS with Nvidia GPU EC2 Node behind Nginx using Terraform and Packer.

Software Used:

Terraform - https://www.terraform.io/
Packer - https://www.packer.io/
Nginx - https://docs.nginx.com/nginx/admin-gu...
Code Repo - https://github.com/devhulk/diffusion-...
Automatic1111 - https://github.com/AUTOMATIC1111/stab...
How to create Key Pair in AWS - https://docs.aws.amazon.com/AWSEC2/la...

01:26 - Project Overview
04:07 - Repo Walkthrough
05:00 - Terraform Config Walk Through
07:20 - Run Terraform
07:40 - Run Packer Locally
08:10 - Packer Config Deep Dive
09:37 - Installation Script (Nvidia Drivers)
11:40 - Systemd File Review
13:15 - AMI Variable
14:00 - Get Public Key from Key Pair
15:20 - SSH Into Stable Diffusion Instance
16:10 - Systemctl Service Check
16:25 - See Logs
17:47 - Recursive Search
18:02 - Terraform Output Command
18:28 - Bad Gateway Error Nginx
19:14 - Automatic1111 UI
19:49 - Terraform Destroy
20:44 - API and Extensions

show more

Share/Embed