<?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>AWS on Chris Rants at Clouds</title>
    <link>https://chris.funderburg.me/tags/aws/</link>
    <description>Recent content in AWS on Chris Rants at Clouds</description>
    <image>
      <title>Chris Rants at Clouds</title>
      <url>https://chris.funderburg.me/me.jpg</url>
      <link>https://chris.funderburg.me/me.jpg</link>
    </image>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <lastBuildDate>Tue, 30 Dec 2025 02:15:00 +0000</lastBuildDate>
    <atom:link href="https://chris.funderburg.me/tags/aws/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>27/Nov/2025 - Platform Engineering is ON</title>
      <link>https://chris.funderburg.me/posts/2025/11/27/what-is-new/</link>
      <pubDate>Thu, 27 Nov 2025 23:40:22 +0000</pubDate>
      <guid>https://chris.funderburg.me/posts/2025/11/27/what-is-new/</guid>
      <description>Some interesting things I&amp;rsquo;m working on in the new consulting gig</description>
      <content:encoded><![CDATA[<p>So, as I mentioned in my <a href="https://chris.funderburg.me/posts/2025/10/27/major-changes/" target="_blank" >last post</a>,
I started a new consulting gig recently at <a href="https://mesh-ai.com/" target="_blank" >Mesh-AI</a>. It&rsquo;s
been a whirlwind of activity, and I wanted to share some of the interesting
things I&rsquo;m working on.</p>
<p>Now, I don&rsquo;t know if I can name the actual client but it&rsquo;s a major UK energy
provider that generates and supplies electricity.</p>
<p>The consultancy works in squads and ours has few data engineers, a platform
engineer (me), a software engineer, along with a number of leaders to keep an
eye on things. As the lead (and only) platform engineer, I feel deeply
responsible for making sure the team has the tools and infrastructure they need.</p>
<p>I&rsquo;m currently working on two projects:</p>
<ul>
<li>
<p>Building a Video AI Engine Platform on AWS using Terraform. It&rsquo;s a video
analysis application that processes uploaded videos using AWS AI/ML services
to identify customer vulnerabilities. It&rsquo;s currently a human review process,
that takes hours, and the goal is to automate it to provide near real-time
insights.</p>
<p>So this involves setting up:</p>
<ul>
<li>S3 buckets for video and metadata storage with triggering events.</li>
<li>AWS Lambda Python functions for processing.</li>
<li>AWS Rekognition for video analysis.</li>
<li>AWS Transcribe for speech-to-text conversion.</li>
<li>A Cloudront distribution, with a WAF attached, with:
<ul>
<li>An Origin for a React frontend hosted in S3.</li>
<li>An Origin for API access through API Gateway to a Python Lambdas.</li>
<li>An Origin for video access via signed S3 URLS.</li>
</ul>
</li>
<li>Cloudfront for content delivery.</li>
<li>Dynamodb to provide data to the UI</li>
<li>SNS for notifications.</li>
<li>Cognito for user authentication.</li>
<li>And a extensive Github Actions CI/CD pipeline for automated deployments.</li>
</ul>
<p>All the while ensuring security, scalability, and cost-efficiency - along with
complying with the client&rsquo;s extensive patterns and policies.</p>
</li>
<li>
<p>The second project is helping out with building an AI scenario framework for
a weather-dependent energy simulation system for their Wholesale Market
Optimisation team. It simulates weather regimes, wind speeds, and solar irradiance to
support energy market forecasting and analysis.</p>
<ul>
<li>This one quite simply involves building a very modular Lambda based framework
in Python that sets up S3 input and output buckets to fetch climate data, and
will eventually pul configuration from a RDS database - and then trigger
simulations.</li>
<li>The client here is curiously using <a href="https://www.serverless.com/" target="_blank" >Serverless Framework</a>
for IaC, so I&rsquo;m getting familiar with that tool as well.</li>
</ul>
</li>
</ul>
<p>Whist this is all meaty stuff and it&rsquo;s exciting to be at the forefront of
integrating AI/ML, I have to say that I&rsquo;m really enjoying working with both the
Mesh-AI team and the client&rsquo;s team. Everyone is super smart, collaborative,
and driven to make a real impact. And, despite me <strong>hating</strong> commuting, working in
the heart of London a few days a week never gets old. I&rsquo;ve found an excellent
place to get <a href="https://velvettaco.uk/" target="_blank" >get tacos</a> near the office, can attend a
lot of tech meetups again, and just generally feel energised by the city&rsquo;s vibe.</p>
<p>As always, you can add my <a href="https://chris.funderburg.me/index.xml" target="_blank" >RSS feed</a> to your reader of choice and if you made it this far <strong>thanks for reading</strong>!</p>
<p>Chris</p>
]]></content:encoded>
    </item>
    <item>
      <title>06/Nov/2024 - Tech Bingo</title>
      <link>https://chris.funderburg.me/posts/2024/11/06/tech-bingo/</link>
      <pubDate>Wed, 06 Nov 2024 22:38:27 +0000</pubDate>
      <guid>https://chris.funderburg.me/posts/2024/11/06/tech-bingo/</guid>
      <description>Lots and lots of technical changes and learning new systems</description>
      <content:encoded><![CDATA[<p>I&rsquo;ve spent the last 3 or 4 weekends playing with technology. I&rsquo;ve built:</p>
<h2 id="a-new-self-hosted-email-system">A new self-hosted email system.</h2>
<p>I decommissioned my email on Proton and migrated everything to self-hosted
<a href="https://docker-mailserver.github.io/docker-mailserver/latest/" target="_blank" >docker-mailserver</a>
The makers describe it as a, &ldquo;<em>Production-ready fullstack but simple mail
server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a
container.</em>&rdquo;</p>
<p>Now, like me, if your understanding of a <strong>proper</strong> container is an image that
runs <strong>one</strong> process, you should look away now.  This is more of a
<strong>operating system</strong> image that runs:</p>
<ul>
<li><a href="https://www.postfix.org/" target="_blank" >Postfix</a> as the Mail Transfer Agent.</li>
<li><a href="https://www.dovecot.org/" target="_blank" >Dovecot</a> as the Mail Delivery Agent.</li>
<li><a href="https://www.clamav.net/" target="_blank" >ClamAV</a> and <a href="https://docs.clamav.net/faq/faq-freshclam.html" target="_blank" >Freshclam</a> for virus scanning.</li>
<li><a href="https://www.rspamd.com/" target="_blank" >Rspamd</a> or <a href="https://spamassassin.apache.org/" target="_blank" >Spamassassin</a> for spam detection.</li>
<li><a href="https://postgrey.schweikert.ch/" target="_blank" >Postgrey</a>, <a href="https://en.wikipedia.org/wiki/Amavis" target="_blank" >Amavis</a>, and more.</li>
</ul>
<p>It even has cron running things and supervisord controlling it all. But don&rsquo;t
let any of that put you off!  I am <strong>super</strong> happy with it all!</p>
<p>I started with the <a href="https://github.com/bocan/odin" target="_blank" >same Terraform / OpenTofu setup</a> that
my webserver <a href="https://chris.funderburg.me/about/#this-web-sites-tech" target="_blank" >uses</a>.</p>
<p>It&rsquo;s the same t3.medium instance, but instead of running on a Spot instance, I chose
an on-demand one with an EC2 Instance Savings Plan. In the Europe (London)
region, for a 1 year term and nothing upfront, that should cost me around $22 a
month (plus storage) instead of $35 (plus storage).</p>
<p>So now it&rsquo;s all back under my control.  It&rsquo;s fast.  And best of all - I don&rsquo;t need to
deal with Proton&rsquo;s absurdly poor systems.</p>
<h2 id="a-firewall-using-nftables-instead-of-iptables">A firewall using NFTABLES instead of IPTABLES.</h2>
<p>Since I run Debian Sid on both my webserver and the new mail server, I&rsquo;m using
the very latest tooling in Linux.  I noticed that <code>fail2ban</code> on both machines
were using something called <a href="https://www.netfilter.org/projects/nftables/index.html" target="_blank" >nftables</a>
instead of <a href="https://www.netfilter.org/projects/iptables/index.html" target="_blank" >iptables</a>
and I my usual Geo-blocking scripts didn&rsquo;t work.</p>
<p>So, I got down to work figuring out the new way to build these things and came
up with <a href="https://gist.github.com/bocan/ff82cbcbdc848aa34ff015e23ed866bf#file-build-sh" target="_blank" >this script</a>,
to block Russia, China, Vietnam, and Taiwan. I&rsquo;ve popped it online as open
source. It should work alongside any built-in firewall on new versions of Linux.</p>
<h2 id="http3-quic-and-more-firewalling-for-udp">HTTP/3, QUIC, And more firewalling for UDP.</h2>
<p>On my webserver, I enabled shiny brand new <a href="https://en.wikipedia.org/wiki/HTTP/3" target="_blank" >HTTP/3</a>
and the accompanying <a href="https://en.wikipedia.org/wiki/QUIC" target="_blank" >QUIC</a> protocol. The
interesting bit of this work is that, where the older HTTP/1.1, and 2 using
TCP to ports 80 and 443 - QUIC uses UDP to port 80 and 443. So, in addition to
lots of NGINX work, I had to open up security groups and do yet more poking of
firewalls.</p>
<p>HTTP/3 can handle more traffic and deliver content faster, especially on slower
or unreliable networks. It does this by having multiple steams in the same
connection, less handshakes, and of course by using UDP transport rather than
TCP.</p>
<p>It&rsquo;s also, in theory, a better security model as it uses TLS 1.3.</p>
<h2 id="dnssec-for-cloudcauldronio-and-funderburgme">DNSSEC for cloudcauldron.io and funderburg.me.</h2>
<p>For no particular reason aside from security, and that I could, I setup
<a href="https://www.cloudflare.com/en-gb/learning/dns/dnssec/how-dnssec-works/" target="_blank" >DNSSEC</a>
on both my larger domains. This mostly involved clicking a few buttons in Route53
in AWS to create the signing keys, then adding those details back into the
appropriate registrars for the domain. Surprisingly easy work!</p>
<p>Whist I was in Route53, I also moved funderburg.me&rsquo;s DNS into a new Route53 zone
from my DNS provider.  They didn&rsquo;t allow more &ldquo;exotic&rdquo; record creations which
I&rsquo;ll talk about below.</p>
<h2 id="an-opentofu-run-for-ipv6-on-odin">An OpenTofu Run for IPv6 on Odin.</h2>
<p>It&rsquo;s been a few months so I re-ran my OpenTofu project for <code>odin</code> (the webserver)
and the newish <code>freyja</code> (my mailserver) - mostly just to pick up a fresh base
image of Debian Sid.</p>
<p>But also, it was a chance to enable ipv6 across my VPC and both the ec2
instances. Back into Route53 and added a shiny AAAA record for
chris.funderburg.me that points to 2a05:d01c:eb9:2c00:11b5:6c38:49f4:92 - and
the job&rsquo;s a good one.</p>
<p>Still trying to get my head around IPv6 and I&rsquo;m not sure if that address will
change if I reboot - or re-create the machine.  I should probably check that!
If not, it should be easy enough to use OpenTofu to dynamically update the
route53 record.</p>
<h2 id="enabled-the-legendarily-dangerous-hsts-and-lots-of-edge-case-security-things">Enabled the legendarily dangerous HSTS and lots of edge-case security things.</h2>
<p>I tried setting up <a href="https://www.howtogeek.com/devops/what-is-hsts-and-how-do-you-set-it-up/" target="_blank" >HSTS</a>
years ago at work, not quite understanding what I was doing - and its lucky I
didn&rsquo;t get sacked!  HSTS very violently enforces HTTPS <strong>only</strong> connections by
leaving an entry in anyone&rsquo;s browser who visits. This entry tells the browser to
NEVER try to connect unencrypted.  It also usually says, &ldquo;and also do this with
all my subdomains&rdquo;.  That last one can break casual websites where you forgot
to add a certificate.</p>
<p>These days however, I encrypt everything everywhere using Letsencrypt. So, less
chance of blowing sites up or having to walk people through scrubbing their
browser data.  I set it up on funderburg.me and cloudcauldron withing an hour
and used the recommended settings of setting it&rsquo;s timeout first for 10 minutes,
now a week. And next week I&rsquo;ll change it to a month, and the month after, 2
years! In this way I have time to see if I&rsquo;ve forgotten anything.</p>
<h2 id="and-finally-for-securitys-sake">And finally, for security&rsquo;s sake:</h2>
<ul>
<li>A <a href="https://en.wikipedia.org/wiki/DNS_Certification_Authority_Authorization" target="_blank" >Certification Authority Authorization</a>
(CAA) record, which notes that my web certificates should only come from
letsencrypt.org.</li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>22/Oct/2024 - A Chance Encounter</title>
      <link>https://chris.funderburg.me/posts/2024/10/22/a-chance-encounter/</link>
      <pubDate>Tue, 22 Oct 2024 23:23:37 +0100</pubDate>
      <guid>https://chris.funderburg.me/posts/2024/10/22/a-chance-encounter/</guid>
      <description>Accidentally found myself working with an old colleague for a few hours, got a full valet on the car, and debugged more Lambdas for fun</description>
      <content:encoded><![CDATA[<h2 id="a-coincidence">A Coincidence</h2>
<p>I&rsquo;d been needing to get the car cleaned as it was a mess - particularly inside.
So, after our daily standup I quickly ran it into town, handed it over and went
back to work from my favourite coffee shop.</p>
<p>Imagine my surprise after I bought a coffee and went upstairs to find an old
colleague working there too - after putting his own car in.  He was, in my last
few weeks, at my 2nd-to-last permanent job - my boss.  Anyway, we had a pleasant
chat and then for a few hours we both respectively got on with our own pieces of
devops work.</p>
<h2 id="this-got-me-thinking">This got me thinking</h2>
<p>I sometimes like to play &ldquo;fantasy engineering&rdquo; in my head.  I&rsquo;ve got so many
ex-colleagues who, like me, are beyond senior now.  Who would I pick to build an
IT project if money were no object?  What could we do in a month or a year? What
would we build?</p>
<p>That last question is where the idea falls down. If I had a great idea, I could
find some serious development engineers and equally impressive devops/platform
folks and make us all rich. The ideas are illusive though.</p>
<h2 id="yet-more-lambda-debugging">Yet More Lambda Debugging</h2>
<p>I&rsquo;m about 2/3rds the way through the list of my client&rsquo;s Python Lambda functions
that I have to check and test to be sure they still work with our upgraded
Python 3.12 runners.</p>
<p>Today&rsquo;s function had been crashing since we upgraded in mid-April, but when I
ran it with ANY version of Python it worked - at first.  Then I realised it was
a clever thing where, it was being triggered by an event, but would then
re-trigger itself via an SNS topic, where it would crash.  Also regardless of
Python version.</p>
<p>A slew of print() statements inserted later, and I found it was trying to cycle
through our list of AWS regions, and crashing when trying to assume a role in a
very particular region. A quick chat later and I found a bit of Terraform code
that was supposed to setup these new regions, but wasn&rsquo;t dynamic - so - a few
hard-coded region names later - and I&rsquo;ll raise a PR tomorrow to get it all fixed.</p>
]]></content:encoded>
    </item>
    <item>
      <title>03/Oct/2024 - Hitting My Stride</title>
      <link>https://chris.funderburg.me/posts/2024/10/03/hitting-my-stride/</link>
      <pubDate>Thu, 03 Oct 2024 00:11:53 +0100</pubDate>
      <guid>https://chris.funderburg.me/posts/2024/10/03/hitting-my-stride/</guid>
      <description>I feel like I&amp;rsquo;m finally hitting my stride in my current contract</description>
      <content:encoded><![CDATA[<h2 id="enjoying-work">Enjoying Work</h2>
<p>In any job or role, white or blue collar, skilled or unskilled, you always have
a period of feeling like an impostor at the beginning.  You can have all the
skills your industry requires but you never have the &ldquo;domain knowledge&rdquo; that
each organisation comes with.  That takes time.</p>
<p>The good news is that I&rsquo;m finally at that good point in this current contract.
Now, it&rsquo;s 4 months into the 6 month contract - but it&rsquo;s welcome all the same. I
was having a rough time for a while there, particularly as I was having the bad
luck of choosing some toxic work tickets that other people I can only guess were
avoiding.  Those were nightmares.</p>
<p>But in this last sprint I think I&rsquo;ve closed something like 8 tickets with some
spectacularly complex fixes like upgrading the entirety of our <a href="https://docs.aws.amazon.com/controltower/latest/userguide/what-is-control-tower.html" target="_blank" >AWS Control Tower</a>,
fixing a LONG standing bug with a Lambda mysteriously never working on our
workload accounts, and getting DEEP into some particularly gnarly <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html" target="_blank" >AWS Service
Control Policies (SCPs)</a>.</p>
<p>In the new sprint from tomorrow, I&rsquo;ll be checking a handful of other Lambdas to
ensure the recent Python runner upgrade didn&rsquo;t break them.</p>
<h1 id="that-said">That said</h1>
<p>I&rsquo;ve got 71 days left in this contract.  I need to know by 60 days whether
they&rsquo;ll want to renew me or it&rsquo;s off to market I go. The job market is <strong>rough</strong>
currently so I can&rsquo;t afford to be messed around.</p>
<p>Hopefully they will renew me though.  I like these people and the work - and - it
would be good to ride out the job market storm somewhere safe for a while.</p>
<h1 id="and-just-some-random-notes">And just some random notes</h1>
<ul>
<li>New business cards ordered! It&rsquo;s <strong>very</strong> rare to give them out, but I like
having them.  I updated the design to remove the Twitter address, and to add
all the weird titles my industry likes. Otherwise, these are much like my old
ones.  Ultra thick paper with a green color between the two sides:</li>
</ul>
<p><img alt="New Business Cards" loading="lazy" src="/posts/2024/10/03/cards.png"></p>
<ul>
<li>
<p>I was quiet last week as I finally migrated my entire email stack off
Proton Mail to my own self-hosted mail server on docker-mailserver.  I&rsquo;m in
the process of writing that up.</p>
</li>
<li>
<p>We just got back from a long weekend in Scotland with a quick detour through
the Lake District. Had a lovely time.  Did a bit of hiking, sat around in our
hot tub, ate good food, and had fun with the family. Here are some pictures I
took:</p>
</li>
</ul>
<p><img alt="The Lake District" loading="lazy" src="/posts/2024/10/03/0J9A1627.jpg">
<img alt="Scotland" loading="lazy" src="/posts/2024/10/03/0J9A1653.jpg">
<img alt="Family on the Bridge" loading="lazy" src="/posts/2024/10/03/0J9A1659.jpg">
<img alt="Scottish Problems" loading="lazy" src="/posts/2024/10/03/0J9A1663.jpg">
<img alt="Honey the Highland Cow" loading="lazy" src="/posts/2024/10/03/0J9A1666.jpg">
<img alt="Mist over the hills" loading="lazy" src="/posts/2024/10/03/0J9A1670.jpg">
<img alt="Shrooms on a Dead Tree" loading="lazy" src="/posts/2024/10/03/0J9A1683.jpg">
<img alt="The Forest and a Mother Tree" loading="lazy" src="/posts/2024/10/03/0J9A1698.jpg"></p>
]]></content:encoded>
    </item>
    <item>
      <title>07/Aug/2024 - TIL</title>
      <link>https://chris.funderburg.me/posts/2024/08/07/til/</link>
      <pubDate>Wed, 07 Aug 2024 19:14:02 +0100</pubDate>
      <guid>https://chris.funderburg.me/posts/2024/08/07/til/</guid>
      <description>Today I learned: Google Workspace SAML certificates expire after 5 years.</description>
      <content:encoded><![CDATA[<h2 id="today-i-learned">Today I Learned:</h2>
<h3 id="google-workspace-saml-certificates-expire-after-5-years">Google Workspace SAML certificates expire after 5 years.</h3>
<p>And when it does, if you use that to log into AWS, you suddenly can&rsquo;t.  So,
either keep a backup IAM account handy, or remember the details of your AWS root
account.  Any and all access methods should have 2FA enabled!</p>
<p><img alt="AWS and Google SAML" loading="lazy" src="/posts/2024/08/07/saml.png"></p>
<p>It&rsquo;s an easy fix to just log back into <a href="https://admin.google.com/u/1/ac/apps/unified" target="_blank" >Workspace Admin -&gt; Apps -&gt; Web and
Mobile Apps</a>, go into the
particular application, click on <code>Service Provider Details</code>, <code>Manage Certificates</code>, <code>Add Certificate</code>, then finally <code>Download Metadata</code>.</p>
<p>You take that file, go back to AWS Console, then into <code>IAM</code> -&gt; <code>Identity Providers</code> -&gt; your-saml-provider -&gt; <code>Replace Metadata</code>, then upload the file
from the previous step.</p>
<p>Job done!</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
