Commit Graph

5 Commits (d4d3f0ef811e8d7286546637aaf40fb6ce0bc908)

Author SHA1 Message Date
Dustin 4ac79ba18d minio-backups: No syslog for nginx access logs
MinIO/S3 clients generate a _lot_ of requests.  It's also not
particularly useful to have these stored in Loki anyway.  As such, we'll
stop routing them to syslog/journal.

Having access logs is somewhat useful for troubleshooting, but really
for only live requests (i.e. what's happening right now).  We therefore
keep the access logs around in a file, but only for one day, so as not
to fill up the filesystem with logs we'll never see.
2024-10-20 12:10:17 -05:00
Dustin 36145cb2ee minio-backups: Disable nginx log files
We don't need local log files when messages are already stored locally
in the journal and remotely in Loki.
2024-10-14 12:00:19 -05:00
Dustin dfdddd551f minio-backups: Keep nginx logs for 3 days
_WAL-G_ and _restic_ both generate a lot of HTTP traffic, which fills up
the log volume pretty quickly.  Let's reduce the number of days logs are
kept on the file system.  Logs are shipped to Loki anyway, so there's
not much need to have them local very long.
2024-09-29 11:21:24 -05:00
Dustin fbf587414a hosts: Add chromie.p.b
*chromie.pyrocufflink.blue* will replace *burp1.pyrocufflink.blue* as
the backup server.  It is running on the hardware that was originally
*nvr1.pyrocufflink.blue*: a 1U Jetway server with an Intel Celeron N3160
CPU and 4 GB of RAM.
2024-09-01 09:01:04 -05:00
Dustin 9d60ae1a61 minio-backups: Deploy MinIO for backups
This playbook uses the *minio-nginx* and *minio-backups-cert* role to
deploy MinIO with nginx.

The S3 API server is *s3.backups.pyrocufflink.blue*, and buckets can be
accessed as subdomains of this name.

The Admin Console is *minio.backups.pyrocufflink.blue*.

Certificates are issued by DCH CA via ACME using `certbot`.
2024-09-01 08:59:28 -05:00