Project

General

Profile

Infrastructure CDN » History » Version 3

Evgeni Golov, 12/14/2017 12:35 PM

1 1 Evgeni Golov
h1. CDN infrastructure
2
3
h2. Overview
4
We use "Fastly":https://www.fastly.com as a CDN provider for our web content.
5
6
h2. Who has access?
7
* Greg
8
* Ewoud
9
* Evgeni
10
11
h2. Which vhosts are served via CDN?
12
* downloads.theforeman.org
13
* stagingdeb.theforeman.org
14
15
h2. Setup
16
17
h3. Varnish
18 2 Evgeni Golov
19
h4. theforeman.org
20
* Service: <code>theforeman.org</code>
21
* Domains: <code>theforeman.org</code> and <code>www.theforeman.org</code>
22 1 Evgeni Golov
* Backend: <code>web02.theforeman.org</code>, with TLS enabled and a health check for <code>HEAD /introduction.html</code>
23 2 Evgeni Golov
* this service currently gets no traffic as it is not configured in DNS
24
25
h4. downloads.theforeman.org
26
* Service: <code>downloads.theforeman.org</code>
27
* Domains: <code>downloads.theforeman.org</code>
28
* Backend: <code>web02.theforeman.org</code>, with TLS enabled and a health check for <code>HEAD /HEADER.html</code>
29
30
h4. stagingdeb.theforeman.org
31
* Service: <code>stagingdeb.theforeman.org</code>
32
* Domains: <code>stagingdeb.theforeman.org</code>
33
* Backend: <code>web02.theforeman.org</code>, with TLS enabled and a health check for <code>HEAD /HEADER.html</code>
34 1 Evgeni Golov
35
h3. TLS
36
Fastly provides a shared certificate which has <code>theforeman.org</code> and <code>*.theforeman.org</code> added. (There is a <code>_globalsign-domain-verification</code> <code>TXT</code> record in the theforeman.org DNS zone for that.)
37
38
h3. DNS
39
Each vhost needs a CNAME pointing at <code>p2.shared.global.fastly.net</code>
40
41
h2. TODO
42
* Investigate "IPv6":https://www.fastly.com/blog/ipv6-fastly
43
* Move more vhosts as soon as the current ones are deemed stable