amazon web services - aws - how to access opsWorks app with ELB? -


my app easy deployed on 3 instances using opsworks. can access using instance ip's fine.

my question is: how can access using load balancer?

elb says 3 instances inservice, typing public dns on browser, loads forever , shows nothing.

testing elb public dns on http://whatsmydns.com shows ip's aren't instances.

am doing wrong?

i have added public dns app hostname.

there couple things check:

  1. check load balancer listeners configured listen , pass traffic same port instance listening on (for example http traffic 80 => http 80, https traffic 443 => https 443)
  2. check security group of webservers allows traffic loadbalancer. though if can access instances directly via browser, i'm guessing open 0.0.0.0/0 shouldn't issue here?
  3. check security group of load balancer allows access public on needed ports (typically 80 , 443)
  4. check elb healthcheck not failing (under elb instances can see if instances in service or not) if says "out of service" that's problem. need make sure healthcheck url accessible , returns 200.

the dns of load balancer different instances - returns ip addresses of instances load balancer running on, aws has @ least 3 servers behind scenes that.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -