Skip to content

Instantly share code, notes, and snippets.

@naxty
Created October 4, 2019 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naxty/e4880706743dbaf582596ecb4638a5f5 to your computer and use it in GitHub Desktop.
Save naxty/e4880706743dbaf582596ecb4638a5f5 to your computer and use it in GitHub Desktop.
Shell script to install cortex 0.8
# Download
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/0.8/cortex.sh
# Change permissions
chmod +x cortex.sh
# Install the Cortex CLI on your machine
./cortex.sh install cli
# Set AWS credentials
export AWS_ACCESS_KEY_ID=***
export AWS_SECRET_ACCESS_KEY=***
# Configure AWS instance settings (at least 4GB memory)
export CORTEX_NODE_TYPE=m5.large
export CORTEX_NODES_MIN=2
export CORTEX_NODES_MAX=2
export CORTEX_REGION=eu-west-2
# Provision infrastructure on AWS and install Cortex
./cortex.sh install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment