zalando-stups / senza

Deploy immutable application stacks and create and execute AWS CloudFormation templates in a sane way
https://pypi.python.org/pypi/stups-senza
Other
96 stars 72 forks source link

Support for Application Load Balancers #310

Closed arjunrn closed 8 years ago

arjunrn commented 8 years ago

AWS just released a new Load Balancer type with support for HTTP2. There is already support for it in Cloudformation. We could have a new component likewise called Senza::WeightedDnsApplicationLoadBalancer.

prayerslayer commented 8 years ago

Properties of the ELB have been split up in multiple components for the ALB, and some were added.

The ALB is awesome° as we could do something like this(?):

:scream:

° Somehow you can't route based on headers yet.

arjunrn commented 8 years ago

It might be easier to just have another component in the same stack. I don't think many microservices will have a requirement for path based routing since that would be handled in something like Skipper anyway. So just use a match all wildcard like /* and use it exactly like the Classic LB. Maybe @hjacobs or @tuxlife could pitch in as well with their opinions.

jmcs commented 8 years ago

I agree that it's better to have another component to avoid breaking things that are working now.

hjacobs commented 8 years ago

We should probably introduce a new component, but AWS guys advice us to switch to ALB for everything HTTP-based (some under-the-hood performance improvements etc).

So I would say:

We also need to support the new ELBv2 in ZMON AWS agent!

hjacobs commented 8 years ago

Basic support for Application Load Balancers with HTTP/2 was released in https://github.com/zalando-stups/senza/releases/tag/2.0.121

Still TODO: support ELBv2 metrics in senza health

hjacobs commented 8 years ago

Still TODO:

hjacobs commented 8 years ago

ALB/ELBv2 support should be fine in https://github.com/zalando-stups/senza/releases/tag/2.0.124