Deploy failed using MUPX in AWS t2.micro

Hi,

I’m trying to deploy one application in AWS and when I run mupx setup is getting this error:

Started TaskList: Setup (linux)
[*.*.*.*] - Installing Docker
[*.*.*.*] x Installing Docker: FAILED

    -----------------------------------STDERR-----------------------------------
    bash: line 4: docker: command not found
    sudo: no tty present and no askpass program specified
    sudo: no tty present and no askpass program specified
    sudo: no tty present and no askpass program specified
    sudo: no tty present and no askpass program specified
    -----------------------------------STDOUT-----------------------------------
    ----------------------------------------------------------------------------

What EC2 image are you using?

I’m using t2.micro instance with Ubuntu.

Were you able to resolve this? I am also getting bash: line 4: docker: command not found

I’ve successfully deployed to AWS just now using regular mup, not mupx because my VM doesn’t support docker for whatever reason.

I followed these instructions,
http://sergelobatch.com/slog/2015/4/10/using-mup/
but ran into some problems that I fixed, solutions below:

  1. I went through the AWS/MUP tutorial steps and everything went well until mup setup and encountered an error:
    Installing PhantomJS: FAILED -----------------------------------STDERR----------------------------------- c2.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.8/cpp-4.8_4.8.4-2ubuntu1~14.04_amd64.deb 404 Not Found [IP: 54.184.254.88 80] ..."
    To fix this, I had to run npm install -g node-gyp

  2. In the mup.json file, the “pem” field actually has to be the path to your FILE, not just the directory (I made that mistake). i.e. it has to be "pem" : "~/ssh/pemfilename.pem

  3. I also couldn’t install PhantomJS so I just set "setUpPhantom":false in my mup.json file. I also put "PORT":80 in the “env” object.