analogic/poste.io on Amazon EC2 Linux AMI?

Issue #170 resolved
Sophie L created an issue

Hi,

Did anybody run this on EC2 with in a Amazon ECS-Optimized Amazon Linux AMI?

I have free trier for 12 months so would like to test this to see if stable for production?

EC2 is new to me along with Docker but system admin is not new.

Has anybody any tips?

Thanks.

Comments (7)

  1. Sophie L reporter

    and the answer not yet.

    "..... * initalizing Users database [cont-init.d] 32-database.sh: exited 0. [cont-init.d] 33-domains.sh: executing... * initalizing settings for domains [cont-init.d] 33-domains.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done.

    Poste.io container should be running now at local address http://172.17.0.2 "

    This is where it stopped.

    The ports have been exposed to the host: docker-pr 9874 root 4u IPv6 19977 0t0 TCP :993 (LISTEN) docker-pr 9895 root 4u IPv6 20002 0t0 TCP :587 (LISTEN) docker-pr 9916 root 4u IPv6 20024 0t0 TCP :465 (LISTEN) docker-pr 9924 root 4u IPv6 20040 0t0 TCP :443 (LISTEN) docker-pr 9932 root 4u IPv6 20056 0t0 TCP :143 (LISTEN) docker-pr 9940 root 4u IPv6 20072 0t0 TCP :80 (LISTEN) docker-pr 9948 root 4u IPv6 20088 0t0 TCP *:25 (LISTEN) (from lsof)

    But I cannot see how to connect from the Internet to the EC2 instance on the public IP address.

  2. Sophie L reporter

    works pretty well :) easy.
    Only issue was an http 500 error when changing a password for an email account:

    "Oops! An Error Occurred The server returned a "500 Internal Server Error". Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused."

    The nginx error..log is empty and the access log only had these not useful lines: 1

    78.50.11.11 - - [20/Mar/2017:19:44:02 +0000] "GET /admin/box/ HTTP/1.1" 200 2275 "https://52.73.11.11/admin/box/sophie@xxx/edit" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8"
    178.50.11.11 - - [20/Mar/2017:19:44:05 +0000] "GET /admin/box/graham@xxx/edit HTTP/1.1" 200 2310 "https://52.73.11.11/admin/box/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8"
    178.50.11.11 - - [20/Mar/2017:19:44:23 +0000] "POST /admin/box/graham@xxx HTTP/1.1" 500 507 "https://52.73.11.11/admin/box/graham@xxx/edit" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8"
    
  3. Log in to comment