<?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: gad kimathi</title>
    <description>The latest articles on DEV Community by gad kimathi (@gadkimathi).</description>
    <link>https://dev.to/gadkimathi</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3582788%2F14ddb7a1-056d-4a24-8866-687aae0d79a0.png</url>
      <title>DEV Community: gad kimathi</title>
      <link>https://dev.to/gadkimathi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gadkimathi"/>
    <language>en</language>
    <item>
      <title>How I Installed Ansible, Terraform &amp; AWS CLI on Windows (Before EPL Matchday)</title>
      <dc:creator>gad kimathi</dc:creator>
      <pubDate>Sat, 25 Oct 2025 08:26:12 +0000</pubDate>
      <link>https://dev.to/gadkimathi/how-i-installed-ansible-terraform-aws-cli-on-windows-before-epl-matchday-ejc</link>
      <guid>https://dev.to/gadkimathi/how-i-installed-ansible-terraform-aws-cli-on-windows-before-epl-matchday-ejc</guid>
      <description>&lt;p&gt;It’s Saturday morning, and while some people are arguing about who’s better between Mbappe and Yamal, I decided to do something productive before kickoff.&lt;/p&gt;

&lt;p&gt;I finally set up Ansible, Terraform, and AWS CLI on my Windows machine.&lt;br&gt;
And honestly? It wasn’t hard at all.&lt;br&gt;
(Which is more than I can say for Chelsea trying to not to get a red card this season)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Enabling WSL (Linux Inside Windows)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let’s be honest, Windows and Linux don’t always get along. But WSL (Windows Subsystem for Linux) fixes that beautifully.&lt;/p&gt;

&lt;p&gt;I opened PowerShell as Administrator and ran:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;wsl --install -d Ubuntu
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Boom, Ubuntu installed right inside Windows.&lt;br&gt;
No VM, no pain.&lt;/p&gt;

&lt;p&gt;When I tried to run it the first time, I got this classic error:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Error: 0x800701bc WSL 2 requires an update to its kernel component.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;NB: I fixed that by going to &lt;a href="https://aka.ms/wsl2kernel" rel="noopener noreferrer"&gt;https://aka.ms/wsl2kernel&lt;/a&gt;&lt;br&gt;
, installing the update, and re-running the command.&lt;br&gt;
After that, Ubuntu launched perfectly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Installing Ansible&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now inside Ubuntu, I ran:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt update
sudo apt install -y software-properties-common
sudo add-apt-repository --yes --update ppa:ansible/ansible
sudo apt install -y ansible
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;At first, I got this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;E: Unable to locate package ansible
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;NB: That happens if you skip the repository setup. Once I added it properly, Ansible installed cleanly.&lt;/p&gt;

&lt;p&gt;To confirm:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ansible --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Done.&lt;br&gt;
No errors, no drama. Smoother than a Mbeumo's counterattack.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Installing Terraform&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This one was easy too. I just ran:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt-get update &amp;amp;&amp;amp; sudo apt-get install -y gnupg software-properties-common curl
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update &amp;amp;&amp;amp; sudo apt-get install terraform -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;terraform -version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Terraform v1.x.x&lt;br&gt;
At this point, my setup was coming together faster than Amad down the right wing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Installing AWS CLI&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And now for AWS CLI — the final piece.&lt;/p&gt;

&lt;p&gt;I ran:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt update &amp;amp;&amp;amp; sudo apt install -y unzip curl
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then checked:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;aws --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It worked.&lt;/p&gt;

&lt;p&gt;No need to fight with PATH variables or random installer pop-ups like it’s an Arsenal defense.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Configuring AWS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Then I connected it to my AWS account:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;aws configure
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Entered my credentials, default region (us-east-1), and output (json).&lt;br&gt;
Then tested:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;aws sts get-caller-identity
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It printed my account details.&lt;br&gt;
Clean. Just like Lammens’s last save (God really blessed us).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6: Test Everything&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Just to be sure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ansible --version
terraform --version
aws --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;All working. My laptop was now a fully armed DevOps machine and the match hadn’t even started yet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I used to think setting up these tools would take forever. Turns out, with WSL, it’s actually fun.&lt;br&gt;
No VMs, no dual-boot just clean Linux inside Windows.&lt;/p&gt;

&lt;p&gt;If you’ve been putting this off, grab your coffee (or your matchday drink), run these commands, and get it done before kickoff.&lt;/p&gt;

&lt;p&gt;It’s honestly easier than getting my team into the top 4.&lt;/p&gt;

&lt;p&gt;So yeah, that’s my Saturday morning win.&lt;br&gt;
DevOps setup ✅&lt;br&gt;
Matchday ready ✅&lt;br&gt;
Chelsea catching strays ✅&lt;/p&gt;

&lt;p&gt;Now bring on the 3 PM kickoff.&lt;br&gt;
Let’s hope the boys perform as smoothly as this install did.&lt;br&gt;
PS: I’m a beginner, just starting my DevOps journey.&lt;br&gt;
If you’re experienced in this space, I’d really appreciate a mentor or someone I can learn from.&lt;/p&gt;

&lt;h1&gt;
  
  
  devops #ansible #terraform #aws #wsl #beginners
&lt;/h1&gt;

</description>
      <category>tutorial</category>
      <category>devops</category>
      <category>terraform</category>
      <category>aws</category>
    </item>
  </channel>
</rss>
