AWS Load Balancer (LB) Health Checks Failing #12209
Replies: 2 comments
-
Update : Seems like targeting by ENI (sniffing interface) will fail the health check BUT the logs are still appearing in Elasticsearch and NSM alerts are being triggered. Is this appropriate behaviour? Also, is there anyway to forcefully pass the health check? I've tried spinning up a temporary HTTP server on port 80, with LB health check on TCP/80, but it is still failing. Ideally I would like to both pass the health check and get the traffic in. Any help? |
Beta Was this translation helpful? Give feedback.
-
This has worked in the past for getting those AWS load balancer health checks to work: Copy /opt/so/saltstack/default/salt/nginx/etc/nginx.conf to /opt/so/saltstack/local/salt/nginx/etc/nginx.conf, then update with this additional stanza, putting the server's local IP address in the appropriate spot: (I tucked it in after line 91 between the 80 redirect and the 443 default server)
And flipped the url_base back to the fqdn. This allows the healthcheck to pass when hit on ip and then the ssl flow (+ redirects) can happen through the alb. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Version
2.4.30
Installation Method
Security Onion ISO image
Description
configuration
Installation Type
Distributed
Location
cloud
Hardware Specs
Exceeds minimum requirements
CPU
32
RAM
16
Storage for /
100GB
Storage for /nsm
300GB
Network Traffic Collection
tap
Network Traffic Speeds
1Gbps to 10Gbps
Status
Yes, all services on all nodes are running OK
Salt Status
Yes, there are salt failures (please provide detail below)
Logs
Yes, there are additional clues in /opt/so/log/ (please provide detail below)
Detail
I have successfully deployed my distributed grid (on AWS). Everything works fine in my testing - I duplicated network traffic mirror sessions and targetted my Forward Node's Sniffing ENI directly.
For production, I would like to deploy my Forward Node behind an AWS Network Load Balancer. Is there any Wiki or README on how to do this?
I have tried 2 ways:
Wondering if anyone has managed to make this work? Thanks in advance!
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions