<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jay Mahyavansh on Medium]]></title>
        <description><![CDATA[Stories by Jay Mahyavansh on Medium]]></description>
        <link>https://medium.com/@mahyavanshjay?source=rss-b3daace9f33b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZADAWz0eqawf56MOlOd5AA.jpeg</url>
            <title>Stories by Jay Mahyavansh on Medium</title>
            <link>https://medium.com/@mahyavanshjay?source=rss-b3daace9f33b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:54:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mahyavanshjay/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Kubernetes GPU Cost Optimization: 7 Best Practices to Control Your Spend]]></title>
            <link>https://medium.com/@mahyavanshjay/kubernetes-gpu-cost-optimization-7-best-practices-to-control-your-spend-cb2634d2773c?source=rss-b3daace9f33b------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb2634d2773c</guid>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[cost-optimization]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[cost]]></category>
            <category><![CDATA[kubernetes-cost-saving]]></category>
            <dc:creator><![CDATA[Jay Mahyavansh]]></dc:creator>
            <pubDate>Tue, 16 Jun 2026 13:28:12 GMT</pubDate>
            <atom:updated>2026-06-16T13:29:30.840Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uGFsErhMhNVy02yQBboBYg.png" /><figcaption>Kubernetes GPU Cost Optimization</figcaption></figure><h3>Introduction</h3><p>If you train or serve your own AI models, GPUs are likely one of the biggest and fastest-rising costs you carry. Running them on Kubernetes is supposed to keep that under control, but in practice most of the spend goes to waste.</p><p>The major reason is usually underutilization. We have seen many of our clients who pay for the whole cluster of GPUs, but end up using hardly 10–20% of the total capacity.</p><p>And across the market it’s worse than that. Cast AI’s 2026 report found<a href="https://cast.ai/blog/2026-state-of-kubernetes-resource-optimization-cpu-at-8-memory-at-20-and-getting-worse/"> average GPU utilization at 5%</a> across tens of thousands of clusters. At that level, a GPU server costing tens of thousands a month is delivering almost none of what you pay for.</p><p>We’ve developed a set of best practices or you can say strategies for <strong>Kubernetes GPU cost optimization</strong>, that bring GPU spend down without slowing teams or rebuilding anything. They come from our own internal training clusters and on client projects running AWS, GKE, and AKS. If you want my team to run this with you, you can <a href="https://www.bacancytechnology.com/hire-kubernetes-developers">hire Kubernetes developers</a> from us.</p><h3>Top 7 Best Practices for Kubernetes GPU Cost Optimization</h3><p>You do not need to implement all these best practices for Kubernetes GPU Cost optimization at once. I have ranked them in order, starting from the ones that are important and need to be implemented first.</p><h4>1. Start by Measuring How Idle Your GPUs Really Are</h4><p>The first thing to do on any GPU cluster on K8s is measure utilization for a week before changing anything.</p><p>Kubernetes doesn’t report GPU usage on its own, so add the DCGM exporter with Prometheus and Grafana to track it per workload and see which GPUs are working and which are only reserved.</p><p>The first time we ran this for a client, the data showed four of their engineers each holding a full 80 GB GPU for jobs that needed about 12 GB. No one had set anything up wrong. The capacity was paid for and idle, and until the monitoring was in place, no one had any way to know. One week of that data is usually enough to show where the spend is going and which of the fixes below to start with.</p><h4>2. Allow for GPU Sharing</h4><p>Kubernetes gives each workload a full GPU by default, even when the work it runs needs only a fraction of it. Lighter workloads then cost a full GPU to do a small amount of work.</p><p>GPU sharing fixes this. It lets more than one workload run on the same GPU, and it works well for development, internal tools, and lighter inference. Anything that serves customers directly or handles sensitive data should keep its own GPU instead.</p><p>We had a client whose small models each ran on a dedicated GPU and sat idle most of the day. We moved them onto shared GPUs, which cut the number the service needed by more than half, with no change in response times. Their customer-facing systems kept their own GPUs.</p><h4>3. Use MIG to Keep Sensitive Workloads Apart on the Same GPU</h4><p>For work that serves customers or runs under data rules, sharing a GPU is too risky, because the workloads aren’t separated from each other.</p><p>Here, you can use MIG(Multi-Instance GPU). It divides a single GPU into separate sections at the hardware level, each with its own memory and processing, so one workload cannot reach into or disturb another. The layout is fixed, and changing it takes the GPU offline briefly, so set it around steady traffic and leave it in place.</p><p>We use this for clients whose platforms serve several tenants on the same hardware, where one slow workload would show up as a complaint. We give each tenant an isolated section of a shared GPU instead of a GPU of its own. That lowers the GPU count for the platform, and each tenant’s performance stays steady and separate.</p><h4>4. Stop Over-Reserving GPU Capacity</h4><p>Teams usually reserve far more GPU capacity than a workload needs, and size them for the heaviest demand it might ever see. The reservation then stays at that level continuously, while the workload uses only a portion of it.</p><p>In general, planning for future helps, but here, overpaying for GPUs just on a possible future traffic instance is usually a waste of money, as.you can instead reserve only what the workload uses now and raise or scale it when the traffic actually arrives.</p><p>What you can do for Kubernetes GPU cost optimization here is set each reservation to match normal usage, with enough margin to cover a spike, and review it regularly. One client’s recommendation service held GPU for a traffic level it never reached, running on a fraction of it for months. We resized the reservation to match what it used, then raised it only as traffic actually grew. That cut the service’s GPU bill straight away, and it has stayed close to actual usage since.</p><h4>5. Move Training and Batch Jobs to Spot GPU Nodes</h4><p>Cloud providers sell spare GPU capacity, called spot, at a steep discount, with the catch that they can reclaim it on short notice. Training and batch jobs are good fit for spot instances, because they save their progress as they go and resume from the last checkpoint after an interruption. Workloads that serve customers don’t fit, because the same interruption would mean downtime, so they stay on standard capacity.</p><p>One client ran their training on standard GPUs to stay clear of interruptions. We moved it to spot and added checkpointing, so an interruption costs a few minutes instead of the whole run. We also set it to fall back to standard GPUs when spot wasn’t available. The training finished on time, and its GPU cost dropped by more than half.</p><h4>6. Scale Inference to Zero When Nobody Is Calling It</h4><p>Some inference endpoints get only a few requests an hour but stay running all day, holding a GPU the whole time for a few minutes of work.</p><p>Use KEDA and Knative to shut an endpoint down once traffic stops and start it again on the next request, so the GPU runs only when something or someone is using it. Starting back up takes a few seconds, so scale down only the endpoints where a short wait on the first request is fine, and leave anything that has to respond instantly running all the time.</p><p>One client kept several low-traffic internal endpoints on GPUs full-time. We set those to shut down when idle and restart on the next request, so they stopped running overnight and on weekends, while the busy customer-facing ones kept running as before.</p><h4>7. Fix the Autoscaler Conflict Before Adding Another One</h4><p>Most GPU savings depend on the autoscaler making the right call about how many machines to run. The problem is that Kubernetes has several autoscalers, and teams often run more than one without realizing it. Cluster Autoscaler, Karpenter, HPA, and VPA each act on different signals, so two of them can sit on the same GPU machines making opposite decisions. On CPUs that waste is minor. On GPU machines, which cost far more, a single one left running by a confused autoscaler is expensive, and the problem hides because each tool looks correct on its own.</p><p>Audit the autoscalers you already run before adding another. Give one control of machine count and another control of workload size, so two never act on the same resource. We found a cluster with three autoscalers on one GPU pool, two of which the team did not know were running. We removed the extras, put one in charge, and the GPU count dropped with no change to any workload.</p><p>The autoscaler conflict isn’t specific to GPUs. It is one of the more common Kubernetes cost optimization problems, and it shows up the same way on compute and storage, just with a smaller bill attached.</p><h3><strong>Conclusion</strong></h3><p>GPUs are the most expensive thing in a Kubernetes cluster, and on most clusters they sit far below the capacity they are billed for. That gap is the whole problem.</p><p>Closing that gap is what <em>Kubernetes GPU cost optimization</em> does, and it works best when you put these practices into implementation.</p><p>Start by measuring your GPU utilization, which shows you where the money is getting wasted. Most of it comes back through GPU sharing and right-sizing reservations to what workloads use. Spot capacity and scaling idle inference down handle the rest. None of this needs a rebuild or a migration.</p><p>But if your K8s team needs help auditing current GPU spend and applying these changes, you can consider taking <a href="https://www.bacancytechnology.com/kubernetes-consulting-services">Kubernetes consulting services</a> from a provider who has done this work on production GPU clusters before.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb2634d2773c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Single Cloud vs Multi Cloud Observability: What Is the Difference?]]></title>
            <link>https://medium.com/@mahyavanshjay/single-cloud-vs-multi-cloud-observability-what-is-the-difference-9af490faa00b?source=rss-b3daace9f33b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9af490faa00b</guid>
            <category><![CDATA[comparison]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[multi-cloud]]></category>
            <category><![CDATA[observability]]></category>
            <dc:creator><![CDATA[Jay Mahyavansh]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 18:24:48 GMT</pubDate>
            <atom:updated>2026-06-09T18:29:07.133Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZFnf4_XQItwxQkwaeCj94Q.png" /></figure><h3>Introduction</h3><p>Often, our clients ask this question once they move on to a second cloud provider:</p><blockquote><em>“</em>We spent two years getting our AWS monitoring right. Now half our workloads are moving to Azure. Do we have to redo all of it, or does what we have just carry over?<em>”</em></blockquote><p>No, it does not carry over, and that gap explains the whole single cloud vs multi cloud observability debate. Watching one provider and watching two are not the same job. A single cloud gives you one native toolset, one data model, and one bill to read. The moment a second provider joins, none of the previous setups follows through, and the cracks show up first during an incident.</p><p>For CTOs and engineering leaders, this is not only a question of which other tool to use. It affects mean time to resolution, on-call load, cost visibility, and how much your team trusts its own dashboards. If you are weighing a move to multiple providers against staying on one, you need to factor in what observability will cost you on each path.</p><p>In this article, I will explain how <strong>single cloud vs multi cloud observability</strong> differ, where each one fits, and how to choose between them in 2026.</p><h3>Top 5 Differences Between Single Cloud vs Multi Cloud Observability</h3><p>Most teams reach this topic because the cloud setup already grew, not because they planned for it. These are the points where these two cloud models actually differ</p><h4>1. Each Cloud Records Telemetry Its Own Way</h4><p>Single cloud observability runs on one data model. On AWS, <a href="https://aws.amazon.com/cloudwatch/">CloudWatch</a> sets how metrics, logs, and traces get named, stored, and queried, and every AWS service plays by those rules</p><p>But when a second cloud gets in the picture, this singularity breaks. Move half your workloads to Azure, and you are now also running <a href="https://azure.microsoft.com/en-us/products/monitor">Azure Monitor</a>, with its own metric names, log schemas, and trace formats, none of which match CloudWatch.</p><p>So no native tool sees the whole system, because each one only watches its own cloud. Getting one view across both means adding a tool that sits above them, and that is where multi-cloud observability starts.</p><h4>2. From Native Tools to an Open Standard</h4><p>Native tools cannot read each other. CloudWatch will never ingest an Azure metric, and Azure Monitor will never read an AWS log, so there is no native path to one combined view. This is why multi cloud teams adopt an open standard that is not tied to any one provider.</p><p><a href="https://opentelemetry.io/">OpenTelemetry</a> is the common choice. It sets one way to collect metrics, logs, and traces regardless of which cloud they come from, so data from AWS and Azure lands in one backend in one format. You query both clouds in one place instead of switching between consoles.</p><p>OpenTelemetry handles collection, but you still need somewhere to store and visualize it. Common backends include <a href="https://grafana.com/docs/grafana/latest/fundamentals/getting-started/first-dashboards/get-started-grafana-prometheus/">Grafana with Prometheus</a>, <a href="https://www.datadoghq.com/">Datadog</a>, and <a href="https://newrelic.com/">New Relic</a>, all of which read OpenTelemetry data and show both clouds on one dashboard. To know more about how these tools work, you can read this detailed <a href="https://www.bacancytechnology.com/blog/multi-cloud-observability-guide">guide on multi cloud observability</a>.</p><h4>3. Cost Visibility Between Providers</h4><p>On one cloud, the spend is easy to read. There is a single bill, and monitoring costs sit inside it. Multi cloud splits that spend across separate tools, each with its own ingestion pricing and retention settings.</p><p>So the cost of observability no longer lives in one place. You have to check each tool to see what you are paying, and the total shifts whenever log volume or retention changes on any provider.</p><h4>4. Incident Response Time</h4><p>This is where the difference between single cloud observability vs multi cloud observability hurts most.</p><p>In a single cloud, you can follow one request from start to finish inside a single tool, through every service it runs through. In multi cloud, a request can start in Azure, call a service in AWS, or in GCP, then hit a database back in Azure, and no native tool follows it the whole way.</p><p>Teams bridge that distance by exporting data from each cloud and aligning timestamps manually. During an incident, that manual step adds delay at the point where speed matters, and it is the main reason resolution takes longer on multi cloud.</p><h4>5. One Alert Becomes Two Across Clouds</h4><p>In a single cloud, all alerts come from one system, set up with one set of rules. In multi cloud, AWS sends its alerts through CloudWatch and Azure sends its own through Azure Monitor. So the same problem, like a database slowing down, can trigger a separate alert in each one. On-call engineers then get the same incident reported twice, from two tools, and have to figure out it is one problem and not two.</p><h3>When Single Cloud Observability Is Enough</h3><p>Single cloud observability works well when the cloud setup genuinely lives on one provider.</p><p>Teams can stay on native tools when they:</p><ul><li>Run all workloads on one cloud, with no near-term plan to add anothe</li><li>Use mostly managed services from that single provider</li><li>Keep a footprint small enough that one bill and one console stay readable</li><li>Never need to trace a request between two providers</li></ul><p>For these teams, adding a third-party platform is mostly cost with little return.</p><h3>When You Need Multi Cloud Observability</h3><p>Multi cloud observability becomes necessary once a single request, or a single team, depends on more than one provider.</p><p>You need it when you:</p><ul><li>Run workloads on two or more clouds at the same time</li><li>Trace requests that cross provider boundaries</li><li>Want one view of cost, performance, and health no matter where a service runs</li><li>Carry uptime or compliance targets that an incident in any one cloud could threaten</li></ul><p>In these cases, a vendor-neutral stack built on OpenTelemetry, feeding one backend, removes the manual correlation work that slows every incident down.</p><p>And, if you need help migrating to a multi cloud setup, you can always consider <a href="https://www.bacancytechnology.com/cloud-migration-services">cloud migration services</a> from a trusted provider, who has worked on such requirements before.</p><h3>Final Thoughts</h3><p>The <em>single cloud vs multi cloud observability</em> question is not about which provider’s monitoring is best. It is about whether you can still see your whole system in one place.</p><p>As long as everything sits in one cloud, native tools do the job. The day a request reaches two or more clouds, you need a model that treats all of them as one system, or you pay for it later in slower incidents and gaps in visibility.</p><p>If your cloud setup is heading toward multiple providers, plan the observability model before the second cloud goes live, not after. And if your team needs expert help with the setup, you can opt for <a href="https://www.bacancytechnology.com/multi-cloud-services">multi cloud services</a> to connect both clouds, with a single set of alerts and one view across them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9af490faa00b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Use OpenTelemetry for .NET Applications in 2026: Lessons From Client Projects]]></title>
            <link>https://medium.com/@mahyavanshjay/how-to-use-opentelemetry-for-net-applications-in-2026-lessons-from-client-projects-043b01998a4d?source=rss-b3daace9f33b------2</link>
            <guid isPermaLink="false">https://medium.com/p/043b01998a4d</guid>
            <category><![CDATA[visibility]]></category>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[opentelemetry]]></category>
            <category><![CDATA[application-development]]></category>
            <category><![CDATA[dotnet]]></category>
            <dc:creator><![CDATA[Jay Mahyavansh]]></dc:creator>
            <pubDate>Fri, 22 May 2026 17:51:50 GMT</pubDate>
            <atom:updated>2026-05-22T17:54:32.684Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vw-Y5_gWt62Uuax0M3_I5Q.jpeg" /></figure><h3>Introduction</h3><p>On the .NET team at Bacancy, I’ve worked on OpenTelemetry rollouts across many client projects. Some were quick. A new ASP.NET Core service, the SDK added, the OTLP exporter pointed at the right backend, and we were done in a couple of days. Others were harder. One legacy .NET Framework system couldn’t go offline for a maintenance window, and the whole rollout had to work around that.</p><p>This is a good time to talk about this, as just recently, on May 11, 2026, the CNCF moved <a href="https://www.cncf.io/announcements/2026/05/21/cloud-native-computing-foundation-announces-opentelemetrys-graduation-solidifying-status-as-the-de-facto-observability-standard/">OpenTelemetry to graduated status</a>, its highest maturity tier, and the same one Kubernetes and Prometheus occupy. For .NET teams, this means the SDKs are stable, the semantic conventions are settled, and every major observability backend reads OpenTelemetry data natively. The question is no longer if you should use it. The question is how to use it well.</p><p>Below are ten ways I use <strong>OpenTelemetry for .NET </strong>on in-house and client-led projects, and what each one is good for.</p><h3>Top 10 Ways to Use OpenTelemetry for .NET</h3><p>I’ve explained each of the ten in detail, with a real example from a project our team has handled, so you can get a clear idea of what works in practice and where teams usually get stuck.</p><h4>1. Trace Requests Across .NET Microservices</h4><p>For most teams adopting OpenTelemetry for .NET, distributed tracing is the first signal worth turning on. I always start by installing OpenTelemetry.Instrumentation.AspNetCore and OpenTelemetry.Instrumentation.Http. Together, these packages record every incoming request and every outgoing HttpClient call, and the trace ID is passed automatically when one service calls another.</p><p>On a recent e-commerce project, OpenTelemetry helped us identify a checkout slowdown that the team had been investigating for several weeks. The initial assumption was a database issue. After we added tracing to all the services involved in checkout, the trace data showed that a separate pricing service was the actual cause, adding 600ms to every checkout request before it ever reached the database.</p><h4>2. Add Custom Spans to Business Logic with ActivitySource</h4><p>The default packages cover the HTTP layer for free. Things get more interesting when you add custom spans around your own business logic using ActivitySource. A custom span is a small block of code that tells OpenTelemetry, “measure this section as its own unit of work.” You wrap a checkout step, a payment call, or an order fulfillment routine, and that section now shows up in your traces with its own timing and attributes.</p><p>On a fintech project, we added custom spans around a fraud check service that ran as part of every transaction. Within two days, we could see that around 6% of transactions were spending more than 800ms on this single check. Without those custom spans, the fraud check was hidden inside the parent HTTP timing, and the team had been investigating the wrong service for months.</p><h4>3. Correlate Logs and Traces in ASP.NET Core</h4><p>One of the key features of OpenTelemetry for .NET is the ILogger bridge. Once you add it via AddOpenTelemetry on the logging builder, every log line your app writes carries the current TraceId and SpanId. Your structured logs and your traces are now the same dataset. Click any log entry, jump to the full distributed trace, and vice versa.</p><p>On a healthcare project, this single change cut average incident response time from around 40 minutes to under 10. The team stopped jumping between Kibana and Jaeger and started solving issues from a single view.</p><h4>4. Catch Slow Queries with SqlClient Tracking</h4><p>Database calls are where most .NET apps actually spend their time, and OpenTelemetry.Instrumentation.SqlClient shows every query (EF Core, Dapper, raw ADO.NET) as a span with the command text and duration attached.</p><p>This is one of the first things we set up when clients come to us for <a href="https://www.bacancytechnology.com/net-development-company">.NET development services</a> that involve performance work on an existing application. On a logistics project, the SqlClient spans showed a single N+1 query firing 400 times per page load. The fix took 15 minutes of code. The result was a 3x speedup on the route planning screen, which the team had been treating as “just slow” for two years.</p><h4>5. Monitor Outbound HTTP and gRPC Dependencies</h4><p>Every .NET app depends on outside services, like payment gateways, identity providers, internal APIs, and gRPC services. AddHttpClientInstrumentation and AddGrpcClientInstrumentation give you visibility into all of it. You get access to metrics like latency per endpoint, error rates, retry counts, and status codes for every outbound call.</p><p>I once worked with a SaaS client whose API response times had been increasing each week. The traces pointed straight at their email provider’s API, which was getting slower every week. They swapped vendors, and response times dropped back to normal in about two weeks. Without that outbound visibility, the dev team would have spent another month getting blamed for a third-party slowdown.</p><h4>6. Track Business Metrics with the .NET Meter API</h4><p>Beyond infrastructure metrics, using OpenTelemetry for .NET lets you record custom business metrics using the native System.Diagnostics.Metrics API. Create a Meter, define a Counter or Histogram, and you’ve got orders per minute, signup completions, or queue depth going into the same pipeline as your traces.</p><p>On a marketplace project, we tracked “successful checkouts” as a counter alongside the standard latency metrics. When a deploy broke the payment flow without throwing any errors, the counter dropped to zero within minutes. The alert fired before a single customer had time to email support.</p><h4>7. Use Zero-Code Instrumentation for Legacy .NET Apps</h4><p>Not every team has the budget to modify a 10-year-old monolith. The OpenTelemetry .NET Auto-Instrumentation agent (v1.15.0 as of April 2026) solves this by attaching to your app at runtime and capturing traces and metrics without any source code changes. It is compatible with all the recent supported versions of .NET, including .NET 8 and .NET 10, with partial coverage for .NET Framework 4.6.2 and above.</p><p>I used this on a banking client whose core service was still running on .NET Framework alongside newer .NET 10 modules. We had tracing on both within a few hours, without modifying the legacy codebase. This gave the team time to plan modernization properly instead of rushing it under pressure.</p><h4>8. Avoid Vendor Lock-In with the OTLP Exporter</h4><p>This is the one use case of OpenTelemetry for .NET that actually lands with CTOs. OpenTelemetry for .NET writes telemetry once and exports it anywhere that speaks OTLP: Datadog, Grafana, Honeycomb, New Relic, Azure Monitor, AWS X-Ray. Switch backends, and your code doesn’t change.</p><p>A retail client I worked with ran around 30 .NET microservices, all instrumented with one observability vendor’s proprietary SDK. They had been on that contract for six years. When the renewal quote came in at nearly double, leadership wanted out, but the dev team was worried about rewriting instrumentation across every service. Because OpenTelemetry was already in place, the migration to a cheaper backend was a Collector config change, not a code rewrite.</p><h4>9. Control Observability Costs with Sampling</h4><p>Sending every trace to your backend may become expensive as you scale. The OpenTelemetry .NET SDK ships with ParentBasedSampler and TraceIdRatioBasedSampler, and you can run tail sampling at the Collector to keep only the traces worth investigating, such as errors, slow requests, and a small portion of normal traffic for baseline visibility.</p><p>On a SaaS application handling around 4 million requests a day, we reduced baseline sampling to 5% but kept 100% of any trace that contained an error or took longer than 2 seconds. Their telemetry bill came down by roughly 70%, and the SRE team still had complete visibility into every incident. This was one of the rare review calls where both the finance and engineering teams left satisfied.</p><h4>10. Trace Async Workflows Through Message Queues</h4><p>Async workflows are difficult to trace. A .NET service receives a request, places a message on Kafka or Azure Service Bus, and a background worker (often a BackgroundService or hosted worker) picks it up several services later. Each messaging library has its own OpenTelemetry path: Confluent.Kafka.Extensions.OpenTelemetry for Kafka, the Azure.Messaging.ServiceBus SDK’s built-in Activity support for Service Bus, and RabbitMQ.Client.OpenTelemetry for RabbitMQ. The trace context flows through message headers, but you need to register the right package and propagator on both sides: the producer that publishes the message and the worker service that consumes it.</p><p>We did this for an insurance client running a RabbitMQ claims pipeline across multiple ASP.NET Core services. Their team had no visibility into the pipeline for years. After we wired up RabbitMQ.Client.OpenTelemetry and set up the propagators on both ends, a single claim became traceable from the web form to the underwriting decision, across six .NET services and four queues. The product team finally saw exactly where claims were slowing down, rather than relying on customer complaints to find problems.</p><h3>Final Thoughts</h3><p><em>OpenTelemetry for .NET</em> is the standard now, not just an interesting open source project to keep an eye on. After running these rollouts across many client teams, the most common mistake I see is treating it like a new tool to plug in, rather than the foundation of how the team understands its own systems.</p><p>Pick one or two of the ten ways above and start there. Distributed tracing and log-trace correlation give you the most return for the least effort, and your team can add the rest once they are comfortable reading the data.</p><p>Here’s a tip I share with most teams. If your team is busy with delivery work, do not start an OpenTelemetry for .NET rollout from scratch. Instead, <a href="https://www.bacancytechnology.com/hire-dot-net-developer">hire .NET developers</a> who have done this work before. They know which packages to install first, which spans matter, and which sampling defaults will blow up your telemetry bill in week two.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=043b01998a4d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS IAM Identity Center vs IAM Users: A Detailed Comparison From Someone Who Got It Wrong First]]></title>
            <link>https://medium.com/@mahyavanshjay/aws-iam-identity-center-vs-iam-users-a-detailed-comparison-from-someone-who-got-it-wrong-first-da7ec48e8c3c?source=rss-b3daace9f33b------2</link>
            <guid isPermaLink="false">https://medium.com/p/da7ec48e8c3c</guid>
            <category><![CDATA[ami]]></category>
            <category><![CDATA[iam-roles]]></category>
            <category><![CDATA[aws-iam]]></category>
            <category><![CDATA[users]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Jay Mahyavansh]]></dc:creator>
            <pubDate>Thu, 09 Apr 2026 18:25:18 GMT</pubDate>
            <atom:updated>2026-04-09T18:29:09.447Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nzYC7cGkldb5LwRSSRWSdg.jpeg" /><figcaption>AWS IAM Identity Center vs IAM Users</figcaption></figure><h3>Introduction</h3><p>In the last few months, I have set up AWS access for five engineering teams using IAM users. Same decision every time, same reason every time: it was the fastest way to get people moving. The plan was always to come back and do it properly.</p><p>But, just recently, during a pre-review credential audit, I found a 900-day-old access key. The developer who created it had left eighteen months earlier. The key was still active, still had admin permissions on the production account, and had been used three times in the past six months by something we could not identify.</p><p>I remember setting up that account. I made that call. And nobody, including me, had logged into that account in over a year to check what was still running.</p><p>That is the part nobody warns you about with IAM users. The developer leaves, the key stays. Nobody removes it because nobody is looking at it.</p><p>The three accounts I had already moved to IAM Identity Center did not have this problem. That told me everything I needed to know.</p><p>That is what the <strong>AWS IAM Identity Center vs IAM users</strong> gap looks like in practice. Let us understand more in detail.</p><h3>IAM Identity Center vs IAM Users: Five Key Points of Comparison</h3><p>After the audit, I went back through both setups. The accounts are still on IAM users and the ones already on Identity Center. I had not expected the gap to be this clear. Here are the differences I found</p><h4>1. How long do credentials stay active</h4><p>With IAM users, an access key works until someone disables it. There is no built-in expiry feature.</p><p>According to <a href="https://www.ibm.com/reports/data-breach">IBM’s Cost of a Data Breach Report 2025</a>, stolen credentials are still the most common way attackers get their hands on cloud setups. The CIS benchmark recommends rotating keys every 90 days. But still, on every team I managed with IAM users, nobody was doing that on schedule.</p><p>With Identity Center, there are no access keys to rotate. Engineers need to authenticate through a browser and get session credentials. When the session ends, access ends.</p><blockquote>“That 900-day-old key I found? It could not have existed here.”</blockquote><h4>2. What adding a new AWS account costs you</h4><p>With IAM users, a new account means creating another user for every developer on the team, writing the same policies again, and then maintaining them separately from every other account going forward. We had three accounts and ten engineers. Thirty users. By month three, the policies across those accounts looked like three different teams had written them.</p><p>With Identity Center, you just have to define a permission set once. Every account you add to the organization picks it up automatically. When someone’s role changes, you update it in one place. I have not opened three separate accounts to make a single access change since switching.</p><p>With IAM users, adding that fourth account cost me an afternoon. With Identity Center, it was just done instantly.</p><h4>3. What happens when someone leaves</h4><p>With IAM users, you log into every account individually and disable or delete their user. If you miss one, their key keeps working. Someone left our team, and one account was not checked. That is how the 900-day key came into the picture.</p><p>With Identity Center connected to an identity provider like Okta or Microsoft Entra ID via SCIM, you remove someone from your identity provider, and their AWS access is gone everywhere at once. One step. Nothing to audit afterward.</p><h4>4. How is the developer experience</h4><p>With IAM users, the workflow is: generate a key in the console, download the CSV, drop it into local environment variables, and try not to commit it anywhere. Most developers I have worked with have committed a key at least once.</p><p>With Identity Center, developers run aws sso login, a browser opens, they authenticate, and the terminal has working credentials for every account they are assigned to. It works with Terraform and CDK without extra configuration.</p><h4>5. What you can see when something goes wrong</h4><p>With IAM users across multiple accounts, tracing what happened during an incident means pulling CloudTrail logs from every account separately. You are looking for one person’s activity across three or four places at once. I have done this in the middle of the night, and it really is frustrating and time-consuming.</p><p>With Identity Center, every session, every account, every action ties back to one identity in one place. When we had an unexpected permission change on one of our accounts last year, I found who did it and when in under five minutes. We had it fixed before anyone else on the team knew about it.</p><h3>Conclusion</h3><p>Deciding between <em>AWS IAM Identity Center vs IAM users</em> is not a choice between two ways to do the same thing. One gives you credentials that stay until you remove them. The other gives you access that ends when the session does. Across five teams, one audit, and one 900-day key, that difference turned out to matter more than I expected.</p><p>I run Identity Center for every team I set up now. The credential report I ran that day is what pushed me to finally make the switch. I have not run one since and found anything I did not expect.</p><p>If your team is still on IAM users and you are not sure where to start, working with an <a href="https://www.bacancytechnology.com/aws-consulting-services">AWS consulting services</a> team can help you make the switch without the trial and error.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da7ec48e8c3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes Compliance Best Practices in Healthcare: What I Learned From Real HIPAA Audits]]></title>
            <link>https://medium.com/@mahyavanshjay/kubernetes-compliance-best-practices-in-healthcare-what-i-learned-from-real-hipaa-audits-6c5c85f325f8?source=rss-b3daace9f33b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c5c85f325f8</guid>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[hipaa-compliance]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[kubernetes-security]]></category>
            <category><![CDATA[hipaa]]></category>
            <dc:creator><![CDATA[Jay Mahyavansh]]></dc:creator>
            <pubDate>Fri, 27 Mar 2026 18:08:15 GMT</pubDate>
            <atom:updated>2026-03-27T18:13:04.607Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rc-oXW1ZFUAxh8ivycl5EA.png" /><figcaption>Kubernetes Compliance Best Practices in Healthcare</figcaption></figure><h3>Introduction</h3><p>I have years of experience working on Kubernetes projects for our healthcare clients. Still, I have made this mistake multiple times.</p><p>The first time I set up a Kubernetes cluster for a healthcare client, I thought enabling RBAC was enough. Job done. Move on. Six months later, a third-party HIPAA audit found three misconfigured namespaces, a service account with admin access that nobody remembered creating, and patient data moving unencrypted between two internal services.</p><p>Nothing was breached. But it could have been.</p><p>That audit room was uncomfortable. This article contains insights and advice I wish I had read before walking into it.</p><h3>Why Kubernetes Makes HIPAA Compliance Genuinely Difficult</h3><p>Let us first understand why it is difficult to achieve HIPAA compliance with Kubernetes.</p><p><a href="https://www.hhs.gov/hipaa/index.html">HIPAA</a> is a US federal law that sets the rules for how patient health information must be stored, accessed, and protected. It was written for a very different era of software. The regulation talks about “access controls” and “audit trails” but has nothing to say about pods, namespaces, or YAML files. Your team is expected to translate rules written for static systems into a platform that changes constantly.</p><p>And then there is the speed problem.</p><p>A CI/CD pipeline in a modern healthcare product might deploy 15 to 20 times a day. A network policy that is one line too permissive can expose every service in a namespace, including the ones handling patient records. I have worked with teams that had thorough HIPAA documentation and unencrypted traffic running right through their cluster at the same time. The audit checked the docs. The cluster did not.</p><p>Most teams do not find these gaps on their own. They find them when someone else does.</p><h3>What HIPAA Actually Requires Inside a Kubernetes Cluster</h3><p>HIPAA’s Security Rule breaks its technical requirements into three areas. Once you know how each one maps to Kubernetes, the compliance work becomes a lot more concrete.</p><h4><strong>1. Access control:</strong></h4><p>This means deciding who and what can reach patient data inside your cluster. Every service account that can read a secret is an access decision, whether you made it deliberately or not.</p><h4><strong>2. Audit controls:</strong></h4><p>This means keeping a permanent, searchable record of what happened and when. Kubernetes generates this through API server logs, but those logs only help if you have configured the right audit policies and are storing them somewhere that cannot be altered.</p><h4><strong>3. Transmission security:</strong></h4><p>This means encrypting patient data while it moves. A lot of teams handle encryption at the network entry point and assume that covers everything. It does not. Traffic moving between services inside the cluster is a separate problem, and it is often left wide open.</p><p>One framework worth knowing here is NIST SP 800–190. It is not legally required for private healthcare organizations, but it translates container-specific security into concrete steps. Auditors reference it often. I use it as a starting checklist before anything more detailed.</p><p>If your team needs help interpreting these requirements for your specific setup, <a href="https://www.bacancytechnology.com/healthcare/hipaa-compliance-services">HIPAA compliance services</a> by a trusted provider can give you a head start.</p><p>Now, having understood why HIPAA is tough in Kubernetes and what the requirements are to get it right, let us now look at the <strong>Kubernetes compliance best practices in healthcare</strong> to follow to ensure compliance.</p><h3>Top 5 Kubernetes Compliance Best Practices in Healthcare</h3><p>I have gone through this process across several healthcare products now. These five practices have helped the most in actual audits and production incidents.</p><h4>1. RBAC and Least-Privilege Access for Patient Data Workloads</h4><p>The mistake I see most often is teams using admin-level service accounts because it is faster during initial setup. The plan is always to fix permissions later. Later never comes.</p><p>By the time someone revisits it, three more services are depending on that same over-permissioned account. Changing it becomes a project in itself.</p><p>Create a dedicated service account for each namespace that handles patient data. Electronic health records, imaging files, lab results, and billing should each be isolated. A service handling lab results has no reason to read billing credentials. It sounds obvious until you look at real production clusters.</p><p>For storing secrets, I recommend moving past Kubernetes-native secrets to something like HashiCorp Vault or AWS Secrets Manager. You get automatic key rotation, proper access logs, and encryption that built-in Kubernetes secrets simply do not provide. It feels like overhead until an incident happens and you actually have the audit trail you need.</p><h4>2. Encrypting Patient Data at Rest and in Transit</h4><p>Two places tend to get missed. The first is etcd.</p><p>Kubernetes stores everything in etcd, including secrets and configuration. By default, it is not encrypted. Connecting a key management service like AWS KMS or Azure Key Vault to handle encryption at rest is a baseline requirement the moment patient data is involved. If etcd is ever accessed without authorization and it is unencrypted, every secret in your cluster is exposed at once.</p><p>The second is internal traffic between services. Most teams put TLS at the network entry point and consider the job done. But traffic between pods inside the cluster bypasses that entry point entirely. It moves through the cluster unprotected unless you configure something specific for it.</p><p>A service mesh like Istio or Linkerd fixes this. It automatically encrypts and verifies connections between every service in the cluster. You set it up once, and it handles the rest. I have seen teams rely on cloud network boundaries alone and assume that counts as encryption. Auditors know the difference. Configure it properly from the start.</p><h4>3. Enforcing Compliance Rules Before Deployment with OPA Gatekeeper</h4><p>This one changed how I think about Kubernetes compliance best practices in healthcare more than anything else.</p><p>The plan is simple: stop checking compliance after the fact and make it impossible to deploy something non-compliant in the first place.</p><p>Open Policy Agent with Gatekeeper applies rules at the point of deployment. Before any workload reaches the cluster, Gatekeeper checks it against your defined policies. Containers running as root? Blocked. A namespace handling patient data missing required security labels? Blocked. No resource limits defined? Blocked. No one has to remember. The cluster blocks it.</p><p>Pod Security Admission, which replaced the older Pod Security Policy feature in Kubernetes 1.25, adds another layer. Setting strict security profiles on namespaces that handle patient data means privileged containers and risky system access cannot be introduced, even accidentally. It works the same way regardless of who runs the deployment.</p><h4>4. Scanning Container Images Before They Reach Production</h4><p>A well-configured cluster running an image with a known vulnerability is still a serious risk. Every container image you bring into a healthcare workload is a potential weak point.</p><p>DevOps tools like Trivy and Snyk integrate directly into build pipelines and automatically block images with critical vulnerabilities from being promoted to production. This matters because manual review steps get skipped when release pressure builds. Automated blocking does not skip anything.</p><p>HIPAA auditors are increasingly asking for documented proof of image integrity. Having a record of scan results, who approved each build, and what checks were passed before an image moved to production is now an audit expectation, not a bonus. In one review, the auditor moved on in under ten minutes because everything was already documented.</p><h4>5. Audit Logging and Runtime Monitoring with Falco</h4><p>Kubernetes audit logs show you everything happening at the management layer: who created a secret, who changed a permission, who deleted a service. That visibility is important and maps directly to what HIPAA requires for audit controls.</p><p>But those logs do not show you what is happening inside a running container.</p><p>Falco fills that gap. It watches what containers actually do at runtime and raises alerts when something looks wrong, with instances like: a command shell opening inside a patient data service, an unexpected connection going out to an external address, or a process reading file paths it should never touch. For HIPAA’s breach detection requirements, this is what turns an alert from “something happened” into a documented timeline your team can actually work from.</p><p>Route your audit logs to a centralized system, using <a href="https://www.bacancytechnology.com/blog/kubernetes-monitoring-tools">Kubernetes monitoring tools</a> like <a href="https://www.elastic.co/elastic-stack">ELK</a>, <a href="https://grafana.com/">Grafana</a>, <a href="https://grafana.com/oss/loki/">Loki</a>, or your cloud provider’s native logging service. Set retention periods that match HIPAA’s requirements for the type of records you handle. Logs stored this way are easy to search, harder to mess with, and ready to present when a compliance review starts.</p><h3>Conclusion</h3><p>Following <em>Kubernetes compliance best practices in healthcare</em> is not a checklist you run through once a year. It is a set of controls that need to be built into how your cluster actually operates day to day.</p><p>Access controls, encrypted storage, deployment-time policy enforcement, image integrity checks, and runtime monitoring each cover different ground. Together, they give you a compliance posture that holds up in production, not just in documentation.</p><p>If you are taking over a cluster that needs a compliance overhaul, or building a healthcare platform from scratch and want to get it right without spending months learning the hard way, it helps to work with a team that has already been through this process. You can reach out to a <a href="https://www.bacancytechnology.com/kubernetes-consulting-services">Kubernetes consulting services provider</a> and get a clear picture of where your setup stands.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c5c85f325f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon EKS vs Azure Kubernetes Service (AKS): What I Recommend After Working With Both]]></title>
            <link>https://medium.com/@mahyavanshjay/amazon-eks-vs-azure-kubernetes-service-22c45dc96209?source=rss-b3daace9f33b------2</link>
            <guid isPermaLink="false">https://medium.com/p/22c45dc96209</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[azure-kubernetes-service]]></category>
            <category><![CDATA[aws-eks]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Jay Mahyavansh]]></dc:creator>
            <pubDate>Tue, 10 Mar 2026 13:17:41 GMT</pubDate>
            <atom:updated>2026-03-10T13:22:05.548Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-LMstcLaaMlUXdVjnwI4mQ.jpeg" /><figcaption>AKS vs EKS</figcaption></figure><h3>Introduction</h3><p>Every few weeks, someone on my team or a client we work with asks the same question:</p><blockquote>Should we run Kubernetes on Amazon Elastic Kubernetes Service (EKS) or Azure Kubernetes Service (AKS)?</blockquote><p>It is a reasonable question. Both platforms are mature, widely used, and capable of running large production workloads. But they are not identical. Each platform reflects the ecosystem it belongs to, and that affects how clusters are configured, how security is managed, how scaling behaves, and how teams operate the platform day to day.</p><p>So, instead of just telling</p><blockquote>“it depends,”</blockquote><p>I have actually written an article to walk my audience through the key areas where these two platforms actually differ. By the end of this discussion, you should have a clear picture to make the right call between <strong>EKS vs AKS</strong> for your team and your infrastructure.</p><h3>Top 7 Points of Difference Between EKS vs AKS</h3><p>Here’s a detailed breakdown of the seven key points of difference between Amazon EKS vs Azure Kubernetes Service, to help you clear the doubt and make the right decision.</p><h4>1. Cluster Setup and Initial Configuration</h4><p>The first thing most teams notice is how different the setup experience feels between EKS vs AKS.</p><p>With <a href="https://azure.microsoft.com/en-us/products/kubernetes-service">Azure Kubernetes Service</a> (AKS), Microsoft takes care of the control plane for you. You do not pay for it separately, and getting a basic cluster running does not take long. For teams that are just getting started with managed Kubernetes or want to move fast, that matters.</p><p>Whereas the <a href="https://aws.amazon.com/eks/">Amazon Elastic Kubernetes Service</a> (EKS) takes more effort to get going. You need to configure your node groups, set up the right IAM roles, handle your VPC settings, and the control plane itself comes with a per-cluster cost.</p><p>If your team already lives in AWS, EKS may feel like a better option. But compared to AKS, the initial setup is heavier with EKS.</p><h4>2. Cloud Ecosystem Fit</h4><p>This is probably the most important factor that most people overlook when comparing EKS vs AKS.</p><p>If most of your infrastructure is already on AWS, and you are using services like <a href="https://aws.amazon.com/s3/">S3</a>, <a href="https://aws.amazon.com/rds/">RDS</a>, <a href="https://aws.amazon.com/lambda/">Lambda</a>, or <a href="https://aws.amazon.com/cloudwatch/">CloudWatch</a>, EKS is going to fit into that picture naturally. Permissions, monitoring, and logging all connect in a way that feels smooth and made for each other.</p><p>The same logic applies to AKS. If your organization runs on Microsoft tools, uses <a href="https://www.microsoft.com/en-in/security/business/identity-access/microsoft-entra-id">Microsoft Entra ID</a> (Previously Azure Active Directory) for identity management, or is already deep in the Azure ecosystem, AKS will feel like a natural extension of what you already have rather than something forced on you.</p><p>So, whichever cloud your team is already invested in, use the Kubernetes service that belongs to it. Going against that alignment can create unnecessary chaos and complications that add up over time.</p><h4>3. Networking</h4><p>Networking becomes important as Kubernetes clusters scale, and EKS and AKS handle pod networking differently.</p><p>EKS assigns actual cloud network IP addresses to each pod by default. This is good for visibility and security, but can easily become a problem in large deployments because it consumes IP address space faster than you might expect.</p><p>AKS gives you more flexibility here. You can choose a simpler networking setup that is more efficient with IP addresses, or go with a fuller integration model closer to what EKS does.</p><p>Microsoft has also significantly improved this area over the past couple of years, so some of the limitations that used to be a concern are no longer as much of a concern.</p><h4>4. Security and Identity Management</h4><p>The main security differences between EKS and AKS come down to how identity and permissions are managed.</p><p>On EKS, identity and permissions are handled through <a href="https://aws.amazon.com/iam/">AWS IAM</a>. Applications can receive specific permissions without storing credentials, which works well for teams that already manage infrastructure access through IAM policies. Aligning Kubernetes RBAC with IAM roles does require some initial setup, but it becomes manageable once the structure is in place.</p><p>AKS integrates with Microsoft Entra ID out of the box, which is a real advantage for enterprise teams that already manage access and compliance through Microsoft tools. For organizations already using Microsoft Entra ID for identity governance, this makes access management even simpler.</p><h4>5. Autoscaling</h4><p>Both platforms can automatically scale your workloads up and down based on demand, but there is a meaningful difference in how they handle scaling at the infrastructure level.</p><p>AWS has a tool called <a href="https://karpenter.sh/">Karpenter</a> for EKS that has become one of its standout features. It provisions the right size of servers quickly, handles cost-saving spot instances well, and responds to demand changes faster than older approaches. For teams running workloads that spike and drop regularly, this can prove to be a great advantage.</p><p>AKS has solid autoscaling too, and it supports event-driven scaling well. It handles most production scenarios reliably. But if infrastructure-level scaling speed and flexibility are a top priority for you, between AKS and EKS, EKS gets the edge here. And to configure and manage Amazon Elastic Kubernetes Service (EKS) properly at scale, many organizations choose to <a href="https://www.bacancytechnology.com/hire-aws-developers">hire AWS engineers</a> with experience in EKS and the related stack.</p><h4>6. Cost</h4><p>Between EKS vs AKS, neither of them is cheap at scale, and both require careful attention to avoid costs getting out of control.</p><p>EKS charges a small hourly fee per cluster for the control plane, plus your underlying compute costs. The control plane fee is minor, but compute costs can add up depending on what you are running. Using spot instances with Karpenter can significantly reduce those costs for the right workloads.</p><p>AKS does not charge for the control plane, which helps at a smaller scale. Compute pricing is comparable to AWS overall. Both platforms offer reserved pricing and spot options that can reduce costs if you plan ahead.</p><p>Basically, AKS can save money for those dealing with smaller deployments. But, for teams working at a larger scale, the decision comes down to how efficiently you can manage your compute, not which platform you are on.</p><h4>7. Kubernetes Version Upgrades</h4><p>Staying on a supported Kubernetes version is something every team has to manage, and how painful that process is depends a lot on what you choose between AKS vs EKS.</p><p>EKS supports each version for around 14 months. Upgrades involve updating the control plane first, then the nodes. The process has become less painful over time, but it still requires planning and testing.</p><p>AKS has a more automated upgrade experience. You can configure your cluster to automatically apply patch updates, reducing the manual overhead of keeping it up to date. Microsoft also tends to support more Kubernetes versions at the same time, giving you more flexibility on when you upgrade.</p><h3><strong>Conclusion</strong></h3><p>Both EKS and AKS are mature, production-ready Kubernetes platforms. Neither is a wrong choice. The real question is not which platform is better, but which one fits your existing infrastructure and team expertise.</p><p>Look at where your infrastructure lives today, where your team has the most experience, and which cloud ecosystem your organization is already invested in. That context will give you a more reliable answer than any feature comparison.</p><p>If you are already on AWS and want powerful autoscaling and tight ecosystem integration, go with EKS. If you are on Azure, running Microsoft-heavy enterprise tools, or dealing with hybrid environments, AKS is the better fit.</p><p>And if you are still not sure between <em>EKS vs AKS</em>, consider taking the help of <a href="https://www.bacancytechnology.com/kubernetes-consulting-services">Kubernetes consulting services</a> from a trusted provider. The right team can evaluate your infrastructure, map out the requirements, recommend the right platform, and help implement it in a way that is secure, scalable, and easier to maintain.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22c45dc96209" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Use Cursor for .NET Development: Top 5 Ways Explained]]></title>
            <link>https://medium.com/@mahyavanshjay/how-to-use-cursor-for-net-development-top-5-ways-explained-96b66b54ba61?source=rss-b3daace9f33b------2</link>
            <guid isPermaLink="false">https://medium.com/p/96b66b54ba61</guid>
            <category><![CDATA[cursor]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <dc:creator><![CDATA[Jay Mahyavansh]]></dc:creator>
            <pubDate>Fri, 06 Feb 2026 17:56:31 GMT</pubDate>
            <atom:updated>2026-02-06T17:57:54.242Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Use Cursor for .NET Development: Top 5 Ways Explained</h3><h3>Introduction</h3><p>I have worked on enough .NET projects to declare this:</p><p>Most of your development time does not go into writing good code, but it goes into understanding the app logic, fixing small issues that have hidden side effects, and making changes without breaking what already works.</p><p>Now, there are many AI tools in the market that claim to help developers write code. Cursor is one of the most used ones from the pack. I am also a fan of this tool.</p><p>I use it to reduce the chaos in everyday development work, especially when working with C#, ASP.NET Core, and large solutions with multiple layers. But I do not depend on Cursor for the complete development lifecycle.</p><p>In this article, I am sharing five practical ways I use <strong>Cursor for .NET development</strong>. These ways are not just any random technical jargon to note down. These are tips or tricks that actually help when you are writing APIs, refactoring services, debugging issues, and maintaining long-running systems.</p><h3>Top 5 Ways to Use Cursor for .NET Development</h3><p>Here’s a detailed breakdown of the five key ways you can use cursor for dot net development. For each of these ways, I have also shared how I use the cursor in everyday projects to help you better understand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xpyFWfVdlo07nSgjN11DAQ.jpeg" /><figcaption>Cursor for .NET Development</figcaption></figure><h4>1. Writing and Refactoring C# Code Faster With Context Awareness</h4><p>The most obvious use of Cursor for .NET development is writing C# code, but the actual value comes from how it understands surrounding code.</p><p>When I add a new feature, I often start by writing a rough method name or a comment explaining the intent. Cursor can generate a complete implementation that follows existing patterns in the project. It picks up naming conventions, dependency injection style, and async usage without extra prompting.</p><p>For example, while adding a service method in an ASP.NET Core project, I might write a comment explaining what the method should return and what inputs it accepts. Cursor fills in the logic, interfaces, and even updates related classes when needed.</p><p>Refactoring is where this becomes even more useful. If I want to rename a method, split a large class, or clean up repeated logic, Cursor helps me do this across files while preserving behavior. I still review every change, but it saves a lot of mechanical effort.</p><p><strong>How I usually use it in practice:</strong></p><ul><li>Generate new service or handler methods</li><li>Simplify long methods into smaller ones</li><li>Convert synchronous code into async patterns</li><li>Update DTOs when API contracts change</li></ul><p>This keeps my focus on architecture and correctness rather than syntax.</p><h4>2. Understanding Legacy or Unfamiliar .NET Codebases</h4><p>Most of the actual .NET work involves existing systems. Some of them are well-written. Many are not.</p><p>When I open a large application or a solution that I did not build myself, the first challenge is understanding intent. Why does this service exist? What does this controller actually return? Where is the side effect happening?</p><p>Here, the Cursor comes to my rescue. I regularly select a class or method and ask it to explain what the code does in plain language. Cursor summarizes the flow, highlights dependencies, and points out potential issues like tight coupling or hidden assumptions.</p><p><strong>This is especially helpful when dealing with:</strong></p><ul><li>Old ASP.NET Core APIs</li><li>Business logic embedded in controllers</li><li>Large service classes with multiple responsibilities</li><li>Inconsistent naming or patterns</li></ul><p>Instead of spending hours stepping through the debugger, I get a high-level understanding first and then dig deeper where needed. This shortens onboarding time and reduces mistakes.</p><p>I have seen the same approach work well during <a href="https://www.bacancytechnology.com/dot-net-consulting">.NET consulting</a> too. You understand the system first, then you touch the code.</p><h4>3. Debugging and Fixing Issues With Real Explanations</h4><p>Debugging is not just about fixing errors. It is about understanding why the issue exists.</p><p>When a bug shows up, I usually paste the problematic method or error message into Cursor and ask what could be wrong. Cursor does not magically guess runtime values, but it does a good job identifying logical issues, missing null checks, incorrect async usage, or common .NET problems.</p><p><strong>Some examples where using Cursor for .NET debugging has helped me:</strong></p><ul><li>Explaining why a LINQ query returns unexpected results</li><li>Spotting deadlocks caused by improper async handling</li><li>Identifying incorrect lifetime usage in dependency injection</li><li>Suggesting safer ways to handle nullable reference types</li></ul><p>What matters is how you give the prompt to the tool. I usually explain the expected behavior and the actual behavior. Cursor then reasons through the code and provides practical suggestions.</p><p>This use case explains that using cursor for .NET development does not replace debugging tools, but it makes debugging more structured and less random.</p><h4>4. Writing Unit Tests and Improving Test Coverage</h4><p>Testing is often delayed because it feels time-consuming, not because developers dislike it.</p><p>Cursor helps remove this gap. When I write a service or controller, I ask Cursor to generate unit tests using the testing framework already in the project. It understands whether the project uses xUnit, NUnit, or MSTest and follows the same pattern.</p><p>More importantly, it suggests meaningful test cases instead of just one happy path.</p><p><strong>I commonly use Cursor to:</strong></p><ul><li>Generate unit tests for services and helpers</li><li>Create mocks for dependencies</li><li>Add edge case scenarios</li><li>Refactor tests to be more readable</li></ul><p>The result is not perfect, but it gives a good starting point. I adjust assertions and naming, but the major work is already done. This helps keep test coverage consistent across the team.</p><h4>5. Improving Code Quality and Consistency Across the Project</h4><p>As a project grows, it becomes difficult to keep things consistent. Different developers write code differently, especially across multiple services.</p><p>Cursor helps establish consistency between these environments without sounding like a teacher. I often ask it to review a file or a set of changes and point out issues related to readability, structure, and maintainability.</p><p><strong>It alerts for activities like:</strong></p><ul><li>Overly complex methods</li><li>Unclear naming</li><li>Repeated logic that belongs in a shared component</li><li>Missing null checks or validation</li></ul><p>This is useful during code reviews as well. Instead of focusing only on functional correctness, I can use Cursor for .NET development to improve clarity and long-term maintainability.</p><h3>Things Cursor Is Not Good At</h3><p>Having talked about how you can use cursor for dot net development, let us now talk about the limitations of this tool.</p><p>Cursor does not replace architectural decisions. It does not understand business context beyond what you provide. It can suggest patterns, but it cannot take decisions for you.</p><p><strong>I avoid using it for:</strong></p><ul><li>Making high-level design decisions</li><li>Defining domain models from scratch without guidance</li><li>Performance-critical optimizations without validation</li></ul><p>Knowing where not to use it keeps expectations realistic.</p><h3>Final Thoughts</h3><p>Using <em>Cursor for .NET development</em> impacts the most when you stop treating it like an autopilot and start using it like a pair of extra hands.</p><p>In .NET projects, a lot of time goes into reading code, cleaning things up, and making safe changes. Cursor helps with exactly that. It reduces the stress and speeds up routine work without forcing you into a specific way of coding.</p><p>If you stay intentional, review what it produces, and use your judgment, Cursor becomes a steady productivity boost rather than a shortcut that causes problems later. And, if you need expert help implementing this tool in your workflows, you should <a href="https://www.bacancytechnology.com/hire-dot-net-developer">hire .NET developers</a> who know how to integrate it into day-to-day development without compromising on code quality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96b66b54ba61" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 AWS DevOps Practices We Actually Follow in Production in 2026]]></title>
            <link>https://medium.com/@mahyavanshjay/10-aws-devops-practices-we-actually-follow-in-production-in-2026-1bf997c93a03?source=rss-b3daace9f33b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bf997c93a03</guid>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws-devops]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Jay Mahyavansh]]></dc:creator>
            <pubDate>Mon, 12 Jan 2026 12:50:41 GMT</pubDate>
            <atom:updated>2026-01-13T04:51:09.302Z</atom:updated>
            <content:encoded><![CDATA[<h3>10 AWS DevOps Best Practices We Actually Follow in Production</h3><h3>Introduction</h3><p>Under my role, I have spent years running workloads on AWS for our clients and in-house projects. I have worked on a variety of setups, from early stage products to systems that handle real world traffic and consequences.</p><p>From my experience, I can definitely say that most of the problems people face is not because of AWS, but because of how they use AWS!</p><p>AWS is like a wand that can make you a magician instantly. It gives you a lot of power very quickly, and this is both the advantage and the risk. Without a disciplined approach, your setups can easily get messy. The costs may creep up, deployments become stressful, and debugging may turn into a headache you cannot avoid.</p><p>So, from my experience of working with this technology, here are the <strong>AWS DevOps best practices</strong> that i keep coming back to.</p><h3>Top 10 AWS DevOps Best Practices to Follow</h3><p>Let us understand the importance of these AWS DevOps best practices and how to implement them effectively:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eFdum8JwTcyCfoD3r-Ty3w.jpeg" /></figure><h4>1. Treat Infrastructure as Code From The Start</h4><p>Manually created AWS resources are hard to track, reproduce, and fix. Once multiple environments exist, manual work becomes a source of mistakes.</p><p>Infrastructure as Code gives you repeatability and clarity. You know what exists, why it exists, and how it was created.</p><p><strong>How to Implement:</strong></p><ul><li>Use tools like Terraform or AWS CloudFormation for all infrastructure.</li><li>Store your infrastructure code in version control.</li><li>Review infrastructure changes exactly as you review changes in application.</li><li>Avoid console changes unless it is an emergency, and backport them immediately.</li></ul><h4>2. Separate Environments Properly</h4><p>If dev, staging, and production share resources, you are asking for trouble.</p><p>I have seen test scripts wipe production data (“by mistake”). I have also seen chaotic test traffic hide production issues before the impact is cause. Both happen when environments are not clearly separated.</p><p><strong>How to Implement:</strong></p><ul><li>Work with different AWS accounts for dev, staging, and production.</li><li>Isolate VPCs, IAM roles, and CI pipelines per environment.</li><li>Never allow production credentials outside controlled pipelines.</li><li>Accept some duplication as the safety is worth it.</li></ul><h4>3. Manage Identity and Access Carefully</h4><p>Access problems usually start small. Someone needs quick access, so a permission gets added. Later, another role copies it. Over time, nobody is fully sure who can access which services or data.</p><p>These problems usually show up during critical moments, like incidents, audits, or security reviews. When too many permissions exist without clear role boundaries, even a small mistake or a leaked credential can affect far more than intended.</p><p><strong>How to Implement:</strong></p><ul><li>Give each role only the permissions it actually needs.</li><li>Avoid broad permissions unless there is no other option.</li><li>Prefer IAM roles over long-lived access keys.</li><li>Review roles and policies from time to time, especially after major changes or migrations or employee exits.</li></ul><p>Identity and Access Management is a key AWS DevOps Best Practice. Many teams fail to do it correctly and often face consequences that lead to severe and irreversible damage. Here, I would recommend to take help of <a href="https://www.bacancytechnology.com/aws-consulting-services">AWS consulting services</a>, served by a trusted service provider. Their team of experts can help you set up clear IAM roles, review existing permissions, and implement policies that stay secure as your team and workloads grow.</p><h4>2. Build CI/CD Pipelines Early</h4><p>Your deployments should not depend on who is available or who remembers the steps. As manual deployments can slow teams down and increase risk.</p><p>So, build CI/CD pipelines early to make the deployments predictable and reduce the stress of making any mistake during releases.</p><p><strong>How to Implement:</strong></p><ul><li>Automate build, test, and deploy steps.</li><li>Keep your pipelines simple and easy to understand.</li><li>Stop your pipeline when any broken code is detected.</li><li>Make the deployments repeatable across environments.</li></ul><h4>5. Monitor What Matters, Not Everything</h4><p>Every failure comes with a signal or a warning. The problem is, that no one is looking, or they have no idea where to look for.</p><p>DevOps monitoring is not about just collecting tons of data or managing dashboards. It is about knowing when your systems start behaving differently than usual, and to catch a problem before it hits.</p><p><strong>How to Implement:</strong></p><ul><li>Track key metrics like latency, error rates, and resource usage.</li><li>Set alerts on abnormal patterns, not just code failures.</li><li>Centralize logs and metrics for easy accessibility.</li><li>Make monitoring accessible to engineers, not just operations.</li></ul><p>For expert-led AWS DevOps monitoring, you can even <a href="https://www.bacancytechnology.com/hire-devops-developers">hire DevOps engineers</a> with proven experience in AWS.</p><h4>6. Design Systems Expecting Failures</h4><p>AWS services fail. Networks fail. Dependencies fail. And, you need to be prepared for the failures.</p><p>Teams that try to avoid failures often get impacted the most, and those who stay prepared for failure recover quickly instead of collapsing under it.</p><p><strong>How to Implement:</strong></p><ul><li>Use retries with backoff for external and internal service calls.</li><li>Set timeouts everywhere, especially between services.</li><li>Use load balances and health checks to remove unhealthy instances.</li><li>Test failure scenarios instead of only testing normal workflows.</li></ul><h4>7. Control Costs Before They Control You</h4><p>With AWS, spending can easily get out of control. Hidden costs, extra add-ons, forgotten subscriptions, a single misconfigured autoscaling rule, and</p><p>BOOM! Your AWS costs are already way over your budget.</p><p>Most of these AWS cost problems are not caused due to traffic or usage surge. These issues mostly happen due to lack of visibility.</p><p><strong>How to implement:</strong></p><ul><li>Tag all resources consistently by environment, team, and purpose.</li><li>Set AWS Budgets and alerts early, not after costs spike.</li><li>Review cost reports regularly, even when nothing looks wrong.</li><li>Clean up unused resources as part of normal operations.</li></ul><h4>8. Automate Scaling, But Keep It Understandable</h4><p>Autoscaling can save you, or it can make problems harder to diagnose if it behaves unpredictably.</p><p>Scaling rules should closely match how your application actually behaves, not how you hope it behaves.</p><p><strong>How to Implement:</strong></p><ul><li>Start with simple scaling rules based on known bottlenecks.</li><li>Observe behavior under real traffic before adding complexity.</li><li>Avoid scaling on too many signals at once.</li><li>Test scaling changes in non-production environments first.</li></ul><h4>9. Keep Logs and Metrics Easy to Access</h4><p>If engineers cannot easily find logs or metrics, they will stop using them.</p><p>Many teams actually use good <a href="https://www.bacancytechnology.com/blog/devops-tools">DevOps tools</a>, but either the engineers need to request for access every time, or that every metric and data is so scattered, that getting an answer takes too long to wait for.</p><p><strong>How to Implement:</strong></p><ul><li>Centralize logs instead of spreading them across services.</li><li>Use consistent log formats across applications.</li><li>Give engineers direct access to observability tools.</li><li>Document where to look for common issues.</li></ul><h4>10. Document Decisions, Not Just Setup</h4><p>Good documentation explains why things were built a certain way. Without that context, teams repeat old mistakes.</p><p>When teams grow, or when people leave, undocumented decisions turn into repeated mistakes.</p><p><strong>How to Implement:</strong></p><ul><li>Document architectural decisions and trade-offs.</li><li>Keep documentation close to code and infrastructure.</li><li>Update docs when changes happen, not when the changes are noticed.</li><li>Keep the documentation short and on point, not with unnecessary details and length.</li></ul><h3>Conclusion</h3><p>The <em>AWS DevOps best practices</em> we talked about exist for just one simple reason. They prevent avoidable problems later!</p><p>In almost every AWS setup I have reviewed or worked on, the issues did not come from AWS itself. They came from small decisions made early and never corrected. Environments were mixed. Access kept expanding. Deployments depended on people instead of systems. Monitoring existed, but no one trusted it fully, or couldn’t access as needed.</p><p>Teams that apply these practices early find it easier to grow without constantly fixing the same problems. Releases become routine. Access stays clear. Costs stay visible.</p><p>If you are running complex workloads on AWS or planning to scale, it helps to <a href="https://www.bacancytechnology.com/hire-aws-developers">hire AWS engineers</a> who have already made these decisions before. Experience matters here, not because the tools are hard, but because the consequences can damage more than you can handle.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bf997c93a03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Six Ways to Use AI for Kubernetes Monitoring in 2026]]></title>
            <link>https://medium.com/@mahyavanshjay/six-ways-to-use-ai-for-kubernetes-monitoring-in-2026-99947451bbb8?source=rss-b3daace9f33b------2</link>
            <guid isPermaLink="false">https://medium.com/p/99947451bbb8</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Jay Mahyavansh]]></dc:creator>
            <pubDate>Fri, 26 Dec 2025 14:07:17 GMT</pubDate>
            <atom:updated>2025-12-29T05:39:18.067Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*63_DybUNNBk2qvleFHyaTA.jpeg" /></figure><h3>Introduction</h3><p>Kubernetes monitoring is not an easy task, and the challenge is not because there are not enough tools for it, but because the system behaviour is quite volatile and can change faster than any team can predict.</p><p>For smaller scale K8s projects, metrics, alerts, and dashboards are enough. For large scale projects, these options are still usable, but not enough to make any decision.</p><p>Our DevOps team had reached that point when we had multiple clusters, frequent releases, aggressive autoscaling, and services with different runtime profiles. The monitoring setup was technically complete, but engineers spent too much time interpreting signals and not enough time resolving issues.</p><p>We adopted AI only after it became clear that the limiting factor was how much our engineers could reasonably process during incidents. We were not trying to automate recovery. We needed better signal quality, earlier visibility into abnormal behavior, and less time spent figuring out where to start.</p><p>This article explains seven areas or the seven ways we use AI in Kubernetes monitoring today, what has changed in practice, and why these areas matter.</p><h3>Top 6 Ways to Use AI for Kubernetes Monitoring</h3><p>Each point below explains a specific monitoring problem, how we applied AI to it, and a real situation where that approach helped. This assumes basic observability is already in place.</p><h4>1. Replacing Static Thresholds with Workload-specific Baselines</h4><p>Static alert thresholds do not hold up well in Kubernetes environments. CPU, memory, and latency values fluctuate for valid reasons such as deployments, autoscaling events, and batch workloads. As a result, threshold-based alerts either fire too often or get ignored.</p><p>We moved to AI/ML models that learn normal behavior per workload over time. The baseline is specific to a service and takes into account its historical patterns. Alerts trigger only when behavior deviates from that baseline in a way that has not happened before.</p><p>This approach does not remove metrics. It changes how metrics are interpreted.</p><p><strong>Real-world example:</strong></p><p>A payment API regularly ran high CPU during traffic spikes, which was expected. Static CPU alerts fired often and were ignored.</p><p>After moving to workload-specific baselines, the system learned that CPU normally dropped once traffic subsided. When CPU stayed high after traffic returned to normal following a deployment, an alert triggered. That behavior was new for this service and led us directly to a memory issue introduced in the release, which would have been missed by threshold-based alerts.</p><h4>2. Predicting Resource Exhaustion Instead of Reacting to It</h4><p>Many major Kubernetes issues do not show up instantly; they develop gradually.</p><p>Memory consumption increases slightly after each deployment. Storage fills up faster than expected. Dashboards reflect this, but manual intervention usually comes too late.</p><p>We use historical usage data to project future resource consumption. The models are simple and consistent. The output is a time estimate, not a guess.</p><p>This changes how teams plan corrective actions. Problems are addressed before they turn into incidents.</p><p><strong>Real-world example:</strong></p><p>Certain node pools experienced recurring pod evictions due to disk pressure, which initially appeared as isolated incidents. AI-driven trend analysis identified disk usage steadily increasing over time across the same nodes, a pattern that individual alerts did not reveal.</p><p>This pointed to a log retention misconfiguration, which we fixed before disk limits were hit again, eliminating repeated evictions.</p><h4>3. Grouping Logs by Similarity Instead of Reading Them Individually</h4><p>Logs are still necessary, but manual inspection does not scale during incidents. In Kubernetes, a single failure can generate logs across many replicas and services within minutes.</p><p>We stopped treating logs as something engineers must read line by line. Instead, we use AI to group logs by similarity and highlight new patterns that have been introduced recently.</p><p>The value is not volume reduction alone. It is pattern detection.</p><p><strong>Real-world example:</strong></p><p>During a performance issue, known error logs dominated the stream. AI-based grouping helped us identify a new error pattern that appeared only after the most recent deployment, and this error couldn’t be traced by manual intervention. The discovered pattern pointed directly to a downstream dependency misconfiguration.</p><h4>4. Correlating Alerts into Incidents with Context</h4><p>Alert volume became a problem once systems grew. One infrastructure issue could trigger multiple alerts across applications, nodes, and services. Engineers spent time correlating alerts manually during incidents.</p><p>We introduced AI-based alert correlation, which leverages time, shared resources, namespaces, and recent deployments. Related alerts are grouped into a single incident with context.</p><p>This improves clarity and response time.</p><p><strong>Real-world example:</strong></p><p>A node-level issue produced alerts from kubelet, application health checks, latency monitors, and auto scalers. Our alert correlation model leverages AI to group these alerts into a single incident tied to a specific node pool. This helped the team focus on a broader incident instead of minor issues.</p><h4>5. Linking Performance Changes to Deployments and Configuration Updates</h4><p>When metrics degrade slightly after a deployment, teams often struggle to decide whether to roll back. The data shows change, but not the cause.</p><p>We correlate observability data with deployment metadata, configuration changes, and version history. Using AI here helps surface which change aligns with the observed behavior shift.</p><p>This way, using AI for Kubernetes monitoring does not replace debugging. It reduces the initial search space.</p><p><strong>Real-world example:</strong></p><p>A client came to us for <a href="https://www.bacancytechnology.com/devops-consulting-services"><strong>DevOps consulting services</strong></a>, as he faced increased latency after an application release that included a configuration change.</p><p>Our AI-based correlation model identified a configuration change related to memory limits that increased garbage collection under load. The fix was applied quickly without reverting unrelated code.</p><h4>6. Monitoring Autoscaling Behavior for Deviation</h4><p>Autoscaling failures rarely look like failures. The cluster scales, pods stay healthy, and no alert fires. What changes is the shape of scaling.</p><p>We use models that learn how a service typically scales in response to traffic over time. That includes how quickly replicas increase, how long they stay elevated, and how they behave when the load stabilizes. Current behavior is continuously compared against this learned pattern.</p><p>The system does not tune the HPA or change policies. It flags when scaling behavior diverges from the service’s historical response under similar conditions.</p><p><strong>Real-world example:<br></strong> For one client, a service began scaling aggressively at moderate, steady traffic. CPU and latency metrics stayed within limits, so nothing broke and no alerts fired.</p><p>The AI model flagged a deviation because the service was consuming more replicas per request than it had historically at the same traffic level. That shift appeared immediately after a deployment. We traced it to a payload change that increased CPU per request. Updating resource requests restored normal scaling behavior and prevented sustained cost increase.</p><h3>Closing Thoughts</h3><p>Using AI in Kubernetes monitoring is not just a trend to follow. It becomes useful only when systems reach a scale where engineers cannot rely on dashboards and alerts alone.</p><p>As we mentioned above, we apply it selectively, only where it helps teams see issues earlier, reduce alert noise, or shorten investigation time. If a signal cannot be explained clearly to the on-call engineer, it does more harm than good.</p><p>For CTOs and architects, the real decision is not whether AI belongs in observability, but where it reduces operational friction without obscuring how the system behaves. The approaches discussed here work because they focus on learning patterns and detecting change, not replacing engineering judgment.</p><p>Teams exploring this direction often benefit from <a href="https://www.bacancytechnology.com/kubernetes-consulting-services"><strong>Kubernetes consulting services</strong></a> led by engineers who have run production clusters, not just designed reference architectures. That experience matters when AI becomes part of the monitoring loop, because trust in the signal determines whether teams act on it or ignore it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99947451bbb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top 8 DevOps Automation Tools to Use in 2026]]></title>
            <link>https://medium.com/@mahyavanshjay/top-8-devops-automation-tools-to-use-in-2026-fcdbd7915866?source=rss-b3daace9f33b------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcdbd7915866</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[devops-tool]]></category>
            <category><![CDATA[lists]]></category>
            <category><![CDATA[tools]]></category>
            <dc:creator><![CDATA[Jay Mahyavansh]]></dc:creator>
            <pubDate>Fri, 05 Dec 2025 12:26:11 GMT</pubDate>
            <atom:updated>2025-12-05T13:13:54.922Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9rTXWvBrMSizolyozg-w8w.jpeg" /></figure><p>Just last week, a colleague of mine looked at one of my deployment dashboards and said:</p><blockquote>Jay, this DevOps world looks so crowded from the outside!</blockquote><p>And he was right. Anyone who spends enough time in this field sees the same thing. There are too many tools and too many promises, and it can feel impossible to know what actually helps and what adds more work.</p><p>But when you work with these systems every day, you realise something simple. The entire DevOps workflow depends on how well you automate the right parts of it. If your automation is weak, your pipeline feels slow, your releases feel risky, and your team spends half the day babysitting tasks that should have run on their own.</p><p>With that in mind, I want to share the <strong>DevOps automation tools</strong> that continue to earn their place in my projects in 2025 and will stay in 2o26 too. These tools have handled real workloads, late-night deploys, and broken builds. Some are simple to use. Some are hard to implement. But all of them have earned their place.</p><h3>Top 8 DevOps Automation Tools to Use</h3><p>I have listed the eight DevOps automation tools here with a detailed breakdown for each of them, so you can get a good idea of how the tool works and if you should use it.</p><h4>1. GitHub Actions</h4><p>I use <a href="https://github.com/features/actions"><strong>GitHub Actions</strong></a> whenever a project already sits in GitHub. The setup is simple and easy. Workflows stay close to the code. Pull requests trigger the right checks without extra effort. Most jobs run without tuning.</p><p>What I like most is the predictability. When a workflow passes here, it usually works in production with very few surprises. Secrets management is straightforward, and the marketplace has enough actions to cover most tasks. I use it for CI, container builds, small deployments, and scheduled jobs.</p><p>It is not perfect for very large pipelines, but for most mid-size teams, it is more than enough.</p><h4>2. Jenkins</h4><p><a href="https://www.jenkins.io/"><strong>Jenkins</strong></a> is old, but it stays because it gets the job done. I use it when a pipeline needs advanced control or when a team already has a long Jenkins history. No fancy setup. It runs what you tell it to run.</p><p>But, you may ask, what is the strength of this DevOps Automation Tool? The answer is flexibility. If you need custom scripts, conditional steps, or unusual integrations, Jenkins rarely gets in the way. It is not as good as newer tools, but its plugin ecosystem still solves many problems without extra engineering.</p><p>Maintenance takes effort. But when you run complex automation, Jenkins gives you room to shape the pipeline the way you want.</p><h4>3. Docker</h4><p><a href="https://www.docker.com/"><strong>Docker</strong></a> is one of my favorite DevOps automation tools. I treat Docker as the starting point for almost everything. If an application runs the same way across machines, the rest of the pipeline stays calm. Containerizing services early saves hours later.</p><p>Docker also helps during debugging. When something breaks, I do not dig through scattered configs; I recreate the environment with one command. It keeps development, staging, and production close enough that most surprises disappear.</p><p>Almost every DevOps workflow I set up begins with a clean Docker image.</p><h4>4. Kubernetes</h4><p>If there is any tool that is the most popular in the DevOps ecosystem, it is <a href="https://kubernetes.io/"><strong>Kubernetes</strong></a>. I personally use this tool when workloads grow beyond a single server. It is not something I use for basic projects. It is something I use when scaling, scheduling, and resource planning matter.</p><p>The automation edge comes from how Kubernetes handles deployments, rollouts, secrets, and load management. Once the cluster is stable, deployments become predictable. Failed pods restart without manual help. Horizontal autoscaling keeps services steady when traffic moves around.</p><p>But, to get K8s right, you may require <a href="https://www.bacancytechnology.com/kubernetes-consulting-services">Kubernetes consulting services</a>. A third party service provider with a team of experts will help you with the set up and implementation of the tool, freeing you from the burden of doing it all yourself.</p><h4>5. Argo CD</h4><p>GitOps became easier once I started using <a href="https://argoproj.github.io/cd/"><strong>Argo CD</strong></a>. The idea is simple: store the desired state in Git, and Argo keeps the cluster aligned to it.</p><p>This reduces drift, keeps teams honest with version history, and avoids the guesswork that comes from shared “manual tweaks.” I use Argo CD whenever a team wants long-term clarity around deployments. It shows what is running, what changed, and what broke.</p><p>It is simple, visual, and very predictable once you lock the folder structure.</p><h4>6. Terraform</h4><p><a href="https://developer.hashicorp.com/terraform"><strong>Terraform</strong></a> is my default choice for infrastructure automation. It works across cloud providers and keeps environments consistent. I use it to automate networks, machines, queues, and almost everything that forms the backbone of an application.</p><p>The biggest advantage is traceability. When everything sits in code, onboarding becomes easy. New engineers do not need tribal knowledge; they read the files and understand the setup.</p><p>State management needs care, but once you stabilize the structure, Terraform saves weeks across the year.</p><h4>7. Ansible</h4><p>I reach for <a href="https://www.redhat.com/en/ansible-collaborative"><strong>Ansible</strong></a> when I need configuration automation without agents. It handles server setup, patching, and repeatable tasks with simple YAML files.</p><p>It works well in hybrid environments where part of the system runs on cloud and part runs on old servers. It keeps them aligned without much hassle. The learning curve is small, and playbooks stay readable even for juniors.</p><p>It is very practical for routine automation that does not need a full orchestration layer.</p><h4>8. Prometheus and Grafana</h4><p>If you cannot see what your system is doing, you cannot fix it. Prometheus and Grafana are the DevOps automation tools that are more popular as a pair, and have also become my default monitoring stack. <a href="https://prometheus.io/"><strong>Prometheus</strong></a> gathers the metrics. <a href="https://grafana.com/"><strong>Grafana</strong></a> makes them readable.</p><p>Most debugging starts here. I check CPU, memory, latency, and service health before touching anything else. Alert rules keep teams ahead of incidents. When something slows down, Grafana helps narrow down the cause quickly.</p><p>This stack stays in almost every project I run.</p><h3><strong>Final Thoughts</strong></h3><p>After working with these tools day after day, I have learned that automating DevOps is not about building a big stack or chasing every new release that shows up online. What matters is whether the tools help you keep systems steady, reduce the noise around deployments, and make teamwork smoother. The DevOps automation tools I listed here have proved themselves in real projects, with real deadlines and real issues that needed clear answers, not fancy features.</p><p>Each tool solves a specific problem. Some take care of pipelines, some support the infrastructure, and some help you understand what is happening when things slow down. Together, they keep the workflow clean and predictable. When the stack feels stable, the team moves with confidence, and issues feel manageable instead of tiring.</p><p>If you are building a DevOps setup from scratch or want to streamline your existing stack, you don’t have to go it alone. Working with a <a href="https://www.bacancytechnology.com/devops-managed-services">managed DevOps services</a> provider can help you implement these tools correctly, maintain them over time, and avoid the trial-and-error phase many teams go through.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcdbd7915866" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>