FreeBSD: Home NAS, Part 13: Planning Data Storage and Backups
When I was just starting to build my NAS and thinking about backups, everything seemed pretty simple: there’s a work laptop with data, there’s a FreeBSD server for the NAS – just take and copy the data. So the initial idea was to have backup script(s) on Linux hosts that would push data to the…
https://rtfm.co.ua/en/freebsd-home-nas-part-13-planning-data-storage-and-backups/
#Backup #FreeBSD #Google #Linux #NAS
When I was just starting to build my NAS and thinking about backups, everything seemed pretty simple: there’s a work laptop with data, there’s a FreeBSD server for the NAS – just take and copy the data. So the initial idea was to have backup script(s) on Linux hosts that would push data to the…
https://rtfm.co.ua/en/freebsd-home-nas-part-13-planning-data-storage-and-backups/
#Backup #FreeBSD #Google #Linux #NAS
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
FreeBSD: Home NAS, Part 13: Planning Data Storage and Backups
Planning and organizing data storage and backups for a Home NAS running on FreeBSD: rsync from Linux hosts, use Rclone remotes for Google Drive and Backblaze B2
👍1
FreeBSD: Home NAS, Part 15: Automating Backups – scripts, rsync, rclone
This is essentially the last major task – setting up automated backup creation. In the post FreeBSD: Home NAS, Part 13: Planning Data Storage and Backups I described the general idea in more detail – what gets backed up, where, what gets stored and how – and today is the purely technical part about the…
https://rtfm.co.ua/en/freebsd-home-nas-part-15-automating-backups-scripts-rsync-rclone/
#Backup #bash #FreeBSD #NAS #rclone
This is essentially the last major task – setting up automated backup creation. In the post FreeBSD: Home NAS, Part 13: Planning Data Storage and Backups I described the general idea in more detail – what gets backed up, where, what gets stored and how – and today is the purely technical part about the…
https://rtfm.co.ua/en/freebsd-home-nas-part-15-automating-backups-scripts-rsync-rclone/
#Backup #bash #FreeBSD #NAS #rclone
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
FreeBSD: Home NAS, Part 15: Automating Backups – scripts, rsync, rclone
Automated backup system for a home NAS on FreeBSD: rsync, ZFS snapshots, VictoriaMetrics, WordPress, and rclone sync to Google Drive and Backblaze
AWS: Basic Infrastructure Setup for WordPress
It’s time for a major server upgrade for RTFM, which I usually do by migrating to a new server – because I also do various other upgrades along the way, like upgrading the PHP version or even migrating to a different cloud. This time I’m planning to move from DigitalOcean, where RTFM has been hosted…
https://rtfm.co.ua/en/aws-basic-infrastructure-setup-for-wordpress/
#AWS #AWS_RDS #AWS_VPC #MySQL_MariaDB #Networking #NGINX #PHP #php_fpm
It’s time for a major server upgrade for RTFM, which I usually do by migrating to a new server – because I also do various other upgrades along the way, like upgrading the PHP version or even migrating to a different cloud. This time I’m planning to move from DigitalOcean, where RTFM has been hosted…
https://rtfm.co.ua/en/aws-basic-infrastructure-setup-for-wordpress/
#AWS #AWS_RDS #AWS_VPC #MySQL_MariaDB #Networking #NGINX #PHP #php_fpm
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
AWS: Basic Infrastructure Setup for WordPress
It's time for a major server upgrade for RTFM, which I usually do by migrating to a new server - because I also do various other upgrades along the way, like upgrading the PHP version or even migrating to a different cloud. This time I'm planning to move…
👍1
AWS: Self-Managed EC2 NAT Gateway vs AWS Managed NAT
I looked at the costs for the infrastructure described in the previous post AWS: basic infrastructure setup for WordPress, and let out a heavy sigh: One NAT Gateway is a quarter of my AWS spend, and even with AWS Credits I can’t help feeling a bit stingy about it. There’s an option to remove the…
https://rtfm.co.ua/en/aws-self-managed-ec2-nat-gateway-vs-aws-managed-nat/
#AWS #AWS_VPC #Linux #Networking
I looked at the costs for the infrastructure described in the previous post AWS: basic infrastructure setup for WordPress, and let out a heavy sigh: One NAT Gateway is a quarter of my AWS spend, and even with AWS Credits I can’t help feeling a bit stingy about it. There’s an option to remove the…
https://rtfm.co.ua/en/aws-self-managed-ec2-nat-gateway-vs-aws-managed-nat/
#AWS #AWS_VPC #Linux #Networking
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
AWS: Self-Managed EC2 NAT Gateway vs AWS Managed NAT
Setting up a NAT Gateway on AWS EC2 as a replacement for AWS Managed NAT Gateway - cost comparison, Linux NAT configuration, and AWS VPC Route Tables setup.
AWS: ALB and Cloudflare – Configuring mTLS and AWS Security Rules
While preparing the infrastructure for migrating RTFM from the DigitalOcean server to AWS (see AWS: basic infrastructure setup for WordPress) I decided to also try AWS ALB mutual authentication (for some reason I thought this feature launched at the last re:Invent, at the end of 2024, but it’s actually been around since late 2023 –…
https://rtfm.co.ua/en/aws-alb-and-cloudflare-configuring-mtls-and-aws-security-rules/
#AWS #Cloudflare #Networking #security #SSL_TLS
While preparing the infrastructure for migrating RTFM from the DigitalOcean server to AWS (see AWS: basic infrastructure setup for WordPress) I decided to also try AWS ALB mutual authentication (for some reason I thought this feature launched at the last re:Invent, at the end of 2024, but it’s actually been around since late 2023 –…
https://rtfm.co.ua/en/aws-alb-and-cloudflare-configuring-mtls-and-aws-security-rules/
#AWS #Cloudflare #Networking #security #SSL_TLS
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
AWS: ALB and Cloudflare – Configuring mTLS and AWS Security Rules
While preparing the infrastructure for migrating RTFM from the DigitalOcean server to AWS (see AWS: basic infrastructure setup for WordPress) I decided to also try AWS ALB mutual authentication (for some reason I thought this feature launched at the last…
AWS: Amazon Linux – Sending Email with Postfix via Gmail
Continuing the setup of the new RTFM server. The next step is configuring the ability to send mail from EC2, since both important messages for the root user and RTFM itself need to send emails. I was thinking of using AWS Simple Email Service – purely to refresh my memory on how to work with…
https://rtfm.co.ua/en/aws-amazon-linux-sending-email-with-postfix-via-gmail/
#Amazon_Linux #AWS #Email #Linux #Postfix #SMTP
Continuing the setup of the new RTFM server. The next step is configuring the ability to send mail from EC2, since both important messages for the root user and RTFM itself need to send emails. I was thinking of using AWS Simple Email Service – purely to refresh my memory on how to work with…
https://rtfm.co.ua/en/aws-amazon-linux-sending-email-with-postfix-via-gmail/
#Amazon_Linux #AWS #Email #Linux #Postfix #SMTP
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
AWS: Amazon Linux – Sending Email with Postfix via Gmail
Configuring root email sending on Amazon Linux AL2023 using Postfix and SASL authentication via a Gmail SMTP relay
VictoriaMetrics: using vmalert and query() in alerts for different $value values
Just a quick note, because I’ve needed to do something like this fairly often – and only today discovered how elegantly it’s done with vmalert. So, sometimes in an alert you want to display multiple $value entries, for example: - alert: OpenAI Budget Usage expr: | openai_budget_used_usd / openai_budget_total_usd * 100 > 80 ... annotations:…
https://rtfm.co.ua/en/victoriametrics-using-vmalert-and-query-in-alerts-for-different-value-values/
#monitoring #VictoriaMetrics #vmalert
Just a quick note, because I’ve needed to do something like this fairly often – and only today discovered how elegantly it’s done with vmalert. So, sometimes in an alert you want to display multiple $value entries, for example: - alert: OpenAI Budget Usage expr: | openai_budget_used_usd / openai_budget_total_usd * 100 > 80 ... annotations:…
https://rtfm.co.ua/en/victoriametrics-using-vmalert-and-query-in-alerts-for-different-value-values/
#monitoring #VictoriaMetrics #vmalert
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
VictoriaMetrics: using vmalert and query() in alerts for different $value values
VictoriaMetrics and vmalert - using the `query()` function in alert annotations to display several different metrics instead of a single `$value` from `expr`.
Okta: Configuring Grafana SSO with OIDC and Role Mapping
We finally “grew up” to using Okta on the current project, so there’s a short series of posts coming up on it. I wrote about Okta before, but that was 5-6 years ago, and there have been some interesting changes since then (see the #okta tag). Today we’ll be configuring SSO login via Okta for…
https://rtfm.co.ua/en/okta-configuring-grafana-sso-with-oidc-and-role-mapping/
#Grafana #Okta #security #SSO
We finally “grew up” to using Okta on the current project, so there’s a short series of posts coming up on it. I wrote about Okta before, but that was 5-6 years ago, and there have been some interesting changes since then (see the #okta tag). Today we’ll be configuring SSO login via Okta for…
https://rtfm.co.ua/en/okta-configuring-grafana-sso-with-oidc-and-role-mapping/
#Grafana #Okta #security #SSO
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
Okta: Configuring Grafana SSO with OIDC and Role Mapping
Configuring Grafana SSO with Okta as an Identity Provider using OIDC app, setting Custom Attributes in the App Profile, use Groups claim and Grafana Roles Mapping
VictoriaMetrics: Basic Monitoring for AWS, Linux, NGINX, and PHP
The RTFM migration from DigitalOcean to AWS went smoothly, and I’m gradually settling in. New infrastructure, everything new – so for the first while I want to keep a close eye on the server and blog state, which means setting up basic monitoring for WordPress: NGINX, PHP-FPM, the database, and the infrastructure running it all.…
https://rtfm.co.ua/en/victoriametrics-basic-monitoring-for-aws-linux-nginx-and-php/
#Amazon_Linux #AWS #AWS_CloudWatch #FreeBSD #Grafana #NGINX #Telegram #VictoriaLogs #VictoriaMetrics
The RTFM migration from DigitalOcean to AWS went smoothly, and I’m gradually settling in. New infrastructure, everything new – so for the first while I want to keep a close eye on the server and blog state, which means setting up basic monitoring for WordPress: NGINX, PHP-FPM, the database, and the infrastructure running it all.…
https://rtfm.co.ua/en/victoriametrics-basic-monitoring-for-aws-linux-nginx-and-php/
#Amazon_Linux #AWS #AWS_CloudWatch #FreeBSD #Grafana #NGINX #Telegram #VictoriaLogs #VictoriaMetrics
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
VictoriaMetrics: Basic Monitoring for AWS, Linux, NGINX, and PHP
Setting up WordPress on AWS monitoring - VictoriaMetrics, EC2 Linux metrics, NGINX, PHP-FPM, CloudWatch for ALB and RDS, and logs with Fluent Bit to VictoriaLogs
FreeBSD: Configuring FEMP – NGINX, PHP-FPM, MariaDB
Another installment in the FreeBSD Home NAS series, though this one isn’t really about the NAS – it’s purely about running web services. The full FreeBSD/NAS series starts here – FreeBSD: Home NAS, part 1 – ZFS mirror setup, which now has 15 parts, but FEMP gets its own post. My FreeBSD host already runs…
https://rtfm.co.ua/en/freebsd-configuring-femp-nginx-php-fpm-mariadb/
#FEMP #FreeBSD #MariaDB #NGINX #WordPress
Another installment in the FreeBSD Home NAS series, though this one isn’t really about the NAS – it’s purely about running web services. The full FreeBSD/NAS series starts here – FreeBSD: Home NAS, part 1 – ZFS mirror setup, which now has 15 parts, but FEMP gets its own post. My FreeBSD host already runs…
https://rtfm.co.ua/en/freebsd-configuring-femp-nginx-php-fpm-mariadb/
#FEMP #FreeBSD #MariaDB #NGINX #WordPress
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
FreeBSD: Configuring FEMP – NGINX, PHP-FPM, MariaDB
Step-by-step guide to configuring the FEMP stack on FreeBSD: NGINX virtual hosts for Grafana and VictoriaMetrics, PHP-FPM pools, MariaDB, and WordPress installation
AWS: Setting up Okta SSO with AWS IAM Identity Center
In the previous part of the Okta series we set up SSO for Grafana (see Okta: configuring Grafana SSO with OIDC and Role mapping) – now for a more interesting task: configuring SSO for AWS, with not just login but also user provisioning. Okta has a ready-made AWS IAM Identity Center App that lets you…
https://rtfm.co.ua/en/aws-setting-up-okta-sso-with-aws-iam-identity-center/
#AWS #AWS_IAM #Okta #security #SSO
In the previous part of the Okta series we set up SSO for Grafana (see Okta: configuring Grafana SSO with OIDC and Role mapping) – now for a more interesting task: configuring SSO for AWS, with not just login but also user provisioning. Okta has a ready-made AWS IAM Identity Center App that lets you…
https://rtfm.co.ua/en/aws-setting-up-okta-sso-with-aws-iam-identity-center/
#AWS #AWS_IAM #Okta #security #SSO
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
AWS: Setting up Okta SSO with AWS IAM Identity Center
Step-by-step guide to setting up Okta SSO for AWS via IAM Identity Center using SAML and SCIM: groups synchronization, creating AWS Organizations and Permission Sets
SSL/TLS: Self-signed Certificate Authority for NGINX on FreeBSD
I run a bunch of web services on my home NAS – Grafana, VictoriaMetrics, my own WordPress blog, and half a dozen other small things. The whole series of posts on FreeBSD and NAS starts here – FreeBSD: Home NAS, part 1 – setting up ZFS mirror, there are 15 parts as of now. NGINX+PHP…
https://rtfm.co.ua/en/ssl-tls-self-signed-certificate-authority-for-nginx-on-freebsd/
#FreeBSD #Linux #NGINX #SSL_TLS
I run a bunch of web services on my home NAS – Grafana, VictoriaMetrics, my own WordPress blog, and half a dozen other small things. The whole series of posts on FreeBSD and NAS starts here – FreeBSD: Home NAS, part 1 – setting up ZFS mirror, there are 15 parts as of now. NGINX+PHP…
https://rtfm.co.ua/en/ssl-tls-self-signed-certificate-authority-for-nginx-on-freebsd/
#FreeBSD #Linux #NGINX #SSL_TLS
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
SSL/TLS: Self-signed Certificate Authority for NGINX on FreeBSD
Setting up your own Certificate Authority on FreeBSD, signing a wildcard SSL/TLS certificate for NGINX, and adding the CA to the trust store on FreeBSD and Linux clients
Okta: Integration with Google Workspaces, Part 1 – Provisioning
Continuing with Okta setup for our project. In previous parts we did SSO for Grafana (see Okta: setting up Grafana SSO with OIDC and Role mapping) and AWS (see AWS: setting up Okta SSO with AWS IAM Identity Center), and now the most interesting part: integrating Okta with Google Workspaces. What we’ll need to do:…
https://rtfm.co.ua/en/okta-integration-with-google-workspaces-part-1-provisioning/
#Google #Okta #security
Continuing with Okta setup for our project. In previous parts we did SSO for Grafana (see Okta: setting up Grafana SSO with OIDC and Role mapping) and AWS (see AWS: setting up Okta SSO with AWS IAM Identity Center), and now the most interesting part: integrating Okta with Google Workspaces. What we’ll need to do:…
https://rtfm.co.ua/en/okta-integration-with-google-workspaces-part-1-provisioning/
#Google #Okta #security
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
Okta: Integration with Google Workspaces, Part 1 – Provisioning
Configuring Okta Provisioning for Google Workspace: SCIM, user import and export, and lifecycle management - synchronizing users between Okta and Google
Claude Code: creating Kubernetes debugging AI Agent for VictoriaMetrics
While I’m working on a series of posts about setting up and using Claude Code, here’s a quick example of building my own AI Agent for VictoriaMetrics and Kubernetes, “wrapping” it into a Claude Code Plugin, and creating my own Claude Code Marketplace where similar plugins for developers on my project will live. The general…
https://rtfm.co.ua/en/claude-code-creating-kubernetes-debugging-ai-agent-for-victoriametrics/
#AI #Kubernetes #VictoriaMetrics
While I’m working on a series of posts about setting up and using Claude Code, here’s a quick example of building my own AI Agent for VictoriaMetrics and Kubernetes, “wrapping” it into a Claude Code Plugin, and creating my own Claude Code Marketplace where similar plugins for developers on my project will live. The general…
https://rtfm.co.ua/en/claude-code-creating-kubernetes-debugging-ai-agent-for-victoriametrics/
#AI #Kubernetes #VictoriaMetrics
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
Claude Code: creating Kubernetes debugging AI Agent for VictoriaMetrics
Creating a Claude Code Marketplace and a Claude Code Plugin with a custom AI agent for Kubernetes debugging using VictoriaMetrics Skills
Hermes Agent: Running an AI Agent in a FreeBSD Jail with Bastille
I’ll write about Hermes Agent itself and what it can do separately – today it’s about how to run it on FreeBSD. Yesterday I played around with it on my Arch Linux – now I want a more production setup. I’ll be running it on my NAS with FreeBSD, and obviously only inside a FreeBSD…
https://rtfm.co.ua/en/hermes-agent-running-an-ai-agent-in-a-freebsd-jail-with-bastille/
#AI #FreeBSD #FreeBSD_Jails #Hermes_Agent
I’ll write about Hermes Agent itself and what it can do separately – today it’s about how to run it on FreeBSD. Yesterday I played around with it on my Arch Linux – now I want a more production setup. I’ll be running it on my NAS with FreeBSD, and obviously only inside a FreeBSD…
https://rtfm.co.ua/en/hermes-agent-running-an-ai-agent-in-a-freebsd-jail-with-bastille/
#AI #FreeBSD #FreeBSD_Jails #Hermes_Agent
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
Hermes Agent: Running an AI Agent in a FreeBSD Jail with Bastille
Hermes Agent in a FreeBSD Jail with Bastille: Installation, Dependency Configuration, and Running the AI Agent on a Home NAS
FreeBSD: Jails Networking and Container Management with Bastille
Sometimes on FreeBSD you need to run services that aren’t officially supported by FreeBSD, and this post actually came about because I was installing Open WebUI on my NAS – and Open WebUI was easier to set up on Linux. So I spun it up in a FreeBSD Linux jail, and to create the container…
https://rtfm.co.ua/en/freebsd-jails-networking-and-container-management-with-bastille/
#FreeBSD #FreeBSD_Jails #Linux #Networking
Sometimes on FreeBSD you need to run services that aren’t officially supported by FreeBSD, and this post actually came about because I was installing Open WebUI on my NAS – and Open WebUI was easier to set up on Linux. So I spun it up in a FreeBSD Linux jail, and to create the container…
https://rtfm.co.ua/en/freebsd-jails-networking-and-container-management-with-bastille/
#FreeBSD #FreeBSD_Jails #Linux #Networking
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
FreeBSD: Jails Networking and Container Management with Bastille
An Introduction to Containers in FreeBSD - jails, Bastille, Networking with VNET, Alias, and NAT, Interfaces, Creating FreeBSD and Linux Jails
👍1
Arch Linux: WireGuard Peer for Connecting to MikroTik
In the post MikroTik: setting up WireGuard and connecting Linux peers I described how to set up MikroTik as a VPN Hub and connect a peer running on Debian Linux. Setup on Arch Linux is mostly the same as on Debian – but every time I end up digging through this blog and my other…
https://rtfm.co.ua/en/arch-linux-wireguard-peer-for-connecting-to-mikrotik/
#Arch_Linux #DNS #MikroTik #VPN
In the post MikroTik: setting up WireGuard and connecting Linux peers I described how to set up MikroTik as a VPN Hub and connect a peer running on Debian Linux. Setup on Arch Linux is mostly the same as on Debian – but every time I end up digging through this blog and my other…
https://rtfm.co.ua/en/arch-linux-wireguard-peer-for-connecting-to-mikrotik/
#Arch_Linux #DNS #MikroTik #VPN
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
Arch Linux: WireGuard Peer for Connecting to MikroTik
Configuring WireGuard Peer on Arch Linux to connect to MikroTik—key generation, wg0 config, and fixing the “resolvconf signature mismatch” issue with NetworkManager
OpenTelemetry: OTel Collectors in Kubernetes and VictoriaMetrics Stack integration
Today let’s talk about how to run OpenTelemetry in Kubernetes and integrate it with the VictoriaMetrics stack – VictoriaMetrics for metrics, VictoriaLogs for logs, and VictoriaTraces for traces. Actually, this post wasn’t planned at all, and once a draft did appear – it was supposed to be the third in the series, but in the…
https://rtfm.co.ua/en/opentelemetry-otel-collectors-in-kubernetes-and-victoriametrics-stack-integration/
#Kubernetes #monitoring #observability #OpenTelemetry #VictoriaLogs #VictoriaMetrics
Today let’s talk about how to run OpenTelemetry in Kubernetes and integrate it with the VictoriaMetrics stack – VictoriaMetrics for metrics, VictoriaLogs for logs, and VictoriaTraces for traces. Actually, this post wasn’t planned at all, and once a draft did appear – it was supposed to be the third in the series, but in the…
https://rtfm.co.ua/en/opentelemetry-otel-collectors-in-kubernetes-and-victoriametrics-stack-integration/
#Kubernetes #monitoring #observability #OpenTelemetry #VictoriaLogs #VictoriaMetrics
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
OpenTelemetry: OTel Collectors in Kubernetes and VictoriaMetrics Stack integration
OpenTelemetry Collector in Kubernetes: Key Concepts, Configuration, OTel Gateway and Kubernetes Collector, Exporting to VictoriaMetrics and VictoriaLogs
VictoriaTraces: Tracing, Observability, and OpenTelemetry
On the project, we’ve gradually grown to the point where it’s time to have proper tracing – to build real observability, not just monitoring. A long time ago I did something similar with Jaeger – a monster, and it kind of stayed in my drafts from 2019 or 2020. Since right now our entire stack…
https://rtfm.co.ua/en/victoriatraces-tracing-observability-and-opentelemetry/
#Grafana #Kubernetes #observability #OpenTelemetry #VictoriaLogs #VictoriaMetrics
On the project, we’ve gradually grown to the point where it’s time to have proper tracing – to build real observability, not just monitoring. A long time ago I did something similar with Jaeger – a monster, and it kind of stayed in my drafts from 2019 or 2020. Since right now our entire stack…
https://rtfm.co.ua/en/victoriatraces-tracing-observability-and-opentelemetry/
#Grafana #Kubernetes #observability #OpenTelemetry #VictoriaLogs #VictoriaMetrics
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice.
VictoriaTraces: Tracing, Observability, and OpenTelemetry
OpenTelemetry and Observability in theory, deploying VictoriaTraces on Kubernetes, integration with Grafana and VictoriaLogs, and VMAlert for trace metrics