Uninstall the solution
You can uninstall the Distributed Load Testing on AWS solution from the AWS Management Console or by using the AWS Command Line Interface. You must manually delete the console, scenario, and logging Amazon Simple Storage Service (Amazon S3) buckets created by this solution. AWS Solutions Implementations do not automatically delete them in case you have data to retain.
Note
If you have deployed regional stacks, you must delete the stacks in those Regions before deleting the main stack.
Using the AWS Management Console
AWS CloudFormation
-
Sign in to the AWS CloudFormation console
. -
On the Stacks page, select this solution’s installation stack.
-
Choose Delete.
AWS Launch Wizard
-
Sign in to the AWS Launch Wizard console.
-
On the Launch Wizard Deployments
page, select this solution’s deployment. -
Choose Actions, then Delete.
-
Confirm the deletion.
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 in the AWS CLI User Guide. After confirming that the AWS CLI is available, run the following command.
$ aws cloudformation delete-stack --stack-name <installation-stack-name>
Deleting the Amazon S3 buckets
This solution is configured to retain the solution-created Amazon S3 buckets (for deploying in an opt-in Region) if you decide to delete the AWS CloudFormation stack to prevent accidental data loss. After uninstalling the solution, you can manually delete this S3 bucket if you do not need to retain the data. Follow these steps to delete the Amazon S3 bucket.
-
Sign in to the Amazon S3 console
. -
Choose Buckets from the left navigation pane.
-
In the Find buckets by name field, enter the name of this solution’s stack.
-
Select one of the solution’s S3 buckets and choose Empty.
-
Enter permanently delete in the verification field and choose Empty.
-
Select the S3 bucket you just emptied and choose Delete.
-
Enter the S3 bucket name in the verification field and choose Delete bucket.
Repeat steps 4 through 7 until you delete all the S3 buckets.
To delete the S3 bucket using AWS CLI, run the following command:
$ aws s3 rb s3://<bucket-name> --force