You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 21, 2026. It is now read-only.
Siqi Tian edited this page May 1, 2016
·
4 revisions
The server is an EC2 instance with ELB at AWS. Essential setup is listed as below:
EC2 instance with Ubuntu 14.04 LTS. EBS drive is mount to /dev/sda1.
Use the following Security Groups: HTTP & SSH (opens port 80 and port 22), HTTPS (opens port 443).
Submit SSL Certificate through aws iam. See here. Use the SSL Certificate for 443 forwarding protocol.
Add instance to ELB, configure with port forwarding 80 to 80, 443 to 443. Use same Security Groups as EC2.
Set ELB Health Check to address HTTPS:443/ping_test/, with interval 180 s and timeout 15 s.
Once done, you can access the server via ssh. Use the server's Public IP address, instead of Private IP. AWS EC2 are configured to use a certificate for authentication, not password (In fact, user ubuntu has no password). Use -i to supply the certificate.