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 -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://deb.dl.getenvoy.io/public/gpg.8115BA8E629CC074.key' | sudo gpg --dearmor -o /usr/share/keyrings/getenvoy-keyring.gpg
Step 4: Add the stable repository
Add Stable Envoy proxy to your Ubuntu / Debian Linux system.
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/getenvoy-keyring.gpg] https://deb.dl.getenvoy.io/public/deb/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/getenvoy.list
Step 5: Install Install Envoy on Ubuntu / Debian
Finally, install Envoy on Ubuntu / Debian:
sudo apt update
sudo apt install -y getenvoy-envoy
Check installed Envoy.
$ envoy --version
envoy version: d362e791eb9e4efa8d87f6d878740e72dc8330ac/1.18.2/clean-getenvoy-76c310e-envoy/RELEASE/BoringSSL
Check Envoy getting started guide to help you understand Envoy basics. A comprehensive guide is available on the Official documentation page.