Commit Graph

51 Commits

Author SHA1 Message Date
Radon Rosborough fb6948df72 Fix various things 2022-05-09 13:50:57 -07:00
Radon Rosborough c916f91771 Delete CloudWatch 2022-02-12 18:26:08 -08:00
Radon Rosborough 817aa3e0fc Rename some scripts 2022-02-12 10:14:44 -08:00
Radon Rosborough d761cd7dff Set external-labels correctly for Prometheus 2022-02-11 21:44:48 -08:00
Radon Rosborough 9e80286cbe Add more logs from systemd 2022-02-11 21:01:59 -08:00
Radon Rosborough 2376ee6410 Allow customizing S3 config path 2022-02-09 17:11:25 -08:00
Radon Rosborough a57e4ee329 Export metrics to Grafana Cloud 2022-01-30 17:44:16 -08:00
Radon Rosborough 02e52f1c88 Delete unused CI scripts 2022-01-30 17:44:16 -08:00
Radon Rosborough 0eddf34215 Downgrade 2021-12-11 12:13:22 -08:00
Radon Rosborough 1b529af997 Fix typo 2021-11-07 09:32:05 -08:00
Radon Rosborough dde8f9eba3 Upgrade server to Ubuntu 21.10 2021-11-06 14:28:18 -07:00
Radon Rosborough b0210f8f4c Migrate to advanced Fathom Analytics
Allow interpolating an arbitrary analytics tag.
2021-11-06 13:45:34 -07:00
Radon Rosborough 0d92a77922 [#129] Tune cgroup resources
Should help by giving 3GB headroom instead of 1GB for the server and
operating system. Empirically, it looks like the OOM killer is
operating properly and killing user code rather than system processes,
but the small amount of headroom could have been a problem.

Extensive usage of swap could also have been a problem so I disabled
swap for user code. Reduced the CPU quota to eliminate access to
bursting from user code, as well, and bumped the pid quota because we
had a lot of headroom there.
2021-10-24 12:37:15 -07:00
Radon Rosborough dd1b851c3c Thsnks
https://stackoverflow.com/a/58742504
2021-09-18 12:48:59 -07:00
Radon Rosborough 2cf790d7b8 [#98] Promtail should also ship Promtail logs 2021-09-18 11:20:03 -07:00
Radon Rosborough 071ab9973e [#113] Remove autoscaling group 2021-09-18 10:52:39 -07:00
Radon Rosborough 3fa023285b [#112] Increase instance size to t3.medium 2021-09-15 10:19:47 -07:00
Radon Rosborough 9a89d1a14a Deal with Carp being sloooooooow 2021-08-15 18:34:11 -07:00
Radon Rosborough 02ff4aaaef Misc fixes 2021-08-15 12:18:59 -07:00
Radon Rosborough 2912e55e04 Packer builds are slightly faster 2021-08-14 22:21:30 -07:00
Radon Rosborough f19e850e0d Effective teardown, and Sentry integration 2021-08-14 21:37:31 -07:00
Radon Rosborough 669aa738c1 Add EC2 instance ID to Promtail logs 2021-08-01 15:20:07 -07:00
Radon Rosborough f5b7536235 Many things fixed 2021-08-01 12:42:01 -07:00
Radon Rosborough 71619fb249 Some bugfixes 2021-07-31 13:57:44 -07:00
Radon Rosborough 301faefdcb [#80] Various updates to run CI on EC2 dynamic runner
Not quite working yet but merging it now so I can focus on some other
higher-priority things.
2021-07-31 13:57:44 -07:00
Radon Rosborough beb16ca899 Some resource tagging 2021-07-22 19:41:43 -07:00
Radon Rosborough aeb4f4ab6a Fix various bugs 2021-07-17 08:39:28 +00:00
Radon Rosborough b0310dafed Add billing subcategories 2021-07-17 01:05:49 -07:00
Radon Rosborough 0bec96b88b Add code formatters for Riju itself 2021-07-17 00:50:42 -07:00
Radon Rosborough 256d5d1f2b Many things 2021-07-12 04:22:42 +00:00
Radon Rosborough 45a777ed69 Oops 2021-07-11 07:50:04 +00:00
Radon Rosborough 11d3ee8885 Update install guide, moar CloudWatch 2021-07-11 07:44:45 +00:00
Radon Rosborough ada1b64fc1 Debugging 2021-07-11 06:48:01 +00:00
Radon Rosborough ea35395027 Try to make supervisor less broken 2021-07-10 20:50:32 +00:00
Radon Rosborough 8f619b69c6 Getting things spun up 2021-07-04 23:37:08 +00:00
Radon Rosborough 7149f817a6 Many misc updates 2021-07-04 15:14:26 +00:00
Radon Rosborough be7403e367 Misc Packer improvements 2021-07-04 04:24:47 +00:00
Radon Rosborough 2062bfecdb First attempt at new AMI build 2021-07-04 03:29:02 +00:00
Radon Rosborough 2ba198b645 "Fix" race condition in riju-init-volume 2021-06-11 21:25:36 -07:00
Radon Rosborough 40c8c08bed Make riju-init-volume more robust 2021-03-14 17:18:06 -07:00
Radon Rosborough e2fa09df47 Bugfix for provision.bash 2021-03-14 16:12:43 -07:00
Radon Rosborough c3a2aa90b2 Fix misc deployment script errors 2021-03-13 23:07:23 -08:00
Radon Rosborough 770f54e6d2 Move riju-init-volume to runtime 2021-03-13 10:56:24 -08:00
Radon Rosborough eccda2194a Initialize EBS volume for use with Docker 2021-03-06 16:52:39 -08:00
Radon Rosborough 8d7e538ef7 Install AWS CLI onto prod server 2021-01-23 11:28:57 -08:00
Radon Rosborough a56dea0f76 Use hostnamectl 2021-01-01 12:19:11 -08:00
Radon Rosborough 162e10d259 Configure TLS to work properly 2021-01-01 12:01:51 -08:00
Radon Rosborough 57e28ea1e2 Remove erroneous check from validate.bash 2020-12-26 11:31:25 -08:00
Radon Rosborough 2b13f8d8bf Successfully deploy to production 2020-12-26 11:28:51 -08:00
Radon Rosborough f521eda40e Fixups for Packer AMI build 2020-12-25 21:28:08 -08:00