Envoy is an L7 proxy and communication bus designed for large modern service oriented architectures.
The easiest way to get started with Envoy by using the Docker images.
Create a Dockerfile:
RUN apt-get update
COPY envoy.json /etc/envoy.json
CMD /usr/local/bin/envoy -c /etc/envoy.json
Create an envoy.json configuration file that describes your own Envoy configuration. You can check here for more information. Here is an example you can use those proxies incoming request to Google.com. You have to change the listener and admin to listen to 0.0.0.0 instead of 127.0.0.1 for this to work locally.
Build the Dockerfile:
docker build -t envoy:v1 .
Run the image, binding localhost port 8080 to the listener on port 10000 and localhost port 8081 to the admin on port 9901 specified in the envoy.json:
docker run -d -p 8080:10000 -p 8081:9901 envoy:v1
Test the image with curl:
This blog post based on the Envoy Proxy download page.