Is it possible at all to change the protocol and port of the Target Group created using AWS Load Balancer.
For instance, if I have set up initially HTTPS:443
as the protocol:port for my ELB and then I want to change it to HTTP:80
— how can I do that? Or do I have to delete everything and set up a new load balancer with the new settings and new target groups?
To add an HTTPS listener using the consoleOn the navigation pane, under LOAD BALANCING, choose Load Balancers. Select a load balancer, and choose Listeners, Add listener. For Protocol : port, choose HTTPS and keep the default port or enter a different port.
Classic Load Balancers can't redirect HTTP traffic to HTTPS by default. Instead, configure your rewrite rules for the web servers instances behind the Classic Load Balancer. You must configure your rewrite rules to use the X-Forwarded-Proto header and redirect only HTTP clients.
This is not possible for changing the target group protocol itself.
You can change the health checks, but the target group appears to not be modifiable.
You would need to create a fresh target group with the protocol/port combination you want and then update the listener to use the new target group.
If however you want to change the listener (this is the client to load balancer connection) then you can modify or create a new listener at any time.
This can be modified either through the console or through the CLI using the modify-listener function.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With