Top Banner
MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016
25

MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

May 22, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

MICROSERVICESVS.

REVERSE-PROXYEmile Vauge — ContainerCon 2016

Page 2: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

$ whoamiFrench DevOps & DeveloperI ❤ Docker ὃ�, I ❤ GoWorked @ Thales, Airbus, Lyra, ZenikaCreator and maintainer of trae�k.io

Page 3: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

BUT WHY ANOTHER

REVERSE-PROXY?

Page 4: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

Micr�ervice�

Page 5: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

Container�

Page 6: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

Orchestratio�

Page 7: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

Servic� Discover�

Page 8: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

AND NOWLET'S ADD AREVERSE PROXY

Page 9: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading
Page 10: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading
Page 11: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading
Page 12: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

Here comes

Page 13: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading
Page 14: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

FeaturesSingle binary (Did I say I ❤ Go ?)Backends: Docker, Swarm, Kubernetes, Mesos / Marathon,

Consul, Etcd, Zookeeper...Hot reloadingLoad-balancing: WRR, DRRCircuit breakersReplayHTTP2

Page 15: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

Demo

Page 16: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

Great!

But wait, how do you manage SSL certs?

Page 17: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

FREE, AUTOMATED

CERTIFICATE AUTHORITY

Page 18: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

O�cial image$ docker pull trae�k

Page 19: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

TRAEFIK V1.0.2

REBLOCHON

Page 20: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

4342 ★291 PR CLOSED53 CONTRIBUTORS

Page 21: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

NOW PART OF

Page 22: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading
Page 23: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

It's 2016, and I reallywish I had a LoadBalancer, that worksacross cloud providers,with a real API formanaging dynamiccon�guration.

- Kelsey Hightower (@kelseyhightower) June 6, 2016

Page 24: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

It's 2016, and I may havefound a Load Balancerwith a real API andsupport for dynamiccon�guration!https://trae�k.io

- Kelsey Hightower (@kelseyhightower) June 6, 2016

Page 25: MICROSERVICES · MICROSERVICES VS. REVERSE-PROXY Emile Vauge — ContainerCon 2016 ... Backends: Docker, Swarm, Kubernetes, Mesos / Marathon, Consul, Etcd, Zookeeper... Hot reloading

THANK YOU!trae�k.io

@trae�kproxy@emilevauge