Saturday, June 21, 2025

Show HN: We moved from AWS to Hetzner, saved 90%, kept ISO 27001 with Ansible https://ift.tt/d4lcu5r

Show HN: We moved from AWS to Hetzner, saved 90%, kept ISO 27001 with Ansible Earlier this year I led our migration off AWS to European cloud (Hetzner + OVHcloud), driven by cost (we cut 90%) and data sovereignty (GDPR + CLOUD Act concerns). We rebuilt key AWS features ourselves using Terraform for VPS provisioning, and Ansible for everything from hardening (auditd, ufw, SSH policies) to rolling deployments (with Cloudflare integration). Our Prometheus + Alertmanager + Blackbox setup monitors infra, apps, and SSL expiry, with ISO 27001-aligned alerts. Loki + Grafana Agent handle logs to S3-compatible object storage. The stack includes: • Ansible roles for PostgreSQL (with automated s3cmd backups + Prometheus metrics) • Hardening tasks (auditd rules, ufw, SSH lockdown, chrony for clock sync) • Rolling web app deploys with rollback + Cloudflare draining • Full monitoring with Prometheus, Alertmanager, Grafana Agent, Loki, and exporters • TLS automation via Certbot in Docker + Ansible I wrote up the architecture, challenges, and lessons learned: https://ift.tt/Lex9Oo1... I’m happy to share insights, diagrams, or snippets if people are interested — or answer questions on pitfalls, compliance, or cost modeling. https://ift.tt/YpNyVqH June 21, 2025 at 01:02PM

No comments:

Post a Comment