Uninstall Guard
Uninstall Amazon Selling Partner API Guard.
You can uninstall Selling Partner API Guard from the AWS Management Console or by using the AWS Command Line Interface.
Step 1. Delete the Selling Partner API Guard EC2 Command Line Interface (CLI)
- Open the Selling Partner API Guard EC2 CLI link that you received via email. The link redirects you to a session manager.
- Enter the following two commands into the AWS CLI:
cd GuardCli/
and
sudo ./guardcli cleanup_guard_interface
These commands will initiate the Selling Partner API Guard EC2 CLI clean up process. The process includes cleaning up the EC2 instance, security groups, VPC and any subnets associated with the VPC. This will take about seven minutes to complete. After completion, you will no longer have access to Selling Partner API Guard CLI.
Note
If you encounter errors when using the previous command, refer to the Support section of this guide for an alternative (manual) approach for deleting the CLI.
You must wait at least 15 minutes before proceeding to Step 2.
Step 2. Delete the stack using the AWS Management Console
- Sign in to the AWS CloudFormation console.
- On the Stacks page, select the installation stack.
- Choose Delete.
(Optional) Delete 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 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*>
Step 3: Verify that any services initiated by Selling Partner API Guard have stopped running
Selling Partner API Guard automatically stops AWS security services such as GuardDuty, Macie, Access Analyzer, SecurityHub, and Config if they are initiated during the scan process. To avoid incurring additional costs, you can verify whether or not those services have stopped by using the search box in your AWS account. If you find any services are still running, you can follow these instructions to suspend them.
For more information on service suspension, refer to the following documentation:
Important
If you don't suspend services initiated by Selling Partner API Guard, you'll incur additional costs in your AWS Account for the duration that those services run.
Updated 2 months ago