This is an in-progress quick start install guide for NPK on Ubuntu 18.
From a new Ubuntu 18 box, install the essentials:
apt install unzip -y apt install python3-pip -y apt install jq -y apt install npm -y pip3 install awscli --upgrade —-user
~/.profile and add this to the end:
Now update that file with:
Download a working version of Terraform (the very latest seems not to work right with NPK):
cd /tmp wget https://releases.hashicorp.com/terraform/0.11.2/terraform_0.11.2_linux_amd64.zip unzip terraform_0.11.2_linux_amd64.zip cp terraform ./local/bin
npk user with awscli:
aws configure —-profile npk
When asked, fill out AWS access key, secret access key, default region name (I think us-east-1 is fine).
Then download NPK:
git clone https://github.com/Coalfire-Research/npk.git /opt/npk
Now follow their instructions to configure the
npk-settings.json file and then you should (fingers crossed) be ready to run
deploy.sh and let the crackin' begin!