How To Install Envoy Proxy on CentOS 7

Posted on 80 views

How can I install Envoy on CentOS 7?. Envoy is an open-source, edge and service proxy that abstracts the networking functionality away from applications. You can deploy Envoy proxies beside your applications as a sidecar or run as an edge proxy. Once all application traffic has been configured to go through Envoy mesh, you can consistently control and observe what’s going on in your network.

Some of the network features handled by Envoy include:

  • Service discovery
  • Metrics Monitoring
  • Access Logging
  • Tracing
  • Authentication and Authorization
  • e.t.c

Install Envoy Proxy on CentOS 7

In this guide, we’ll install Envoy Proxy on CentOS 7 using GetEnvoy tooling.

Step 1: Install yum-config-manager utility.

Install the yum-config-manager utility on CentOS 7 by running the command.

sudo yum install -y yum-utils

Step 2: Add GetEnvoy Repository

Add GetEnvoy repository for CentOS 7 using below command.

sudo rpm --import 'https://rpm.dl.getenvoy.io/public/gpg.CF716AF503183491.key'
curl -sL 'https://rpm.dl.getenvoy.io/public/config.rpm.txt?distro=el&codename=7' > /tmp/tetrate-getenvoy-rpm-stable.repo
sudo yum-config-manager --add-repo '/tmp/tetrate-getenvoy-rpm-stable.repo'

If you want to install Nightly packages, enable using the –enable flag.

sudo yum-config-manager --enable tetrate-getenvoy-rpm-stable

Step 3: Install Envoy binary on CentOS 7

To install Envoy binary on CentOS 7 from the added repository, issue the following commands:

sudo yum install -y getenvoy-envoy

Verify the version of Envoy installed on CentOS 7.

$ envoy --version
envoy  version: d362e791eb9e4efa8d87f6d878740e72dc8330ac/1.18.2/clean-getenvoy-76c310e-envoy/RELEASE/BoringSSL

Check Envoy Official documentation to get into detailed usage.

coffee

Gravatar Image
A systems engineer with excellent skills in systems administration, cloud computing, systems deployment, virtualization, containers, and a certified ethical hacker.