[{"categories":["Infrastructure"],"content":"Mes amis et collègues se moquent souvent de moi en disant que mon passe-temps, c\u0026rsquo;est de faire la même chose qu\u0026rsquo;au travail\u0026hellip;\n\u0026hellip; c\u0026rsquo;est à la fois vrai et faux.\nC\u0026rsquo;est vrai car, l\u0026rsquo;infra étant ma passion, j\u0026rsquo;y consacre un temps considérable.\nC\u0026rsquo;est faux car je me permets chez moi à peu près tout ce que je m\u0026rsquo;interdis au travail. Au boulot, je m\u0026rsquo;impose simplicité et efficacité. À la maison, je m\u0026rsquo;autorise à \u0026ldquo;me faire plaisir\u0026rdquo; : des archis plus complexes que nécessaire, des outils que je ne maîtrise pas encore\u0026hellip; quitte à tout refaire trois mois plus tard 🙃. Et c\u0026rsquo;est justement ce qui me permet de faire simple au travail : quand j\u0026rsquo;écarte une solution, c\u0026rsquo;est souvent parce que je l\u0026rsquo;ai déjà essayée chez moi.\nLe revers, c\u0026rsquo;est que tout ça n\u0026rsquo;est souvent documenté que par quelques notes en vrac dans Obsidian, et que ce pauvre blog est resté en jachère depuis 2024\u0026hellip; mais j\u0026rsquo;ai bien envie de partager les dingueries mises en place entre-temps, alors je vais essayer de reprendre la plume avec un peu plus d\u0026rsquo;assiduité. Je préfère ne pas vous promettre monts et merveilles : j\u0026rsquo;ai un travail prenant, un enfant et toujours trois projets de trop en cours\u0026hellip; je consacre à ce blog le temps libre de mon temps libre 😉\nEn tout cas, j\u0026rsquo;ai de quoi faire dans les tiroirs !\nJingle, j\u0026rsquo;envoie le teaser :\nUne nouvelle infra, avec :\nUn serveur principal tout beau tout neuf (i5-13500, 48 Go de DDR4) : c\u0026rsquo;est maintenant Proxmox qui mène la danse. Un nouveau cœur de réseau OpenWrt, directement en VM sur ce serveur, avec deux points d\u0026rsquo;accès Wi-Fi et une vingtaine de VLAN. Un NAS qui ne contient que des copies, et qui se fait lui-même aspirer toutes les nuits par un Raspberry Pi installé chez mes parents, via un WireGuard dédié (ça vaudra bien un petit billet à part entière). Deux petits VPS chez deux fournisseurs différents, qui servent une copie de mes sites publics quand la maison tombe\u0026hellip; et qui me préviennent quand c\u0026rsquo;est le cas (ça aussi ça vaudra au moins un billet). Et bien sûr le tout as-code (OpenTofu pour créer les machines, Ansible pour les configurer, et un orchestrateur GitOps maison pour tout ce qui tourne en compose), avec plein de subtilités que je suis bien pressé de vous partager.\nFaire joujou, oui, mais pas avec la sécurité : ma famille se sert de tout ça tous les jours, alors rien ne passe d\u0026rsquo;un VLAN à l\u0026rsquo;autre sans règle explicite, c\u0026rsquo;est un service par VM (ou presque), des conteneurs rootless partout où c\u0026rsquo;est possible, et des onduleurs derrière tout ce qui doit rester allumé (ça en fait quelques-uns\u0026hellip;).\nDu Cloudflare en façade\u0026hellip; oui, oui, moi qui tiens tant à la souveraineté et qui auto-héberge tout ce que je peux (prochain chantier : mes mails). Je ferai un article pour expliquer comment je concilie souveraineté, haute disponibilité et instinct d\u0026rsquo;ingénieur, sans tomber dans le dogmatisme.\nDes services auto-hébergés en pagaille : Forgejo (bientôt GitLab, pour expérimenter), NetBox, Vaultwarden, Paperless-ngx, Nextcloud, Radicale, Synapse\u0026hellip;\nUn nouveau lab basé sur six ThinkCentre Tiny M715q et mon bon vieux NUC, avec un routeur dédié. De quoi tester de la haute dispo pour de vrai : du Kube, des clusters de VM, de BDD et plus encore. Je m\u0026rsquo;apprête à y jouer avec OpenSCAP, GitLab, Talos Linux\u0026hellip;\nUn outil de visualisation de mon infra, développé avec l\u0026rsquo;IA : les machines, les services, les réseaux, les flux\u0026hellip; et surtout, en temps réel, ce qui diffère entre le déclaratif (GitOps, NetBox\u0026hellip;) et l\u0026rsquo;effectif.\nUne domotique plus puissante et smart que jamais : le chauffage, l\u0026rsquo;eau chaude, le multimédia et bien d\u0026rsquo;autres, avec des profils intelligents en fonction de qui est à la maison et de mes plannings (télétravail\u0026hellip;).\nLa grande nouveauté, c\u0026rsquo;est que je me suis sérieusement remis à l\u0026rsquo;électronique, et que je ne compte plus mes heures sur KiCad ou à manier le fer à souder. Je travaille notamment sur un appareil de télécommunication ludique (télex, VoIP, télégraphe) pour mon fils et mon filleul\u0026hellip; et sur un projet d\u0026rsquo;assez grande ampleur dont je ne vous parlerai que quand j\u0026rsquo;aurai réglé les questions de propriété intellectuelle :-)\nBref, stay tuned comme on dit, car il va y avoir de quoi lire :-)\nCe billet restera épinglé quelque temps : j\u0026rsquo;y ajouterai les liens vers les articles au fur et à mesure.\n","permalink":"https://gbweb.fr/post/reprise/","tags":["Homelab","Réseau","Domotique","Électronique"],"title":"Le blog reprend (et j'ai des choses à raconter)"},{"categories":["Infrastructure"],"content":"Quand j\u0026rsquo;ai mis mes premiers serveurs en ligne, HTTPS était tout juste connu comme \u0026ldquo;le truc compliqué pour le e-commerce\u0026rdquo; et on ne s\u0026rsquo;en souciait ABSOLUMENT PAS.\nAujourd\u0026rsquo;hui, même pour un service qui ne fait que discuter entre deux serveurs sur mon propre LAN à la maison, il ne me viendrait même pas à l\u0026rsquo;idée de rester en HTTP pur.\nLes certificats auto-signés sont une plaie : ils lèvent des erreurs partout (pour de très bonnes raisons) et mènent à des failles de sécurité\u0026hellip; en plus, de plus en plus de bibliothèques (et donc de logiciels) les rejettent.\nGérer une PKI demande beaucoup de travail. Il faut installer le certificat de sa propre CA sur tous ses appareils (et si l\u0026rsquo;un d\u0026rsquo;eux tourne sous Android ou iOS, que Dieu vous vienne en aide).\nIl nous reste donc le certificat signé par une autorité de certification publique\u0026hellip; Le principal problème de cette solution, c\u0026rsquo;est que la Certificate Transparency expose au public des informations sensibles sur votre infrastructure : si vous faites signer le certificat veeam.local.votredomaine.tld, n\u0026rsquo;importe qui peut deviner que vous utilisez Veeam comme solution de sauvegarde. La parade est simple : utiliser des certificats wildcard en interne.\nBien sûr, il faudra passer par une validation par challenge DNS.\nIl vous faut absolument un outil comme Certbot pour gérer le renouvellement de vos certificats, et il aura besoin d\u0026rsquo;un accès en écriture à votre zone DNS. Utilisez l\u0026rsquo;API de votre fournisseur DNS avec un jeton aux permissions minimales (perso, je filtre aussi par IP). C\u0026rsquo;est sensible, alors traitez-le avec soin.\nPour obtenir des certificats signés publiquement, vous devrez évidemment utiliser un nom de domaine public pour vos besoins internes (bon courage pour faire signer votre \u0026ldquo;nas.local\u0026rdquo; par une autorité publique). Mais c\u0026rsquo;est une bonne chose :\nD\u0026rsquo;abord, vous ne devriez jamais utiliser le TLD .local : il est réservé au mDNS et vous vaudra d\u0026rsquo;innombrables problèmes de compatibilité. Même si vous choisissez un TLD inventé, que se passera-t-il s\u0026rsquo;il est vendu et utilisé sur Internet dans quelques mois ? L\u0026rsquo;avantage de local.votredomaine.tld, c\u0026rsquo;est qu\u0026rsquo;il vous appartient réellement. Pour le clin d\u0026rsquo;œil, chez moi tous les domaines, hostnames, alias et autres font référence à l\u0026rsquo;espace. Donc mes sous-domaines locaux sont :\n*.fleet.gbweb.fr pour les machines *.iss.gbweb.fr pour les services (qui sont un peu les modules du grand labo qu\u0026rsquo;est mon infra) Bien sûr, vous ne voulez pas que quelqu\u0026rsquo;un d\u0026rsquo;extérieur à votre réseau puisse résoudre quoi que ce soit dans ce domaine\u0026hellip; et c\u0026rsquo;est là qu\u0026rsquo;entre en scène le split-DNS !\nC\u0026rsquo;est assez simple, en fait : installez votre propre DNS dans votre réseau (un simple Dnsmasq fera l\u0026rsquo;affaire) et ne lui faites gérer que la zone local.votredomaine.tld. Tout le reste est délégué aux DNS publics. Ce n\u0026rsquo;est pas une mauvaise idée de s\u0026rsquo;assurer que votre DNS est joignable en IPv6 (même si vous choisissez de ne résoudre que des adresses IPv4 en local), pour la compatibilité avec les OS modernes.\nVous devriez sans doute vous appuyer sur le DHCP pour annoncer votre serveur DNS à tous vos appareils locaux (n\u0026rsquo;oubliez pas le DHCPv6). (Un jour, peut-être, j\u0026rsquo;écrirai un article sur la façon dont je gère ma pile IPv4/IPv6 à la maison)\nJ\u0026rsquo;utilise Cloudflare pour protéger tout ce que j\u0026rsquo;expose publiquement. Du coup, le seul à connaître mon adresse IP publique, c\u0026rsquo;est Cloudflare (là aussi j\u0026rsquo;écrirai un article sur le pourquoi du comment de Cloudflare malgré ma volonté de souveraineté maximale, pour le coup celui-ci est dans les tuyaux).\nQuand n\u0026rsquo;importe qui, n\u0026rsquo;importe où dans le monde, fait une requête pour l\u0026rsquo;un de mes domaines locaux, il obtient l\u0026rsquo;adresse IP du reverse-proxy de Cloudflare. Quand la requête vient de l\u0026rsquo;un de mes réseaux internes (y compris à travers mon VPN), elle est relayée par mon DNS privé.\nQuand n\u0026rsquo;importe qui, n\u0026rsquo;importe où dans le monde, fait une requête pour l\u0026rsquo;un de mes domaines privés, il obtient une erreur : les DNS publics ne les connaissent pas. Quand la requête vient de l\u0026rsquo;un de mes réseaux internes (y compris à travers mon VPN), elle est traitée directement par mon DNS privé.\nQuand n\u0026rsquo;importe qui, n\u0026rsquo;importe où dans le monde, accède à l\u0026rsquo;un de mes services publics, la connexion entre le navigateur et Cloudflare est sécurisée par un certificat géré par Cloudflare pour mon nom de domaine. La connexion entre Cloudflare et mon serveur est sécurisée par un certificat émis par Cloudflare à cet effet (ce certificat est valable 15 ans, donc je n\u0026rsquo;ai pas à me soucier des renouvellements, et c\u0026rsquo;est suffisamment sûr puisque seules les IP de Cloudflare sont autorisées à interroger mon serveur web). Quand j\u0026rsquo;accède à l\u0026rsquo;un de mes services privés depuis mes réseaux locaux, la connexion entre le client et le serveur est sécurisée par un certificat Let\u0026rsquo;s Encrypt.\nVoilà, rien que de très classique, finalement\u0026hellip; mais je suis souvent étonné de voir que ce modèle (pourtant recommandé) fait encore lever quelques sourcils.\n","permalink":"https://gbweb.fr/post/split_dns_config/","tags":["DNS","Sécurité","Réseau"],"title":"Split-DNS et certificats"},{"categories":["Infrastructure as Code"],"content":"Il y a quelque temps, j\u0026rsquo;ai eu besoin d\u0026rsquo;un petit VPS pour que mes étudiants puissent pratiquer en cours comme à la maison. Je le payais de ma poche, il fallait donc qu\u0026rsquo;il coûte le moins cher possible.\nJ\u0026rsquo;ai opté pour un VPS AWS Lightsail : à l\u0026rsquo;époque, je n\u0026rsquo;avais pas assez de puissance de calcul à la maison pour l\u0026rsquo;auto-héberger, et pour une machine jetable, sans aucune donnée dessus, un peu de cloud public ne me posait pas de problème.\nMes étudiants n\u0026rsquo;avaient pas besoin que le VPS tourne 24h/24 : seulement pendant les cours et quand ils faisaient leurs devoirs (pour ceux qui les faisaient ;p). Je me suis donc demandé s\u0026rsquo;il y avait moyen de ne payer la VM que quand elle tourne\u0026hellip;\nJ\u0026rsquo;en suis arrivé à une solution très basique :\nUn simple portail web en Flask permettant à mes étudiants de : connaître l\u0026rsquo;état du VPS démarrer le VPS pour une durée donnée (s\u0026rsquo;il est éteint) voir combien de temps il leur reste, et le prolonger (s\u0026rsquo;il est allumé) Un jeu de scripts Python basés sur le boto3 d\u0026rsquo;Amazon gère le cycle de vie du VPS : Quand le temps est écoulé, il : éteint la VM en fait un snapshot supprime la VM Quand un démarrage est demandé, il recrée simplement une VM à partir du snapshot Bien sûr, tout ça n\u0026rsquo;a de sens que parce que le stockage des snapshots ne coûte presque rien et que mon VPS était très léger (moins de 8 Go à snapshotter, ce qui me coûtait moins de 50 centimes par mois).\nLe seul inconvénient, c\u0026rsquo;est que l\u0026rsquo;adresse IP change à chaque fois qu\u0026rsquo;on recrée le VPS. J\u0026rsquo;ai contourné ça en :\naffichant l\u0026rsquo;adresse IP sur le portail web configurant du DynDNS sur le VPS en utilisant un de mes domaines Bien sûr, j\u0026rsquo;ai utilisé Ansible pour configurer la VM, histoire de pouvoir la reproduire l\u0026rsquo;année suivante 😉\nTout est disponible sur mon GitHub Mise à jour, novembre 2026\nVoilà, je n\u0026rsquo;ai pas non plus inventé la poudre ici, mais ce petit bricolage rapide me permettait d\u0026rsquo;économiser pas mal de sous tout en offrant un réel confort de travail à mes étudiants. Je ne donne actuellement pas de cours mais quand je reprendrai, je pense qu\u0026rsquo;on partira tout simplement sur une VM Proxmox maintenant que j\u0026rsquo;ai (largement) la puissance de calcul nécessaire.\n","permalink":"https://gbweb.fr/post/on_demand_aws_vm/","tags":["Python","Automatisation","Enseignement"],"title":"Une VM à la demande pour mes étudiants"},{"categories":null,"content":" Je suis ingénieur infrastructure / DevSecOps, installé à Brest.\nMon métier, c\u0026rsquo;est l\u0026rsquo;infra on-premise et le cloud privé : des plateformes que l\u0026rsquo;on maîtrise de bout en bout, décrites as-code, et aussi simples que possible\u0026hellip; avec la sécurité comme fil rouge.\nParcours En 2004, pour mon onzième anniversaire, j\u0026rsquo;ai demandé mon premier nom de domaine (la première trace de ma présence sur le web est un immonde site FrontPage à la gloire du Concorde).\nÀ treize ans, j\u0026rsquo;ai installé mon premier serveur dans le sous-sol de mes parents. Je fais partie de ces gens qui ont reçu des CD Ubuntu par la poste (vous vous souvenez ?). Je passais plus de temps à assembler des ordinateurs à partir de vieux modèles et à y installer divers systèmes d\u0026rsquo;exploitation qu\u0026rsquo;à les utiliser réellement\u0026hellip;\nAu lycée, ma chambre ressemblait à quelque chose entre un atelier de réparation informatique et une petite salle machine (mon père l\u0026rsquo;appelait \u0026ldquo;le SICOB\u0026rdquo; pour ceux qui ont la ref).\nAprès des études d\u0026rsquo;ingénieur en aérospatiale (spécialité systèmes embarqués), j\u0026rsquo;ai rejoint le groupe Thales, en R\u0026amp;D Défense, en tant que développeur logiciel et suis rapidement devenu un ingénieur système (assez polyvalent). Cette polyvalence m\u0026rsquo;a particulièrement plu, et j\u0026rsquo;ai découvert que j\u0026rsquo;étais doué pour résoudre des problèmes techniques et concevoir des systèmes impliquant un large éventail de technologies.\nEn 2021, comme beaucoup après la pandémie, mon épouse et moi avons souhaité essayer un nouveau mode de vie et nous avons déménagé en Bretagne, où j\u0026rsquo;ai rejoint un cloud-provider régional finistérien en tant que DevSecOps. J\u0026rsquo;ai rapidement gravi les échelons jusqu\u0026rsquo;à un poste d\u0026rsquo;architecte et conçu une plateforme Kubernetes on-premise de A à Z, en environnement isolé. Cette plateforme est :\nEntièrement déployée ET configurée as-code (déclarative) Basée sur des logiciels open source standards Parfaitement intégrée dans l\u0026rsquo;infrastructure et l\u0026rsquo;écosystème de l\u0026rsquo;entreprise (réseau, stockage, sauvegarde, sécurité) Proposée en self-service multi-tenant (à partir d\u0026rsquo;un catalogue d\u0026rsquo;applications basé sur Helm, où chaque application est hautement personnalisable par le client) En parallèle, j\u0026rsquo;ai enseigné Linux et les systèmes d\u0026rsquo;exploitation en école d\u0026rsquo;ingénieurs pendant un an et demi (j\u0026rsquo;en ai gardé quelques outils \u0026hellip; et beaucoup de respect pour les profs).\nDepuis 2025, je suis Senior Platform Engineer dans une licorne de la tech : du Kubernetes à grande échelle, du bare-metal, de la gestion de secrets, du stockage persistant\u0026hellip; et les astreintes qui vont avec, parce qu\u0026rsquo;on ne construit bien que ce dont on répond.\nEt comme ça ne me suffit visiblement pas, l\u0026rsquo;infra occupe aussi une bonne part de mon temps libre : je vous raconte ça ici .\nCompétences Linux : Debian, RHEL, systemd, SELinux\u0026hellip; Kubernetes on-premise : conception, déploiement et exploitation, stockage (CSI), réseau (CNI), Helm, Kyverno\u0026hellip; Virtualisation : KVM, Proxmox, VMware Tout as-code : Ansible, Terraform / OpenTofu, Packer, CI/CD Développement : Python surtout, Go, Bash Sécurité : durcissement, gestion des secrets (Vault), Keycloak, scan d\u0026rsquo;images Données et stockage : PostgreSQL, Kafka, Longhorn, SAN De manière générale, je me distingue par un haut degré d\u0026rsquo;importance accordé à la compréhension des couches \u0026ldquo;bas niveau\u0026rdquo;, une approche holistique et une très forte capacité d\u0026rsquo;adaptation.\nMa première qualité est (je crois) de connaître mes limites et de savoir recueillir l\u0026rsquo;avis des experts.\nMe contacter Par mail à guillaume@gbweb.fr , ou sur LinkedIn et GitHub .\n","permalink":"https://gbweb.fr/about/","tags":null,"title":"À propos de moi"},{"categories":null,"content":"","permalink":"https://gbweb.fr/search/_index.es/","tags":null,"title":""},{"categories":null,"content":"","permalink":"https://gbweb.fr/search/_index.hi/","tags":null,"title":""},{"categories":null,"content":"","permalink":"https://gbweb.fr/search/_index.jp/","tags":null,"title":""},{"categories":null,"content":"","permalink":"https://gbweb.fr/search/_index.pl/","tags":null,"title":""},{"categories":null,"content":"","permalink":"https://gbweb.fr/search/_index.ru/","tags":null,"title":""},{"categories":null,"content":"","permalink":"https://gbweb.fr/search/_index.zh-cn/","tags":null,"title":""},{"categories":["Infrastructure"],"content":"My friends and colleagues often make fun of me, saying that my hobby is doing the same thing I do at work\u0026hellip;\n\u0026hellip; which is both true and false.\nTrue because, infra being my passion, I spend a considerable amount of time on it.\nFalse because at home I allow myself pretty much everything I forbid myself at work. At work, I stick to simplicity and efficiency. At home, I let myself \u0026ldquo;have fun\u0026rdquo;: architectures more complex than they need to be, tools I have not mastered yet\u0026hellip; even if it means redoing everything three months later 🙃. And that is precisely what lets me keep things simple at work: when I rule out a solution, it is often because I have already tried it at home.\nThe downside is that all of this is often documented by nothing more than a few loose notes in Obsidian, and this poor blog has been lying fallow since 2024\u0026hellip; but I really feel like sharing the crazy stuff I have set up in the meantime, so I will try to pick up the pen a bit more regularly. I would rather not promise you the moon: I have a demanding job, a child and always three projects too many going on\u0026hellip; this blog gets the spare time of my spare time 😉\nAnyway, I have plenty in the drawers!\nCue the jingle, here comes the teaser:\nA new infra, with:\nA brand new main server (i5-13500, 48 GB of DDR4): Proxmox now runs the show. A new OpenWrt network core, running as a VM on that very server, with two Wi-Fi access points and about twenty VLANs. A NAS that holds nothing but copies, and that itself gets pulled every night by a Raspberry Pi sitting at my parents\u0026rsquo; place, through a dedicated WireGuard tunnel (that will be worth a little post of its own). Two small VPS at two different providers, which serve a copy of my public sites when the house goes down\u0026hellip; and let me know when it does (that one will be worth at least a post too). And of course, all of it as code (OpenTofu to create the machines, Ansible to configure them, and a homemade GitOps orchestrator for everything that runs in compose), with plenty of subtleties I cannot wait to share with you.\nPlaying around, yes, but not with security: my family uses all this every day, so nothing goes from one VLAN to another without an explicit rule, it is one service per VM (or almost), rootless containers wherever possible, and UPSes behind everything that has to stay on (that makes quite a few\u0026hellip;).\nCloudflare in front of it all\u0026hellip; yes, yes, me, who cares so much about sovereignty and self-hosts everything I can (next project: my email). I will write a post to explain how I reconcile sovereignty, high availability and an engineer\u0026rsquo;s instinct, without falling into dogmatism.\nSelf-hosted services galore: Forgejo (soon GitLab, to experiment), NetBox, Vaultwarden, Paperless-ngx, Nextcloud, Radicale, Synapse\u0026hellip;\nA new lab built on six ThinkCentre Tiny M715q and my good old NUC, with a dedicated router. Enough to test high availability for real: Kube, VM clusters, database clusters and more. I am about to play there with OpenSCAP, GitLab, Talos Linux\u0026hellip;\nA visualization tool for my infra, built with AI: machines, services, networks, flows\u0026hellip; and above all, in real time, what differs between the declared state (GitOps, NetBox\u0026hellip;) and the actual one.\nHome automation more powerful and smarter than ever: heating, hot water, multimedia and many more, with smart profiles depending on who is home and on my schedule (remote work\u0026hellip;).\nThe big news is that I have seriously gotten back into electronics, and I have lost count of the hours spent in KiCad or with a soldering iron in hand. Among other things, I am working on a playful telecommunication device (telex, VoIP, telegraph) for my son and my godson\u0026hellip; and on a fairly large project that I will only tell you about once I have sorted out the intellectual property questions :-)\nIn short, stay tuned, because there will be plenty to read :-)\nThis post will stay pinned for a while: I will add links to the articles as they come out.\n","permalink":"https://gbweb.fr/en/post/reprise/","tags":["Homelab","Network","Home automation","Electronics"],"title":"The blog is back (and I have stories to tell)"},{"categories":["Infrastructure"],"content":"When I put my first servers online, HTTPS was barely known as \u0026ldquo;the complicated thing for e-commerce\u0026rdquo; and we did not care about it AT ALL.\nToday, even for a service that only communicates between two servers on my own LAN at home, I wouldn\u0026rsquo;t even consider sticking to pure HTTP.\nSelf-signed certificates are awful: they throw errors everywhere (for very good reasons) and lead to security breaches\u0026hellip; moreover, more and more libraries (and thus software) reject them.\nManaging a PKI involves a lot of work. You have to install your own CA certificate on all your devices (and if any of those devices are Android or iOS, may God help you).\nSo, we are left with a certificate signed by a public certificate authority\u0026hellip; The main problem with this solution is that Certificate Transparency will expose sensitive information about your infrastructure to the public: if you sign the certificate veeam.local.yourdomain.tld, anyone could guess that you use Veeam as a backup solution. The easy workaround is to simply use wildcard certificates internally.\nOf course, you will have to use DNS challenge validation.\nYou absolutely need to use a tool such as Certbot to handle your certificate renewals, and it will need to have write access to your DNS zone. You should use your DNS provider\u0026rsquo;s API with a token that has minimal permissions (personally, I also filter by IP). This is sensitive, so treat it with care.\nTo obtain publicly signed certificates, you will obviously need to use a public domain name for your internal needs (good luck having your \u0026ldquo;nas.local\u0026rdquo; signed by a public authority). But this is a good thing:\nFirst, you should never ever use the .local TLD: it is reserved for mDNS and will lead to countless compatibility issues. Even if you choose to use a made-up TLD, what if it is sold and used on the internet in a few months? The advantage of local.yourdomain.tld is that you actually own it. Fun fact: at home, all my domains, hostnames, aliases and the like refer to space. So my local subdomains are:\n*.fleet.gbweb.fr for the machines *.iss.gbweb.fr for the services (which are kind of the modules of the big lab that my infra is) Of course, you do not want anyone external to your network to be able to resolve anything within this domain, so enter split DNS!\nThis is quite simple, actually: set up your own DNS in your network (a simple Dnsmasq will do) and only make it manage the zone local.yourdomain.tld. Everything else is delegated to public DNSs. It is not a bad idea to ensure your DNS is accessible over IPv6 (even if you choose to only resolve IPv4 addresses locally) for compatibility with modern OSes.\nYou should probably rely on DHCP to advertise your DNS server to all your local devices (do not forget about DHCPv6). (Someday, maybe, I will write an article about how I manage my IPv4/IPv6 stack at home)\nI use Cloudflare to protect everything I expose publicly. So, in fact, the only one who knows my public IP address is Cloudflare (I will also write an article about the whys and wherefores of Cloudflare despite my drive for maximum sovereignty, and this one is actually in the pipeline).\nWhen anyone anywhere in the world makes a query for one of my local domains, they get Cloudflare\u0026rsquo;s reverse-proxy IP address. When the query comes from one of my internal networks (including through my VPN), the query is relayed by my private DNS.\nWhen anyone anywhere in the world makes a query for one of my private domains, they get an error: public DNSs do not know about them. When the query comes from one of my internal networks (including through my VPN), the query is directly handled by my private DNS.\nWhen anyone anywhere in the world accesses one of my public services, the connection between the browser and Cloudflare is secured using a certificate managed by Cloudflare for my domain name. The connection between Cloudflare and my server is secured by a certificate issued by Cloudflare for this purpose (this certificate has a 15-year validity so I do not need to worry about renewals, and this is safe enough as only Cloudflare\u0026rsquo;s IPs are allowed to query my web server). When I access one of my private services from my local networks, the connection between the client and the server is secured using a Let\u0026rsquo;s Encrypt certificate.\nThere you go: nothing but the classics, in the end\u0026hellip; but I am often surprised to see that this model (recommended as it is) still raises a few eyebrows.\n","permalink":"https://gbweb.fr/en/post/split_dns_config/","tags":["DNS","Security","Network"],"title":"Split-DNS and certificates"},{"categories":["Infrastructure as Code"],"content":"A while ago, I needed a small VPS for my students to practise both in class and at home. I was paying for it myself, so I needed it to be as cheap as possible.\nI decided to use an AWS Lightsail VPS: back then, I did not have enough computing power at home to self-host it, and for a disposable machine, with no data on it, a bit of public cloud was not a problem for me.\nMy students did not need the VPS to be up 24/7 : only during classes and when doing their homework (for those who did it ;p). So I wondered if there would be a way to pay for the VM only when it is running\u0026hellip;\nI came up with a very basic solution :\nA simple Flask web portal allowing my students to : inquire about the state of the VPS start the VPS for a given amount of time (if it is down) see how much running time they have left, and extend it (if it is up) A set of python scripts based on Amazon\u0026rsquo;s boto3 handles the VPS lifecycle : When the time is up, it : shuts down the VM snapshots the VM deletes the VM When a VM startup is requested, it simply creates a VM from the snapshot Of course, this all makes sense only because snapshot storage fees are very low and my VPS was very lightweight (less than 8GB to snapshot, which cost me less than 50 cents a month).\nThe only drawback is that the IP address changes every time we re-create the VPS. I got around this by :\ndisplaying the IP address on the web portal setting-up DynDNS on the VPS, using one of my domains Of course, I used ansible to set-up the VM so I could reproduce it the following year 😉\nEverything is available on my github Update, November 2026\nThere you go: I did not exactly reinvent the wheel here, but this quick little hack saved me quite a bit of money while giving my students real working comfort. I am not teaching at the moment, but when I start again, I think we will simply go with a Proxmox VM, now that I have (more than) enough computing power.\n","permalink":"https://gbweb.fr/en/post/on_demand_aws_vm/","tags":["Python","Automation","Teaching"],"title":"An on-demand VM for my students"},{"categories":null,"content":" I am an infrastructure / DevSecOps engineer, based in Brest, France.\nMy job is on-premise infra and private cloud: platforms you control from end to end, described as code, and as simple as possible, with security as a common thread.\nBackground In 2004, for my eleventh birthday, I asked for my first domain name (the first trace of my presence on the web is an ugly FrontPage website about Concorde).\nAt thirteen years old, I set up my first server in my parents\u0026rsquo; basement. I am one of those people who received Ubuntu CDs in the mail (remember those?). I spent more time assembling computers from old ones and installing various OSes on them than actually using them\u0026hellip;\nIn high school, my room looked like something between a computer repair shop and a small datacenter (my father used to call it \u0026ldquo;COMDEX\u0026rdquo;, for those who get the reference).\nAfter studying aerospace engineering (specializing in embedded systems), I joined the Thales Group, in Defense R\u0026amp;D, as a software developer and quickly became a (quite versatile) system engineer. I thrived on this versatility and discovered that I was good at solving technical problems and designing systems involving a broad spectrum of technologies.\nIn 2021, like many after the pandemic, my wife and I wanted to try a new way of life and we moved to Brittany, where I joined a regional cloud provider in Finistère as a DevSecOps. I quickly rose to an architect position and designed an on-premise Kubernetes platform from the ground up, in an air-gapped environment. This platform is:\nEntirely deployed AND configured as code (declarative) Based on standard open-source software Perfectly integrated into the company\u0026rsquo;s infrastructure and ecosystem (network, storage, backup, security) Offered as multi-tenant self-service (from an application catalog based on Helm, where each application is highly customizable by the customer) Alongside this, I taught Linux and operating systems in an engineering school for a year and a half (I kept a few tools from it\u0026hellip; and a lot of respect for teachers).\nSince 2025, I have been a Senior Platform Engineer at a tech unicorn: Kubernetes at scale, bare-metal, secrets management, persistent storage\u0026hellip; and the on-call duty that comes with it, because you only build well what you are accountable for.\nAnd since that is apparently not enough for me, infra also takes up a good share of my spare time: I tell you all about it here .\nSkills Linux: Debian, RHEL, systemd, SELinux\u0026hellip; On-premise Kubernetes: design, deployment and operations, storage (CSI), network (CNI), Helm, Kyverno\u0026hellip; Virtualization: KVM, Proxmox, VMware Everything as code: Ansible, Terraform / OpenTofu, Packer, CI/CD Development: mostly Python, Go, Bash Security: hardening, secrets management (Vault), Keycloak, image scanning Data and storage: PostgreSQL, Kafka, Longhorn, SAN Generally, I distinguish myself by the great importance I give to understanding the \u0026ldquo;low-level\u0026rdquo; layers, a holistic approach and a very strong ability to adapt.\nMy foremost quality is (I think) knowing my limits and knowing when to seek expertise.\nContact By email at guillaume@gbweb.fr , or on LinkedIn and GitHub .\n","permalink":"https://gbweb.fr/en/about/","tags":null,"title":"About Me"}]