The end result of these steps is that port 32400 is exposed for Plex
ssh -i ssh.key ubuntu@**********
sudo su
Next use an automated script to install all required software
bash -c "$(wget -qLO - https://gist.githubusercontent.com/godver3/d6465e0222381fec1a315d5369ac09fe/raw/bd136c25f22a45e6b83fee67770fadffb7e0d0cd/setup.sh)"