Uninstall the solution
To uninstall the solution, use the AWS Management Console or the AWS Command Line Interface (AWS CLI). First, stop all running tasks from the Amazon ECS cluster. Otherwise, stack deletion can fail.
Using the AWS Management Console
-
Sign in to the AWS CloudFormation console
. -
Select the stack with the name provided during deployment.
-
Choose Delete stack.
Using AWS Command Line Interface
Determine whether the AWS CLI is available in your environment. For installation instructions, refer to What Is the AWS Command Line Interface in the AWS CLI User Guide.
After confirming that the AWS CLI is available, run the following command:
$ aws cloudformation delete-stack --stack-name <customer-defined-stack-name>