Kick the tires with Portworx on AWS

You can quickly provision a Kubernetes cluster with Portworx running on AWS. Here’s how.

  1. Install the AWS CLI:
sudo yum install -y epel-release git unzip gcc fuse fuse-devel
sudo yum install -y python-pip
sudo pip install awscli
aws configure
  1. Install Vagrant:
curl | funzip >vagrant
sudo install -m 755 vagrant /usr/local/bin/vagrant
  1. Install Node.js and the json module:
curl -sL | sudo bash -
sudo yum install -y nodejs
sudo npm install -g json
  1. Install Vagrant AWS plugin and dummy box:
vagrant plugin install vagrant-aws
vagrant box add dummy
  1. Clone the repo:
git clone
cd px-aws-k8s-multi
  1. Edit and update AWS_DEFAULT_REGION if necessary.

  2. Edit Vagrantfile. At the least, you will need to update keypair_name.

  3. Generate some SSH keys:

ssh-keygen -t rsa -b 2048 -f id_rsa

These will only be used for SSH between nodes.

  1. Provision the VPC:
  1. Start the cluster(s):
vagrant up
  1. After a few minutes, both the Kubernetes and Portworx clusters will be up and running:
vagrant ssh master-1
sudo -i
kubectl get nodes
ssh node-1-1 pxctl status