<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Cloud on Arve's Playground</title><link>https://www.arvesv.com/tags/cloud/</link><description>Recent content in Cloud on Arve's Playground</description><image><title>Arve's Playground</title><url>https://www.arvesv.com/images/og-image.png</url><link>https://www.arvesv.com/images/og-image.png</link></image><generator>Hugo</generator><language>en-US</language><copyright>Arve Svendsen. All rights reserved</copyright><lastBuildDate>Mon, 23 Nov 2026 10:16:59 +0100</lastBuildDate><atom:link href="https://www.arvesv.com/tags/cloud/index.xml" rel="self" type="application/rss+xml"/><item><title>How and why I created www.arvesv.com</title><link>https://www.arvesv.com/posts/2026/thissite/</link><pubDate>Wed, 18 Nov 2026 21:01:55 +0100</pubDate><guid>https://www.arvesv.com/posts/2026/thissite/</guid><description>How and why I built www.arvesv.com using Markdown, Hugo, GitHub Pages, PostHog analytics, Cloudflare Workers and D1, and AI agents.</description><content:encoded><![CDATA[<p>This site, like many personal websites created by technology enthusiasts, is probably over-engineered. The ratio of content to infrastructure is low. Still, the technology stack might be interesting to others, so here is a breakdown of my choices and the reasoning behind them</p>
<h2 id="the-purpose-of-this-site">The purpose of this site</h2>
<p>The purpose of a blog is usually to spread the word about something. My primary purpose was to learn and get experience on running a blog both from the technical and the content side. You don&rsquo;t become good at something without actually doing the work. There is also a bit of self-promotion involved, but only if the site turns out reasonably well 🙂.</p>
<p>My requirements were:</p>
<ul>
<li>articles and their URLs must survive a switch of the hosting platform</li>
<li>custom domain support, <a href="https://www.arvesv.com/">arvesv.com</a></li>
<li>low cost and simple management</li>
<li>room to experiment</li>
</ul>
<h2 id="markdown---data-portability-for-the-future">Markdown - data portability for the future</h2>
<p>I did not want to be dependent upon a service or a platform. Having the option to move to a different platform meant that my articles would have to be done in something platform independent. And for text that format is <a href="https://daringfireball.net/projects/markdown/">Markdown</a>. I did not want to use <a href="https://wordpress.org/">WordPress</a> because it stores content in a database rather than as portable files.</p>
<h2 id="static-site-hosting---cheap-and-simple">Static site hosting - cheap and simple</h2>
<p>Having a web site that requires a database is more complex than just serving a bunch of files. Static hosting is often cheap or free and simple to manage. You can get it on <a href="https://github.com/">GitHub</a>, <a href="https://azure.microsoft.com/en-us/products/app-service/static">Azure</a> and many other places. Various static site generators can transform Markdown files into a complete website.</p>
<p>Initially I chose <a href="https://pages.github.com/">GitHub Pages</a> and the <a href="https://gohugo.io/">Hugo</a> static site generator. The reason for GitHub Pages was that I was already on GitHub and it is free. I chose Hugo largely because it seemed popular and straightforward. I didn&rsquo;t know much about the alternatives at the time, but it has worked well so far.</p>
<h2 id="initial-version-up-and-running-and-the-road-to-web-analytics">Initial version up and running, and the road to web analytics</h2>
<p>At this point I had the site running at <a href="https://www.arvesv.com/">www.arvesv.com</a> and it met my requirements. I wrote some articles about doing or fixing something, so that I could just send a link if anyone with a similar problem asked me. I think I have sent a link once.</p>
<p>I wanted to know more. Was anyone actually visiting the site? Does GitHub Pages offer any analytics? No. I looked at a few analytics platforms and tried <a href="https://posthog.com/">PostHog</a>. They had a free tier, and the implementation was simple. Just insert some JavaScript that sends page-view events to PostHog, and that allowed me to look at a dashboard and see that I had a few - fewer visitors than I could count on one hand -  each week.</p>
<p>PostHog also recommended that I use a <a href="https://posthog.com/docs/advanced/proxy">reverse proxy</a> for the telemetry to work around ad-blockers. (I am not doing ads, but I do want real numbers for visitors.) Normally, a reverse proxy adds complexity and cost, but Cloudflare includes Workers in their free tier. Cloudflare sits in front of a significant portion of the internet&rsquo;s websites.</p>
<p>I set up a <a href="https://developers.cloudflare.com/workers/">Cloudflare Worker</a> that proxied my whole site, and PostHog then revealed a few more visitors - it almost doubled the number of real daily visitors. And since Cloudflare can show the HTTP log it showed that there were scans of arvesv.com several times a day. Some are probably search engines and agents. Others appear to be scanning for exposed secrets, administrative interfaces, and vulnerable APIs. It is a bit scary, but we all know that the internet is not a safe place.</p>
<h2 id="agents">Agents</h2>
<p><a href="/posts/2026/ai_sept_2026/">AI agents</a> have become useful over the last year and I have used them to do a few things:</p>
<ul>
<li>Optimise the <a href="https://github.com/features/actions">GitHub Actions</a> deploy pipeline. For example I now see the SHA of the commit that was deployed in the footer.</li>
<li>Improve <a href="/posts/2026/aibusywork/">Search Engine Optimisation (SEO)</a>: The agent added and consolidated tags and descriptions, and set up a sitemap which I then registered in <a href="https://search.google.com/search-console">Google Search Console</a>.</li>
<li>Track unique visitors: Add a <a href="https://developers.cloudflare.com/d1/">Cloudflare D1</a> database so the number of unique visitors could be displayed on the front page.</li>
</ul>
<p>The text on this site is mine. While I trust agents to write good code, I don’t trust them with text (yet). But they are allowed to come with suggestions.</p>
<p>This site has become more than a place to publish a few articles. It has given me hands-on experience with static site generation, GitHub Actions, Cloudflare Workers, analytics, SEO, reverse proxies, databases, and AI-assisted development. And there is more to explore.</p>
<p>Would I make the same choices today? Mostly yes. Static hosting, Markdown, GitHub, and Cloudflare have kept costs close to zero while giving me opportunities to experiment and learn.</p>
]]></content:encoded></item><item><title>Are developer certifications still relevant if you have AI/LLM</title><link>https://www.arvesv.com/posts/2026/developercertifications/</link><pubDate>Fri, 03 Apr 2026 16:49:07 +0200</pubDate><guid>https://www.arvesv.com/posts/2026/developercertifications/</guid><description>Why standardized developer certifications still provide baseline value and learning breakthroughs even when AI models can ace the exams.</description><content:encoded><![CDATA[<p>Microsoft regularly asks me to renew <a href="https://learn.microsoft.com/en-gb/users/arvesv/transcript/73n8zclm50pwjp1">my Azure certifications</a>.
To do that, I have to answer multiple choice questions about specific Azure services. In most cases an AI/LLM would answer those questions
better than I would.</p>
<p>In real projects, I look up details when I need them — networking quirks, Azure Container Instances behavior, subnet rules. But certifications
expect you to memorize these things, even though day‑to‑day work rarely requires it.</p>
<p>So if an LLM can perform the task better than me, shouldn’t the LLM just do it? No — because the purpose of certifications isn’t the task itself.
It’s to provide a standardized way to document competence, even if the measurement is not fully aligned with real‑world needs.</p>
<p>And while studying for certifications might sometimes be wasteful, every now and then you get a real breakthrough in understanding.
And that is what makes you a better developer.</p>
<p>The system isn’t perfect. We waste time learning things we don&rsquo;t need. But certifications still serve a function: they give employers and developers a baseline
for skills, and a way to verify that someone has at least touched the relevant technologies.</p>
<p>Imperfect? Yes.</p>
<p>Obsolete? Not yet.</p>
]]></content:encoded></item><item><title>Where Should You Run Your Web Application? It Depends.</title><link>https://www.arvesv.com/posts/deploywebapp/</link><pubDate>Tue, 11 Nov 2025 00:00:00 +0000</pubDate><guid>https://www.arvesv.com/posts/deploywebapp/</guid><description>Comparing web app hosting options—containers on Cloud Run, Fly.io, and Hetzner VPS vs. Kamal and single-node MicroK8s/k3s—for cost and simplicity.</description><content:encoded><![CDATA[<p>I’ve built a web application—and that needs a home. What should I deploy it to? There are many platforms to choose from, I decided to turn the deployment decision into a mini project with three phases:</p>
<ol>
<li><strong>Design</strong> the ideal platform and deployment process</li>
<li><strong>Implement</strong> the design</li>
<li><strong>Learn</strong> from the experience</li>
</ol>
<p>I’m usually skeptical of too much upfront planning—real-world constraints tend to surprise you—but I’m giving it a shot.</p>
<hr>
<h2 id="-requirements">🧾 Requirements</h2>
<p>Here’s what I need from the platform:</p>
<ul>
<li>Must support a web server and a database</li>
<li>Must allow zero-downtime deployments</li>
<li>Must be internet-accessible with HTTPS</li>
<li>Occasional downtime for patching is acceptable</li>
<li>Downtime due to hardware failure is fine—recovery should be reasonable</li>
<li>Monthly operating cost should be <strong>≤ 6€</strong> (e.g., Hetzner’s cheapest VPS)</li>
<li>Fast deployment turnaround—code changes should go live quickly</li>
<li>Code is hosted on GitHub. Deploys should be possible both from GitHub actions and the local developer machine</li>
<li>This is a <strong>learning project</strong>, optimized for fast iteration and feedback</li>
</ul>
<hr>
<h2 id="-design-choices">🧱 Design Choices</h2>
<h3 id="-containers">✅ Containers</h3>
<p>Containers offer consistent runtimes and portability. There is no reason to choose anything else.</p>
<h3 id="-scale-to-zero-container-runtimes">☁️ Scale-to-Zero Container Runtimes</h3>
<p>Platforms like <strong>Fly.io</strong>, <strong>Google Cloud Run</strong>, and <strong>Azure Container Apps</strong> let you run containers that can scale to zero when idle. They also handle updates, load balancing, and HTTPS certificates.</p>
<p><strong>Pros:</strong></p>
<ul>
<li>Easy deployment</li>
<li>Managed infrastructure</li>
<li>HTTPS out of the box</li>
</ul>
<p><strong>Cons:</strong></p>
<ul>
<li>Cold starts can be slow</li>
<li>Longer deployment turnaround</li>
<li>Higher cost if always running</li>
</ul>
<p>These platforms are excellent—but for this project, I think there’s a better alternative.</p>
<p><strong>Fly.io</strong> deserves a shoutout: it’s affordable and can build your container directly, eliminating the need for a separate registry.</p>
<hr>
<h2 id="databases-in-the-cloud">Databases in the Cloud?</h2>
<p>Hosting web apps in the cloud is cheap. Hosting databases? Not so much.</p>
<p>Managed databases come with replicas, backups, and high availability—and those features cost money. I don’t need them (yet).</p>
<p>Serverless databases exist, but startup latency is a concern.</p>
<hr>
<h2 id="-self-hosting-on-a-vps">🧑‍🔧 Self-Hosting on a VPS</h2>
<p>The downside of self-hosting? You manage everything.</p>
<p>The upside? A <strong>5€ Hetzner VPS</strong> (4GB RAM, 40GB SSD) or even my <strong>Intel N150 mini machine</strong> can host multiple apps and databases.</p>
<p>There are tools that help you manage web apps on your own infrastructure:</p>
<ul>
<li><a href="https://kamal-deploy.com">Kamal Deploy</a></li>
<li><a href="https://uncloud.run">Uncloud</a></li>
<li>Local Docker + custom scripts</li>
</ul>
<p>You learn a lot by manually setting up an reverse proxy and running containers yourself.</p>
<p><strong>Kamal Deploy</strong> works well, though complexity is growing as it adds features. I haven’t tried <strong>Uncloud</strong> yet, but it looks promising.</p>
<hr>
<h2 id="kubernetes">Kubernetes</h2>
<p>Given my requirements, I believe a small server where I install a one node &ldquo;mini&rdquo; Kubernetes is the best option. A machine with 4 GB of RAM can run <strong>microk8s</strong> or <strong>k3s</strong>, with enough power to host multiple apps and databases. I can run a local registry  can even run <strong>Valkey</strong> if needed.</p>
<ul>
<li>Kubernetes is made for running web apps with, it handles updates without downtime</li>
<li>I can run a databases, redis etc.</li>
<li>I will learn a lot of Kubernetes</li>
<li>With a local build/registry on the Kubernetes machine the turnaround time (for code change to live) will be way faster than any other container based deployment.</li>
</ul>
<p>It will be a lot of work, but a lot of learning. Is this the best option for you? It depends.</p>
<p>I hope to revisit this in the future with some benchmark numbers, some experiences richer.</p>
]]></content:encoded></item><item><title>Authenticode Signing</title><link>https://www.arvesv.com/posts/authenticode-signing/</link><pubDate>Tue, 28 Nov 2023 00:00:00 +0000</pubDate><guid>https://www.arvesv.com/posts/authenticode-signing/</guid><description>An overview of Windows Authenticode code signing, the 2023 hardware token/HSM requirements, and practical cloud signing using Azure Key Vault.</description><content:encoded><![CDATA[<p>A long time ago my employer needed to sign a shrink-wrapped software package using Authenticode. This was my first experience with code signing. Below I summarize what code signing is, why it matters, the 2023 HSM requirements, and practical options for signing in local and CI environments. I have used Azure Key Vault for HSM-backed signing.</p>
<h2 id="what-is-code-signing-and-why-use-it">What is code signing and why use it?</h2>
<p>A digital signature is an encrypted checksum of a file. It can be verified with the public key to ensure the file was not modified after signing and that the signer controls the corresponding private key.</p>
<p>Windows EXE files can be signed with Microsoft Authenticode. Java has a similar mechanism for JAR files. These specifications define which file parts are checksummed and where the signature and public key are stored.</p>
<p>You need a code signing certificate (public/private key pair). It can be self-signed for testing but for production you should get one from a trusted CA. Signed code provides more trust and a better user experience on platforms that surface signature information. Examples where signing matters:</p>
<ul>
<li>PowerShell defaults to blocking unsigned scripts; Excel (VBA) may block unsigned macros.</li>
<li>Windows and macOS present friendlier warnings for signed downloads.</li>
<li>Drivers for Windows require an Extended Validation (EV) code signing certificate.</li>
<li>Signing lets you verify a file hasn’t changed since signing.</li>
</ul>
<h2 id="obtaining-a-certificate">Obtaining a certificate</h2>
<p>Historically, code signing private keys could be exported (e.g., PFX files) and shared. Starting in 2023, industry rules require private keys for standard code signing certificates to be stored in hardware certified to FIPS 140 Level 2, Common Criteria EAL4+, or equivalent. CAs will only issue certificates that are non-exportable and tied to supported HSMs or USB tokens. This restricts which CAs and HSMs you can use.</p>
<p>The HSM requirement makes theft and misuse of signing keys much harder.</p>
<h2 id="how-to-sign-on-windows-with-a-local-certificate">How to sign on Windows with a local certificate</h2>
<p>On Windows the common tool is signtool.exe (part of the Windows SDK). Typical minimum options:</p>
<ul>
<li><code>/fd sha256</code> — set the file digest algorithm</li>
<li><code>/a</code> or <code>/sha1</code> — <code>/a</code> auto-selects a certificate (works if you have a single cert); <code>/sha1 &lt;thumbprint&gt;</code> selects by thumbprint</li>
</ul>
<p>Example:</p>
<pre tabindex="0"><code>signtool /a /fd sha256 filetosign.exe
</code></pre><p>Signtool supports other file types via SIPs (e.g., Office) and can be extended to use non-local certificates with custom providers, though that is more complex.</p>
<h2 id="timestamping">Timestamping</h2>
<p>Certificates expire (commonly up to 3 years today). A signature without a timestamp becomes invalid when the signing certificate expires. Timestamping records when the file was signed using a trusted timestamp authority so the signature remains valid even after the certificate expires. Signtool uses /tr to specify a timestamp server.</p>
<p>Timestamping can be slower and occasionally fails; if you sign many files, add verification and retry logic in your pipeline.</p>
<h2 id="2023-requirement-store-private-keys-in-an-hsm">2023 requirement: store private keys in an HSM</h2>
<p>Per vendor guidance (for example DigiCert), private keys for standard code signing must be stored in FIPS/EAL-certified hardware. That means certificates will often be issued onto:</p>
<ul>
<li>USB tokens (e.g., YubiKey, SafeNet) that expose the key via drivers, or</li>
<li>HSM appliances, or</li>
<li>Cloud HSM-backed key stores.</li>
</ul>
<p>Each option has trade-offs.</p>
<h3 id="usb-tokens-yubikey--safenet">USB tokens (YubiKey / SafeNet)</h3>
<ul>
<li>Pros: Simple, meets the hardware requirement, gives strong physical protection.</li>
<li>Cons: Requires drivers and a PIN prompt when accessing the key. Not practical for unattended build pipelines that must sign many files without manual PIN entry.</li>
</ul>
<p>Conclusion: USB tokens are not a good fit for automated CI/CD signing unless you accept insecure workarounds.</p>
<h3 id="hsm-appliances">HSM appliances</h3>
<ul>
<li>Pros: Enterprise-grade hardware, strong isolation.</li>
<li>Cons: Expensive (often many thousands of dollars) and operationally heavy. I have not tested appliance-based setups in CI.</li>
</ul>
<h3 id="cloud-hsm--key-vault-recommended">Cloud HSM / Key Vault (recommended)</h3>
<p>Cloud providers (Azure Key Vault, AWS KMS/CloudHSM, Google Cloud KMS) offer HSM-backed key storage and signing operations. This is usually far cheaper and easier to integrate with CI/CD than a physical appliance. Access is managed via the cloud provider’s IAM.</p>
<p>I have used Azure Key Vault successfully. Azure pricing is modest (e.g., a small monthly fee plus a per-operation cost). Signtool can be made to use cloud key stores with additional tooling; a convenient option for Azure is <a href="https://github.com/vcsjones/AzureSignTool">AzureSignTool</a>.</p>
<h2 id="summary">Summary</h2>
<ul>
<li>Code signing verifies origin and integrity and improves user trust.</li>
<li>Since 2023, CA-issued code signing private keys must be stored in certified hardware (HSM/USB token/cloud HSM).</li>
<li>USB tokens are secure but inconvenient for automated pipelines.</li>
<li>HSM appliances are costly and operationally heavy.</li>
<li>Cloud HSM/key vault services are a practical, cost-effective choice for CI/CD signing; Azure Key Vault + AzureSignTool is one working solution.</li>
</ul>
<p>References:</p>
<ul>
<li><a href="https://learn.microsoft.com/en-us/windows-hardware/drivers/install/authenticode">Authenticode</a></li>
<li><a href="https://learn.microsoft.com/en-us/windows/win32/seccrypto/signtool">Signtool</a></li>
<li><a href="https://knowledge.digicert.com/alerts/code-signing-changes-in-2023">DigiCert changes</a></li>
<li><a href="https://github.com/vcsjones/AzureSignTool">AzureSignTool</a></li>
<li><a href="https://www.yubico.com/no/product/yubikey-5c-nfc/">YubiKey</a></li>
<li><a href="https://cpl.thalesgroup.com/access-management/authenticators/pki-usb-authentication/etoken-5110-usb-token">SafeNet / Thales eToken</a></li>
<li><a href="https://arstechnica.com/gadgets/2022/12/samsungs-android-app-signing-key-has-leaked-is-being-used-to-sign-malware/">Samsung key leak example</a></li>
</ul>
]]></content:encoded></item></channel></rss>