4

When launching an Elastic Load Balancer in AWS, I happened to notice two ENI's get created that reference the ELB. The private IP's (assigned through the VPC subnet) for both of these ENI's appears in the httpd access log on my load balanced back-end instance during periodic health checks.

My questions are:

  • Do these ENI's belong to the ELB (or abstracted ELB instances)?
  • Are they solely for health check purposes?
  • Also, under what circumstance would more than two ENI's be created or do only two ENI's appear no matter the number of instances being monitored (I experimented with a single and dual instances and in both cases, only two ENI's were generated)?
2
  • Did you find out the answers to your questions? If so, can you post them here?
    – pkrish
    Aug 28, 2014 at 19:26
  • No Sir/Madam, I have not discovered an answer to this question as of yet. I am however sure that the ENI's represent the abstracted ELB instances. Aug 30, 2014 at 0:03

2 Answers 2

3
  • Do these ENI's belong to the ELB (or abstracted ELB instances)?

ELB is a logical entity and the multiple ENI's belong to multiple concrete instances of the ELB.

  • Are they solely for health check purposes?

No

  • Also, under what circumstance would more than two ENI's be created or do only two ENI's appear no matter the number of instances being monitored (I experimented with a single and dual instances and in both cases, only two ENI's were generated)?

There can be multiple instances serving the ELB based on load. I think by default ELB's start off with 2 instances for redundancy. If the traffic to the ELB increases, more instances are added to handle the load. When the traffic decreases the instances are removed. This is the Elastic part of ELB! The actual IP address or ENIs of the ELB are not guaranteed at any time. So always use the DNS name of the ELB.

2
  • Hi pkrish, I dd not have enough reputation to give your answer an upvote however your answer appears to be the best so I have checked it. Sep 15, 2014 at 21:34
  • Also, I've discovered that the ELB will have an elastic interface created and able to communicate with each availability zone configured on the ELB. Sep 16, 2014 at 16:49
0

We were experimenting with ELB's a bit and it may be that the number of ENIs depends on how many zones are being used by the ELB

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.