Uninstall

Prerequisites

  1. Docker

Uninstalling Cortex

# Download
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/0.7/cortex.sh
# Change permissions
chmod +x cortex.sh
# Set AWS credentials
export AWS_ACCESS_KEY_ID=***
export AWS_SECRET_ACCESS_KEY=***
# Uninstall Cortex
./cortex.sh uninstall

Uninstalling the CLI

# Uninstall the Cortex CLI
./cortex.sh uninstall cli

Cleaning up AWS

# Set AWS credentials
export AWS_ACCESS_KEY_ID=***
export AWS_SECRET_ACCESS_KEY=***
# Delete the S3 bucket
aws s3 ls
aws s3 rb --force s3://<bucket-name>
# Delete the log group
aws logs delete-log-group --log-group-name cortex --region us-west-2