Hi Brant,

I am able to telnet to port 22 on this IP but still not 80 or 443.  Perhaps 
there is a problem with your firewall config? A screenshot of the SG rule 
details may be useful:


Many thanks,
Wm. Marc O'Brien
Scalr Technical Support

On Friday, June 24, 2016 at 10:21:12 AM UTC-6, Brant Fortest wrote:
>
> Hi, Team,
> I just set up a "4-server Scalr 
> <https://github.com/scalr-tutorials/scalr-server-configuration/tree/master/4-server>"
>  
> server stack in aws, but it is only available by accessing it's private IP 
> - 172.*.*.* , unavailable by it's public IP. 
> Anything went wrong?
> You can have a try on https://54.222.154.149
> Looking forward to hearing from you asap. Thanks! 
>
> And here's the content of scalr-server.rb file.
>
> ------------------
> root@ip-172-31-5-21:/etc/scalr-server# cat scalr-server.rb 
>
> ########################################################################################
> # IMPORTANT: This is NOT a substitute for documentation. Make sure that 
> you understand #
> # the configuration parameters you use in your configuration file.         
>             #
>
> ########################################################################################
>
> # Disable all services by default
> enable_all false
>
>
> ##########################
> # Topology Configuration #
> ##########################
>
> # You can use IPs for the below as well, but hostnames are preferable.
> app_server_host = '54.222.154.149'  # This MUST be reachable by your 
> instances.
> main_mysql_server_host = '54.222.215.202'
> ca_mysql_server_host = '54.222.215.202'
>
> # Server IPs. Those MUST be IPs, not hostnames.
> app_server_ip = '54.222.154.149'
> worker_server_ip = '54.222.154.88'
>
>
> ####################
> # External Routing #
> ####################
>
> proto = 'https'  # Set up the SSL settings and this to 'https' to use HTTPS
> endpoint = app_server_host
>
> routing[:endpoint_scheme] = proto
> routing[:endpoint_host] = endpoint
>
>
> ####################
> # Internal Routing #
> ####################
>
> # Use separate hosts for MySQL
> app[:mysql_scalr_host] = main_mysql_server_host
> app[:mysql_scalr_port] = 3306
>
> app[:mysql_analytics_host] = ca_mysql_server_host
> app[:mysql_analytics_port] = 3306
>
> # Use Memcached locally (it's running on the same servers as the app 
> servers)
> app[:memcached_servers] = ['127.0.0.1:11211']
>
> # Look for the app and graphics locally as well
> proxy[:app_upstreams] = ['127.0.0.1:6000']
> proxy[:graphics_upstreams] = ['127.0.0.1:6100']
> proxy[:plotter_upstreams]  = ['127.0.0.1:6200']
> proxy[:ssl_enable] = true
> proxy[:ssl_redirect] = true
> proxy[:ssl_cert_path] = "/etc/ssl/certs/server.pem"
> proxy[:ssl_key_path] = "/etc/ssl/private/server.key"
>
> # Bind the proxy publicly
> proxy[:bind_host] = '0.0.0.0'
>
> # But bind everything else locally, since it'll go through the proxy
> web[:app_bind_host] = '127.0.0.1'
> web[:app_bind_port] = 6000
>
> web[:graphics_bind_host] = '127.0.0.1'
> web[:graphics_bind_port] = 6100
>
> service[:plotter_bind_host] = '127.0.0.1'
> service[:plotter_bind_port] = 6200
>
> # Bind MySQL publicly, because it'll need to be accessed by the app & 
> worker
> mysql[:bind_host] = '0.0.0.0'
> mysql[:bind_port] = 3306
>
> # The app and Memcached are running on the same server, so bind locally
> memcached[:bind_host] = '127.0.0.1'
> memcached[:bind_port] = 11211
>
>
> #####################
> # App configuration #
> #####################
>
> app[:ip_ranges] = ["#{app_server_ip}/32", "#{worker_server_ip}/32",]
> app[:instances_connection_policy] = 'public' # 'local' or 'public'
> app[:configuration] = {}  # Add extra configuration here
>
> ------------------
>

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to