https://github.com/springernature/varnish-boshrelease
Bosh release for Varnish HTTP Cache
https://github.com/springernature/varnish-boshrelease
bosh-release cache engineering-enablement varnish
Last synced: 3 months ago
JSON representation
Bosh release for Varnish HTTP Cache
- Host: GitHub
- URL: https://github.com/springernature/varnish-boshrelease
- Owner: springernature
- License: mit
- Created: 2019-04-05T14:07:37.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-05-02T20:37:56.000Z (about 1 year ago)
- Last Synced: 2025-01-10T14:40:22.313Z (5 months ago)
- Topics: bosh-release, cache, engineering-enablement, varnish
- Language: Shell
- Homepage: https://bosh.io/releases/github.com/springernature/varnish-boshrelease?all=1
- Size: 84 KB
- Stars: 1
- Watchers: 50
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bosh release for Varnish HTTP Cache
This [BOSH](https://bosh.io/) release deploys a [Varnish HTTP Cache](https://varnish-cache.org/) server.
Varnish is a web accelerator (caching reverse proxy) that reduces load on its backend and speeds up content delivery.
This release was primarily designed to be integrated with [Cloud Foundry](https://www.cloudfoundry.org/) by fronting the [Gorouters](https://docs.cloudfoundry.org/concepts/cf-routing-architecture.html#ext-client). It packages the [latest released version of the Varnish 6.0 LTS branch](https://varnish-cache.org/releases/index.html).## Usage
To deploy a Varnish instance using the provided [example manifest](manifests/varnish.yml), run the following command:
```
bosh -e -d varnish deploy manifests/varnish.yml
```A more advanced example can be found in [`manifests/varnish-with-haproxy.yml`](manifests/varnish-with-haproxy.yml):
```
bosh -e -d varnish-haproxy-test deploy manifests/varnish-with-haproxy.yml
```Here, Varnish is fronted by [HAProxy](https://github.com/cloudfoundry/haproxy-boshrelease#readme) for [TLS termination](https://en.wikipedia.org/wiki/TLS_termination_proxy) and [consistent hashing](https://en.wikipedia.org/wiki/Consistent_hashing).
It includes a custom [drain script](https://bosh.io/docs/drain/) that combined with a some [VCL](https://varnish-cache.org/docs/6.0/users-guide/vcl.html) logic and a health check in HAProxy ensures a graceful shutdown of the Varnish instances (no lost requests or error responses).It is assumed that users of this release will create their own manifest customised to their environment.