You can run the AWS CFN to delete the CloudFormation stack and thus, uninstall the AWS services setup for a specific region, or for all enabled regions in the AWS account.
To delete the CloudFormation stack easier, Carbon Black Cloud provides a Bash/PowerShell AWS Services setup uninstall script that uses AWS CLI internally for running the CFN template.
Prerequisites
- Sset the following access level permission and assign it to the API Key for executing the event stream setup script.
For more details, see Create Access Levels.
- Become familiar with the following possible values for the
<ScriptURL>
per onboarding environment.Linux Windows https://prod.cwp.carbonblack.io/public-cloud/us/aws/shell/setup-cbc-event-stream.sh
https://prod.cwp.carbonblack.io/public-cloud/us/aws/powershell/setup-cbc-event-stream.ps1
https://prod.cwp.carbonblack.io/public-cloud/ap/aws/shell/setup-cbc-event-stream.sh
https://prod.cwp.carbonblack.io/public-cloud/ap/aws/powershell/setup-cbc-event-stream.ps1
https://prod.cwp.carbonblack.io/public-cloud/eu/aws/shell/setup-cbc-event-stream.sh
https://prod.cwp.carbonblack.io/public-cloud/eu/aws/powershell/setup-cbc-event-stream.ps1
https://prod.cwp.carbonblack.io/public-cloud/au/aws/shell/setup-cbc-event-stream.sh
https://prod.cwp.carbonblack.io/public-cloud/au/aws/powershell/setup-cbc-event-stream.ps
- Retrieve your API Secret Key and API ID credentials. For more information, see Create and Manage an API Key.
- Set up your AWS credentials. For more information, see Set up the AWS CLI.
Procedure
Results
The AWS services setup is deleted for the selected region.