This site can’t be reached on AWS

Hi!

I’m trying to deploy the todos app that uses Meteor 1.6.0.1
to AWS (EC2). I created an Ubuntu 16.04 instance and I managed to run “mup setup”
and “mup deploy” with no errors. However, when I try to access the app using the
browser I always get the message:

“This site can’t be reached.
18.223.xx.xx refused to connect.”

I have the following security groups on AWS:
80 | tcp | 0.0.0.0/0 | :heavy_check_mark:
22 | tcp | 0.0.0.0/0 | :heavy_check_mark:
443 | tcp | 0.0.0.0/0 | :heavy_check_mark:

And ssh works well.

Mup version (mup --version): 1.4.5

Mup config

{
  "servers": {
    "one": {
      "host": "18.223.xx.xx",
      "username": "ubuntu",
      "pem": "~/.ssh/pem"
    }
  },
  "app": {
    "name": "my-app",
    "path": "../",
    "servers": {
      "one": {}
    },
    "buildOptions": {
      "serverOnly": true
    },
    "env": {
      "ROOT_URL": "http://18.223.xx.xx",
      "MONGO_URL": "mongodb://<user>:<password>@cluster0-shard-00-00-xxxx.mongodb.net:27017,cluster0-shard-00-01-xxxx.mongodb.net:27017,cluster0-shard-00-02-xxxx.mongodb.net:27017/meteor?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true",
     "MONGO_OPLOG_URL": "mongodb://<user>:<password>@cluster0-shard-00-00-xxxx.mongodb.net:27017,cluster0-shard-00-01-xxxx.mongodb.net:27017,cluster0-shard-00-02-xxxx.mongodb.net:27017/local?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true",
    },
    "docker": {
      "image": "abernix/meteord:node-8.9.3-base",
    },
    "enableUploadProgressBar": true,
  },
}
✓ Config is valid

mup status

=> Servers
  - 18.223.xx.xx: Ubuntu 16.04

=> Docker Status
 - 18.223.xx.xx: 18.06.1-ce Running

=> Meteor Status
 - 18.223.xx.xx: running 
    Created at 2018-10-26T02:13:24.818441406Z
    Restarted 0 times
    ENV: 
     - ROOT_URL=http://18.223.xx.xx
     - MONGO_URL=mongodb://<user>:<password>@cluster0-shard-00-00-xxxx.mongodb.net:27017,cluster0-shard-00-01-xxxx.mongodb.net:27017,cluster0-shard-00-02-xxxx.mongodb.net:27017/meteor?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true
     - MONGO_OPLOG_URL=mongodb://<user>:<password>@cluster0-shard-00-00-xxxx.mongodb.net:27017,cluster0-shard-00-01-xxxx.mongodb.net:27017,cluster0-shard-00-02-xxxx.mongodb.net:27017/local?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true

     - METEOR_SETTINGS={"public":{}}
     - PORT=80
     - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
     - METEORD_DIR=/opt/meteord
     - NODE_VERSION=8.9.3
    Published Ports:
     - 80/tcp => 80
    App running at http://18.223.xx.xx:80
     - Available in app's docker container: true
     - Available on server: true
     - Available on local computer: false

Can someone help me please?

Thanks!

1 Like