3 ms·
I have just finished setting up a new front-end for a few services (we are just about to start migrating production systems to it). I was aiming to use static
by gregmac 9y ago
I have just finished setting up a new front-end for a few services (we are just about to start migrating production systems to it).
I was aiming to use static IPs (for client firewall rules), and simplify networking configuration, so what I ended up with is an auto-scaling group of HAProxy systems that run a script every couple of minutes to assign themselves an elastic IP from a provided list. Route 53 is configured with health checks to only return the IP(s) that are working.
The HAProxy instances also continuously read their target auto-scaling groups to update backend config, and do ssl terminating, also running the Let's Encrypt client. Most services are routed by host name, but a couple older ones are path-based and there are some 301 redirects.
I think NLB could replace the elastic IP and route53 part of this setup, but I'd still need to do SSL, routing, and backends. It's too bad, because my setup is one that could be used nearly anywhere that has more than one public-facing service, but there's not much built-in to help - I had to write quite a few scripts to get everything I needed.
- gnur 9y agoHave you tried/evaluated traefik? It sounds like it could do nearly everything you just mentioned.