<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dryden Williams</title>
    <description>The latest articles on DEV Community by Dryden Williams (@dryden_williams_4e73f5f0b).</description>
    <link>https://dev.to/dryden_williams_4e73f5f0b</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2475991%2Fee309bdf-0a02-4c81-aabf-2f2543995fdc.png</url>
      <title>DEV Community: Dryden Williams</title>
      <link>https://dev.to/dryden_williams_4e73f5f0b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dryden_williams_4e73f5f0b"/>
    <language>en</language>
    <item>
      <title>We cut CI emissions by up to 90% – by choosing where code runs</title>
      <dc:creator>Dryden Williams</dc:creator>
      <pubDate>Mon, 05 May 2025 11:01:28 +0000</pubDate>
      <link>https://dev.to/dryden_williams_4e73f5f0b/we-cut-ci-emissions-by-up-to-90-by-choosing-where-code-runs-46gl</link>
      <guid>https://dev.to/dryden_williams_4e73f5f0b/we-cut-ci-emissions-by-up-to-90-by-choosing-where-code-runs-46gl</guid>
      <description>&lt;p&gt;We’ve been experimenting with running CI/CD jobs multi-cloud, across AWS, Azure, and GCP — but with a twist: each job gets routed to the lowest-carbon region available at the time (among other weightings like latency, performance, and provider preferences).&lt;/p&gt;

&lt;p&gt;Our project is called &lt;a href="https://carbonrunner.io/" rel="noopener noreferrer"&gt;CarbonRunner.io&lt;/a&gt; and there’s a surprising amount of variability between cloud regions. &lt;/p&gt;

&lt;p&gt;Some run on hydro, nuclear, or wind — others are still coal- or gas-heavy. By choosing where code runs based on carbon intensity, we’ve seen up to &lt;strong&gt;90% reduction&lt;/strong&gt; in emissions per job, &lt;strong&gt;25% cheaper&lt;/strong&gt; than Github actions and it's all from a one-line-code change.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;jobs:
    deploy: 
-       runs-on: ubuntu-latest
+       runs-on: carbonrunner-4vcpu-ubuntu-latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;We’ve been tracking the average grid intensity of jobs run by GitHub Actions and Azure (when region is unspecified), and we’ve seen an average of ~285 gCO₂/kWh.By contrast, when we set a hard limit of 100 gCO₂/kWh max, our jobs averaged just 48 gCO₂/kWh — with some running as low as 24 gCO₂/kWh.&lt;/p&gt;

&lt;p&gt;It’s been eye-opening to see how much of a difference regional scheduling can make — especially for something like CI/CD, where latency is often a lesser concern.&lt;/p&gt;

&lt;p&gt;It’s made us wonder:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Should developers be thinking about this, or should platforms abstract it away? - Where’s the right tradeoff between performance, carbon, and cost?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If anyone else here is exploring carbon-aware infra, cloud sustainability, or multi-cloud scheduling&lt;/p&gt;

&lt;p&gt;CarbonRunner pulls live grid intensity data and applies weighted logic to select the best region for each job across providers — would love to hear what you're seeing or thinking about. &lt;/p&gt;

&lt;p&gt;Please signup for our &lt;a href="https://carbonrunner.io/waitlist" rel="noopener noreferrer"&gt;waitlist&lt;/a&gt; as we're starting to onboard early users.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>azure</category>
      <category>aws</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
