Uninstall

Prerequisites

  1. Docker

Uninstall Cortex

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

Uninstall the CLI

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

Clean 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