The Web ServerΒΆ
Metric |
Target |
|---|---|
RPO |
24 hours (nightly backups) |
RTO |
2 hours |
The Web server runs in Hetzner. It hosts the various things that we have
on the cdn.crate.io domain, including, but not limited to, CrateDB releases, various
promotional videos, various images and etc.
As with all things in Hetzner, it is happily provisioned using Ansible.
There is a backup CronJob that runs every morning and syncs stuff to s3:
[admin@web hetzner.fsn1 img]$ crontab -l
16 6 * * * aws s3 sync /mnt/data/www 's3://www-docs-downloads' --exact-timestamps
Recovering the web server involves re-running the web server playbook and copying over the files from the aforementioned s3 bucket.