Live data from Hacker News

Opting in to Preview Builds with AWS ALBs

terrbear.org

1–7 of 7 posts

Re: Opting in to Preview Builds with AWS ALBs

#3

Ignore if this is too off-topic, but it came up at work last week. Is there any way to log complete request bodies with AWS ALBs, or am I stuck rolling my own load balancer for comprehensive debugging?

You'll need to roll middleware to get full MITM request body debugging capabilities.

Re: Opting in to Preview Builds with AWS ALBs

#5

Ignore if this is too off-topic, but it came up at work last week. Is there any way to log complete request bodies with AWS ALBs, or am I stuck rolling my own load balancer for comprehensive debugging?

You'll need to roll middleware to get full MITM request body debugging capabilities.

You mean middleware in my upstream targets? Or does AWS have some sort of fancy service for this? I suppose I could use Lambda.

Re: Opting in to Preview Builds with AWS ALBs

#6

Earlier quoted context omitted.

You'll need to roll middleware to get full MITM request body debugging capabilities.

You mean middleware in my upstream targets? Or does AWS have some sort of fancy service for this? I suppose I could use Lambda.

For our use cases, we MITM with haproxy as the LB and then swap out to ALBs when full blown payload diagnostics are no longer required. You might be able to hack something together using Lambda as targets which emit the payload and then forward on to your final target; this is just speculation, I have not attempted such an endeavor. It's a deficiency in the logging capability of AWS ALBs IMHO.

I'll make sure to note it with our AWS TAM during our next conversation.

Re: Opting in to Preview Builds with AWS ALBs

#7

Earlier quoted context omitted.

You mean middleware in my upstream targets? Or does AWS have some sort of fancy service for this? I suppose I could use Lambda.

For our use cases, we MITM with haproxy as the LB and then swap out to ALBs when full blown payload diagnostics are no longer required. You might be able to hack something together using Lambda as targets which emit the payload and then forward on to your final target; this is just speculation, I have not attempted such an endeavor. It's a deficiency in the logging capability of AWS ALBs IMHO. I'll make sure to note…

Cool, thank you.