Files
ubicloud/migrate
shikharbhardwaj 895499939c Create VictoriaMetrics resource
This is the initial commit for the Victoriametrics resource. This is a
basic version which supports creating a single-node Victoriametrics
instance backed by a VM, creating and managing appropriate certs and
authentication configuration. This version:
- Installs victoriametrics and vmauth binaries on the VM
- Configures the systemd services for these two services
- Sets up the certificates and http basic authentication credentials

This implementation only supports a single-node version for simplicity,
as current read/write benchmarks show VictoriaMetrics can support
upto 4k write targets (PG instnaces, for eg.) and around 2k concurrent
read users on a single standard-8 VM.  In the future, we can add support
for cluster mode, migrations, backup etc as needed.

Here is an example command to create a VictoriaMetrics resource:
st = Prog::VictoriaMetrics::VictoriaMetricsResourceNexus.assemble(
Config.victoria_metrics_service_project_id,
"victoriametrics-test", Location::HETZNER_FSN1_ID, "vmuser",
"standard-8", 20)
2025-05-01 21:55:32 +05:30
..
2023-07-21 13:43:08 +02:00
2023-09-26 09:58:47 +02:00
2023-10-17 17:49:24 +02:00
2024-10-01 15:36:57 +02:00
2025-01-19 08:53:54 -08:00