I am trying to deploy my app to an Amazon EC2 instance using mup.
my mup config file:
{
"servers": [
{
"host": "52.48.xxx.xx",
"username": "ubuntu",
"pem":"~/.ssh/mwonline-ec2.pem"
}
],
"setupMongo": true,
"setupNode": true,
"nodeVersion": "0.10.40",
"setupPhantom": true,
"enableUploadProgressBar": true,
"env": {
"PORT": 80,
"ROOT_URL": "ec2-52-48-xxx-xx.eu-west-1.compute.amazonaws.com"
},
"appName": "myApp",
"app": ".",
"deployCheckWaitTime": 400
}
I am using a micro instance, so I increased deployCheckWaitTime
.
I opend the following ports on my instance:
HTTP TCP 80 SSH TCP 22
In my project folder I did:
mup init
mup deploy
[] - Uploading bundle: SUCCESS [] - Setting up Environment Variables [] - Setting up Environment Variables: SUCCESS [] - Invoking deployment process
But then I get the error:
0curl: (7) Failed to connect to localhost port 80: Connection refused
ssh’ing into my instance using the .pem file works just fine.
What am I missing?
Any ideas?