<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Cloudflare - Tag - Lorenzo's Blog</title><link>https://www.k8s.it/tags/cloudflare/</link><description>Cloudflare - Tag - Lorenzo's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Thu, 24 Apr 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://www.k8s.it/tags/cloudflare/" rel="self" type="application/rss+xml"/><item><title>Building a Scalable Image CDN with MinIO, imgproxy, and Cloudflare</title><link>https://www.k8s.it/posts/building-a-scalable-image-cdn-with-minio-imgproxy-and-cloudflare/</link><pubDate>Thu, 24 Apr 2025 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/building-a-scalable-image-cdn-with-minio-imgproxy-and-cloudflare/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/building-a-scalable-image-cdn-with-minio-imgproxy-and-cloudflare/Screenshot-2025-04-26-at-00.36.24.png" referrerpolicy="no-referrer">
            </div><h2 id="intro">Intro</h2>
<p>In today&rsquo;s digital landscape, efficiently serving images is critical for website performance. Users expect fast-loading, responsive websites, and images often account for the majority of a page&rsquo;s weight. In this article, I&rsquo;ll walk you through building a powerful, scalable image CDN using open-source tools that you can deploy in your own infrastructure.</p>
<h2 id="the-architecture">The Architecture</h2>
<p>Our image CDN consists of three main components:</p>
<ol>
<li><strong>MinIO</strong> — An S3-compatible object storage backend that stores original images</li>
<li><strong>imgproxy</strong> — A fast and secure image processing service that resizes and optimizes images on-the-fly</li>
<li><strong>Cloudflare</strong> — Providing CDN capabilities through Cloudflare Tunnel</li>
</ol>
<p></p>]]></description></item><item><title>Websocket, Cloudflare Tunnel, Apache httpd and a Bit of Security</title><link>https://www.k8s.it/posts/websocket-cloudflare-tunnel-apache-and-irritation/</link><pubDate>Thu, 03 Aug 2023 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/websocket-cloudflare-tunnel-apache-and-irritation/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/websocket-cloudflare-tunnel-apache-and-irritation/Screenshot-2025-04-26-at-00.35.02.png" referrerpolicy="no-referrer">
            </div><h2 id="the-infrastructure-overview">The Infrastructure Overview</h2>
<p>Exposing home lab services to the internet can be both necessary and risky. Traditional methods — port forwarding, VPNs, reverse proxies with open inbound ports — come with their own set of challenges. This is where Cloudflare Tunnel (formerly Argo Tunnel) comes in as an elegant solution.</p>
<p>In this article, I&rsquo;ll walk you through how I&rsquo;ve implemented a secure infrastructure using Cloudflare Tunnel with WebSocket support, running on a Kubernetes cluster with Apache HTTPD as a reverse proxy. This setup allows me to securely expose internal services without opening ports on my residential firewall.</p>]]></description></item><item><title>Maximum Yield with Minimum Expense</title><link>https://www.k8s.it/posts/maximum-yield-with-minimum-expense/</link><pubDate>Thu, 24 Dec 2020 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/maximum-yield-with-minimum-expense/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/maximum-yield-with-minimum-expense/Screenshot-2020-12-26-at-16.43.11.png" referrerpolicy="no-referrer">
            </div><p></p>
<p>Great marketing quote in the title — but honestly, the underlying principle is always true: <em>keep it simple, keep it safe.</em></p>
<p>I want to structure this around four topics:</p>
<ul>
<li>Static website</li>
<li>Tools</li>
<li>Security</li>
<li>Monitor</li>
</ul>
<p>Each could be its own post. This one will cut across all of them because they&rsquo;re connected.</p>
<p><em>This is not a post about how to create a blog. This post inspects some technology that can simplify your life or your work with small but important concepts.</em></p>]]></description></item><item><title>Terraform Your Free Cloudflare Account</title><link>https://www.k8s.it/posts/terraform-your-free-cloudflare-account/</link><pubDate>Fri, 06 Jul 2018 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/terraform-your-free-cloudflare-account/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/terraform-your-free-cloudflare-account/git-terraform-cloudflare.png" referrerpolicy="no-referrer">
            </div><h2 id="introduction">Introduction</h2>
<p>Cloudflare provides a solid free tier. What sets it apart from competitors like Akamai or Incapsula isn&rsquo;t just the price — it&rsquo;s the API support and native Terraform provider. Everything you can click in the dashboard, you can manage in code.</p>
<p>This article walks through automating a complete Cloudflare account: DNS records, page rules, security settings, and zone configuration — all in Terraform, all in Git.</p>
<h2 id="setup">Setup</h2>
<h3 id="1-authentication">1. Authentication</h3>
<p>Grab your API key from the Cloudflare portal:</p>]]></description></item></channel></rss>