Created
October 4, 2019 10:03
-
-
Save naxty/e4880706743dbaf582596ecb4638a5f5 to your computer and use it in GitHub Desktop.
Shell script to install cortex 0.8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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