This guide will focus on explaining how to Install Envoy Proxy on Ubuntu / Debian Linux distribution. Envoy is a high-performance C++ distributed proxy designed for single services and applications, as well as a communication bus and “universal data plane” designed for large microservice “service mesh” architectures.
Envoy runs alongside every application and abstracts the network by providing common features in a platform-agnostic manner. When all service traffic in an infrastructure flows via an Envoy mesh, it becomes easy to visualize problem areas via consistent observability, tune overall performance, and add substrate features in a single place.
In our previous guide, we covered How To Install Envoy Proxy on CentOS 7
Use below steps to Install Envoy Proxy on an Ubuntu / Debian Linux distribution.
Step 1: Update System
We start by ensuring our system has the latest patches and software releases installed. This is quickly achieved using the commands:
sudo apt -y update && sudo apt -y upgrade sudo reboot
The reboot is necessary as you may get recent kernel release and this will only be loaded after a system reboot.
Step 2: Install required Dependencies
Install these basic packages required for this setup.
sudo apt-get -y install \ software-properties-common \ curl \ ca-certificates \ apt-transport-https \ gnupg2
Step 3: Import Tetrate GPG key
We need to import the GPG key used for signing APT packages.
curl -sL 'https://getenvoy.io/gpg' | sudo apt-key add -
$ apt-key fingerprint 6FF974DB pub rsa4096 2019-03-01 [SC] 5270 CEAC 57F6 3EBD 9EA9 005D 0253 D0B2 6FF9 74DB uid [ unknown] GetEnvoy <[email protected]> sub rsa4096 2019-03-01 [E]
Step 4: Add the stable repository
Add Stable Envoy proxy to your Ubuntu / Debian Linux system.
sudo add-apt-repository \ "deb [arch=amd64] https://dl.bintray.com/tetrate/getenvoy-deb \ $(lsb_release -cs) \ stable"
Step 5: Install Install Envoy on Ubuntu / Debian
Finally, install Envoy on Ubuntu / Debian:
sudo apt-get update sudo apt-get install -y getenvoy-envoy
Check installed Envoy.
$ envoy --version envoy version: e349fb6139e4b7a59a9a359be0ea45dd61e589c5/1.11.1/clean-getenvoy-930d4a5/RELEASE/BoringSSL