How to install varnish on Amazon Linux
High-performance HTTP accelerator
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|---|
| Amazon Linux 2023 | Varnish 6.0 LTS | — | 6.0.18 | ||
| Amazon Linux 2012.03 | Varnish 6.0 LTS | — | — | 6.0.7 | |
| Amazon Linux 2 | Varnish 6.0 LTS | — | 6.0.18 |
Description
This is Varnish Cache, a high-performance HTTP accelerator. Varnish Cache stores web pages in memory so web servers don’t have to create the same web page over and over again. Varnish Cache serves pages much faster than any application server; giving the website a significant speed up. Documentation wiki and additional information about Varnish Cache is available on: https://www.varnish-cache.org/
Built for Amazon Linux.
Install
varnish on Amazon Linux 2, 2012.03, 2023
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install dnf-plugins-core sudo dnf config-manager --enable getpagespeed-extras-varnish60 sudo dnf -y install varnish
Package downloads require an active GetPageSpeed subscription — one repository for varnish and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install varnish on Amazon Linux?
Add the GetPageSpeed repository, then install the varnish package with your system package manager.
Which Amazon Linux versions is varnish available for?
varnish is available for Amazon Linux 2, 2012.03, 2023.