<?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: Vakho Mosidze</title>
    <description>The latest articles on DEV Community by Vakho Mosidze (@vakho_mosidze_4d4da8a7846).</description>
    <link>https://dev.to/vakho_mosidze_4d4da8a7846</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%2F4279356%2F177646b1-3fea-49f8-9c32-67e9cd56a10b.png</url>
      <title>DEV Community: Vakho Mosidze</title>
      <link>https://dev.to/vakho_mosidze_4d4da8a7846</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vakho_mosidze_4d4da8a7846"/>
    <language>en</language>
    <item>
      <title>InfraLens: Auditing an Inherited AWS Account Read-Only (Costs, Drift, and Live Problems)</title>
      <dc:creator>Vakho Mosidze</dc:creator>
      <pubDate>Thu, 03 Dec 2026 07:47:30 +0000</pubDate>
      <link>https://dev.to/vakho_mosidze_4d4da8a7846/infralens-auditing-an-inherited-aws-account-read-only-costs-drift-and-live-problems-7n</link>
      <guid>https://dev.to/vakho_mosidze_4d4da8a7846/infralens-auditing-an-inherited-aws-account-read-only-costs-drift-and-live-problems-7n</guid>
      <description>&lt;p&gt;When you inherit an AWS account nobody documented, the first week usually goes into clicking through CloudWatch, Billing, Cost Explorer, IAM, and CloudTrail trying to answer four basic questions: what is running, what depends on what, what is actually unused, and why the monthly bill looks the way it does.&lt;/p&gt;

&lt;p&gt;Standard monitoring tools rarely help during that first week. On a busy account, Auto Scaling alarms outnumber real incidents a hundred to one, and generic price calculators do not match what ended up on last month's invoice.&lt;/p&gt;

&lt;p&gt;So we built &lt;strong&gt;InfraLens&lt;/strong&gt; — a single Go binary that runs locally on your machine with your own credentials, strictly read-only, and produces a report you can hand to a team or a client.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three layers joined in one scan
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;./infralens demo --out demo        &lt;span class="c"&gt;# inspect a built-in synthetic example without AWS&lt;/span&gt;
./infralens serve                  &lt;span class="c"&gt;# local web UI on http://127.0.0.1:8765/&lt;/span&gt;
./infralens scan --profile prod    &lt;span class="c"&gt;# scan one account from the terminal&lt;/span&gt;
./infralens audit --profile prod --client &lt;span class="s2"&gt;"ACME"&lt;/span&gt; --out acme/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Instead of treating infrastructure, billing, and security as separate tabs, InfraLens joins them:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure and IaC drift&lt;/strong&gt; — what exists, how resources connect, who owns them, and whether they match your Terraform or CloudFormation state.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real cost from the bill&lt;/strong&gt; — resource pricing pulled from last month's actual AWS bill rather than list prices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security context&lt;/strong&gt; — lightweight built-in checks combined with whatever AWS Security Hub, Trusted Advisor, and Prowler already reported.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;An LLM can summarize the findings in plain English, but it never invents numbers or touches your AWS account.&lt;/p&gt;

&lt;h2&gt;
  
  
  Problem Monitor: an empty screen when things are quiet
&lt;/h2&gt;

&lt;p&gt;We also added a live Problem Monitor (&lt;code&gt;/live&lt;/code&gt; or &lt;code&gt;infralens serve --monitor PROFILE&lt;/code&gt;) meant for a second screen. It only draws what is broken right now.&lt;/p&gt;

&lt;p&gt;For &lt;strong&gt;AWS&lt;/strong&gt;, it polls cheap, read-only endpoints every 30–60 seconds: CloudWatch alarms in &lt;code&gt;ALARM&lt;/code&gt; (ignoring Auto Scaling noise), ECS services below desired count, unhealthy target groups, RDS/Aurora issues, growing dead-letter queues, and open AWS Health events.&lt;/p&gt;

&lt;p&gt;For &lt;strong&gt;Kubernetes&lt;/strong&gt;, it judges workloads rather than individual pods. A Deployment with all replicas ready stays quiet even if a pod restarted four months ago. On a 500-pod cluster, that turns hundreds of rows into the handful of workloads that actually need attention.&lt;/p&gt;

&lt;p&gt;The Kubernetes client rejects every request that is not a &lt;code&gt;GET&lt;/code&gt;, with no access to Secrets or ConfigMaps (&lt;code&gt;infralens policy --k8s&lt;/code&gt; prints the exact read-only &lt;code&gt;ClusterRole&lt;/code&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it or book an audit
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Source &amp;amp; binaries (Apache-2.0): &lt;a href="https://github.com/mosidze/infralens" rel="noopener noreferrer"&gt;https://github.com/mosidze/infralens&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Fixed-price read-only AWS audit (written report in 5–7 working days): &lt;a href="https://ecix.ee/audit/" rel="noopener noreferrer"&gt;https://ecix.ee/audit/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Our 23-chapter book on bare-metal Kubernetes and AI guardrails (&lt;em&gt;Don't Trust. Don't Fear. Don't Beg&lt;/em&gt;): &lt;a href="https://www.amazon.com/dp/B0HNGT7GR7" rel="noopener noreferrer"&gt;https://www.amazon.com/dp/B0HNGT7GR7&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>aws</category>
      <category>devops</category>
      <category>kubernetes</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
