Sofiane Stamboul
Sofiane Stamboul

Reputation: 11

How to setup custom header related rules in elastic beanstalk loadbalancer

i'm working on an api deployed with aws elastic bean stalk.

As am writing the deployment code (cloudformation) i couldn't find a way to customize the application load balancer created by beanstalk.

I would like to setup a rule linked to a header of the request, it's something you can't even do in the beanstalk config console.

is there a way to update the properties of the load balancer created by beanstalk ?

Thanks a lot.

Upvotes: 0

Views: 1701

Answers (1)

Marcin
Marcin

Reputation: 238557

Yes, you can. This is addressed here:

For ALB, you have to modify AWSEBV2LoadBalancer resource. This is done by creating/modify custom resources in your .ebextensions:

Upvotes: 0

Related Questions