0

I have setup and Elastic load balancer in VPC. There is a public and private subnet. Currently the web server is in the Private subnet and there is a NAT instance in public subnet, from which the web server can be accessed.

Now when i created an Elastic Load balancer, which pointed to the web server in private subnet, the requests from ELB are not being sent to web server.

Is there any special method through which i have to configure ELB in VPC?

Farhan
  • 4,269
  • 11
  • 49
  • 80

2 Answers2

1

I wouldn't exactly call it "special" -- you just need to make sure that your security and ACL policies, and your route tables, are all configured appropriately. Without knowing those, it's hard to say for sure what you need to change, but I'd review those and the problem will probably make itself known.

womble
  • 96,255
  • 29
  • 175
  • 230
  • in the security group, all traffic is allowed In/Out. in the routing tables and subnets, i can access the web server through NAT instance. what else is reqiured? – Farhan May 03 '12 at 11:32
1

I was able to fix the problem. The issue was that ELB had to be Placed inside the PUBLIC subnet, but u had placed it in Private subnet

Farhan
  • 4,269
  • 11
  • 49
  • 80