stable-diffusion-aws-extension/docs/en/uninstall.md

28 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Uninstall AWS Extension for Stable Diffusion
!!! Warning "Warning"
By uninstalling the solution, the Amazon SageMaker resources created by this stack (for example endpoints), DynamoDB tables that indicates the model training, finetuning and inference logs and mapping relationship, AWS Lambda related functions, AWS Step Functions and so on will be deleted simultaneously.
To uninstall the AWS Extension for Stable Diffusion solution, you must delete the AWS CloudFormation stack.
You can use either the AWS Management Console or the AWS Command Line Interface (AWS CLI) to delete the CloudFormation stack.
## Uninstall the stack using the AWS Management Console
1. Sign in to the [AWS CloudFormation][cloudformation-console] console.
1. Select this solutions installation parent stack.
1. Choose **Delete**.
## Uninstall the stack using AWS Command Line Interface
Determine whether the AWS Command Line Interface (AWS CLI) is available in your environment. For installation instructions, refer to [What Is the AWS Command Line Interface][aws-cli] in the *AWS CLI User Guide*. After confirming that the AWS CLI is available, run the following command.
```bash
aws cloudformation delete-stack --stack-name <installation-stack-name> --region <aws-region>
```
[cloudformation-console]: https://console.aws.amazon.com/cloudformation/home
[aws-cli]: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html