<?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 Shir Monether on Medium]]></title>
        <description><![CDATA[Stories by Shir Monether on Medium]]></description>
        <link>https://medium.com/@shirmon?source=rss-d68b4dbd5204------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ml_pHboPIOFPlN-b_fjvmA.png</url>
            <title>Stories by Shir Monether on Medium</title>
            <link>https://medium.com/@shirmon?source=rss-d68b4dbd5204------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 11:50:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shirmon/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[AWS EKS Auto Mode, the Good, the Bad & the Costly]]></title>
            <link>https://shirmon.medium.com/aws-eks-auto-mode-the-good-the-bad-the-costly-9db72333927c?source=rss-d68b4dbd5204------2</link>
            <guid isPermaLink="false">https://medium.com/p/9db72333927c</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[karpenter]]></category>
            <category><![CDATA[aws-eks]]></category>
            <dc:creator><![CDATA[Shir Monether]]></dc:creator>
            <pubDate>Mon, 16 Dec 2024 13:14:58 GMT</pubDate>
            <atom:updated>2025-06-04T16:27:33.785Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mB2JY5AlrZ6uBljkl5Q8IA.png" /></figure><h4>AWS kicked off re:Invent with huge news for EKS users: EKS Auto Mode! But is it really as good as it sounds?</h4><p>Let’s dive into what I consider the biggest value proposition from this announcement: AWS finally solving the chicken-and-egg problem of needing dedicated nodes to run Karpenter by offering a Karpenter-like autoscaler that they manage!</p><h3>The Good</h3><p>This feature moves not only Karpenter but many more controllers from the data plane to the managed control plane, streamlining production-ready cluster components like CoreDNS, VPC CNI, ALB Ingress controller, EBS CSI, GPU device driver and last but not least Karpenter (sort of)!</p><p>Sounds awesome, right!?… right?</p><p>I say “Karpenter-like” because it’s not exactly vanilla Karpenter — there are several limitations, gotchas, and one particularly surprising catch.</p><h3>The Bad</h3><h4>AMI control</h4><p>First off, you lose control over the AMI selection for Auto Mode nodes. They’re strictly Bottlerocket-based, with what was traditionally DaemonSet Pods baked in as processes. However, as these components are being baked in, we would expect higher Kubernetes resource reservations to attend for them. Surprisingly, AWS seems to have overlooked this — not only has the Kubelet reservation not increased, it has actually decreased! Here is a comparison of the capacity of two m5a.4xlarge nodes, one spun up by Karpenter with Amazon Linux 2, and another by Auto Mode.</p><pre># Auto Mode m5a.4xlarge instance<br>capacity:<br>    cpu: &#39;16&#39;<br>    memory: 64750608Ki<br>    pods: &#39;110&#39;<br>  allocatable:<br>    cpu: 15890m<br>    memory: 63148048Ki<br>    pods: &#39;110&#39;</pre><pre># Karpenter AL2 m5a.4xlarge instance<br>capacity:<br>    cpu: &#39;16&#39;<br>    memory: 64679384Ki<br>    pods: &#39;234&#39;<br>  allocatable:<br>    cpu: 15890m<br>    memory: 61680088Ki<br>    pods: &#39;234&#39;</pre><blockquote>Auto Mode memory reserved = 64750608Ki -63148048Ki = 1602560Ki = 1.5Gi<br>Karpenter memory reserved = 64679384Ki -61680088Ki = 2999296Ki = 2.8Gi</blockquote><h4>Unexpected surge in Node count</h4><p>When migrating to EKS Auto Mode, you might notice an unexpected surge in node count, particularly when you originally have larger nodes. Why? If you’re sharp you’ve noticed the other odd difference in the node resources from the previous point, EKS Auto Mode nodes are hard-capped at 110 pods, while originally nodes can support a lot more. This limitation means you’ll need more nodes to handle the same amount of workloads, potentially driving up costs significantly.</p><h4>On-Demand?</h4><p>Got applications that need continuous uptime? This might not be for you. AWS Auto Mode nodes have a strict 21-day expiration — which makes OnDemand instances seem rather pointless in this context.</p><p>AWS suggests you can run both Auto mode and self-hosted Karpenter simultaneously if these restrictions don’t work for you. But if you still need to manage and configure self-hosted Karpenter, what’s the point of using Auto Mode in the first place? And we haven’t even gotten to the kicker yet…</p><h3>The Costly</h3><p>Here’s something that wasn’t highlighted in the initial excitement: this service comes with a price tag. So, how much?</p><p>You might expect a small increase in control plane costs as this includes extra managed services in the control plane, right?</p><p>Think again — it’s <strong>at least </strong>a whopping <strong>12%</strong> premium on your <strong>data plane!</strong> That means an additional 12% cost for every instance running in EKS Auto Mode.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0V53L3oCEx_IanpR4cNTuQ.png" /><figcaption>EKS Auto Mode pricing</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*2KQtepd9ByCdAamdvJL69Q.png" /><figcaption>EC2 OnDemand pricing</figcaption></figure><blockquote>m5a.large; 0.01032/0.086 = 12%</blockquote><p>Why “at least” 12%? Because the AWS Auto Mode prices are not affected by instance discounts from Spot, RI, Savings plans ect. making it potentially even more than 12% premium if you’re utilizing these discounts</p><h3>Summary</h3><p>For those looking to offload as much as possible to managed services EKS Auto Mode can sound great, but for a project like Karpenter that’s focused on cost optimization, switching to AWS Auto Mode could potentially send your cloud bills soaring (especially given that lower pod capacity)</p><p>Which raises the question: AWS, wouldn’t it have been easier for all of us if you simply ran vanilla Karpenter in the control plane?</p><h4>Trying to get your Kubernetes resources under control?</h4><p>Balancing cost and performance is incredibly challenging, especially when you’re having to glue together multiple tools. That’s why we at Wand are building the ultimate cross-layered Kubernetes optimization platform. If you’re currently facing these challenge, shoot me an email at <a href="/service/mailto:shir@wand.cloud">shir@wand.cloud</a> and I’d love to chat!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9db72333927c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS RDS Storage types — Which one should I choose?]]></title>
            <link>https://medium.com/directeam/aws-rds-storage-types-which-one-should-i-choose-943bc89c4f2f?source=rss-d68b4dbd5204------2</link>
            <guid isPermaLink="false">https://medium.com/p/943bc89c4f2f</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[finops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-cost-optimization]]></category>
            <category><![CDATA[rds]]></category>
            <dc:creator><![CDATA[Shir Monether]]></dc:creator>
            <pubDate>Mon, 22 May 2023 12:11:21 GMT</pubDate>
            <atom:updated>2023-06-08T12:28:35.649Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TvQzKOkk-KhhRrHahU5tCQ.png" /></figure><h3>AWS RDS Storage types — Which one should I choose?</h3><p>Amazon RDS (Relational Database Service) is a cloud-based web service that makes it easier to set up, operate, and scale a relational database. RDS is designed to provide an efficient and cost-effective solution for managing databases. One of the crucial components of RDS, is storage. Amazon RDS provides three recommended storage options for database instances: GP2, GP3 &amp; IO1 (Magnetic is for backwards compatibility).</p><p>In this blog post, we will explore the differences between storage types and when to use each type. But before we dive in, you’ll need to understand the main differences between GP2 and GP3 volumes.</p><p><a href="https://aws.amazon.com/blogs/storage/migrate-your-amazon-ebs-volumes-from-gp2-to-gp3-and-save-up-to-20-on-costs/">Here</a> is an AWS blog regarding migrating EBS with a great comparison table.</p><p>TLDR; GP2 IOPS and throughput get larger with volume size, while GP3 requires you to configure the amount of IOPS and throughput required.</p><h3>Traditional EBS vs RDS storage</h3><p>RDS storage is backed by AWS EBS but it has a few tricks that do not come out of the box with traditional EBS, for example an EBS volume can be up to 16TiB while RDS storage can max out at 64TiB.</p><p>This also makes different performance metrics maximums:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zhUlDP6U0LklGD-ayffJOw.png" /></figure><p><em>Disclaimer: These maximums are for all database engines other than SQL Server as it doesn’t support disk striping</em></p><p>This is mainly due to AWS performing some magic behind the scenes that makes use of multiple EBS volumes &amp; volume striping.</p><p>Another big consideration is price. With traditional EBS, GP3 is generally 20% cheaper than GP2. However, how does this compare with RDS storage?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*guD3y2y4HdNiDiID1hBAEA.png" /></figure><p>They are the same price!</p><p>What’s more, as GP3 is GP3, you will need to pay more for each additional Throughput/IOPS over baseline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*zt9ffT9cd4oFoJl3.jpg" /></figure><h3>Then when should I use GP3?</h3><p>The obvious answer would be when I require a small amount of storage but a large amount of IOPS/Throughput. But we’re not here for the obvious answers, let’s geek out with some graphs!</p><p>Here are a few graphs depicting the difference between GP2 &amp; GP3 regarding the amount of IOPS, Throughput &amp; price (When equalizing GP3 IOPS &amp; Throughput configuration to what is provided with GP2).</p><p><em>These charts are up to 25TB storage since after 21 it flat lines (or in the case of price continues in parallel with each other).</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-lCUYRj5a72JCck4go4cgA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a3py_HigEN5R7MqOnm5Fyw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vegjh-DSw8ZkZmrzxCrV9w.png" /></figure><p><em>Disclaimer; Notice the gray areas on the IOPs and Throughput graphs? these are in a bit of a gray area (see what I did there?), These areas indicate where GP2 is burstable. For the IOPS graph, the burst can be up to 3000, and for the Throughput graph, between 170–334GB storage, the burst can be up to 250MiB/s however between 1,000GB and 1,336GB, it’s burstable up to 1,000MiB/s.</em></p><p>So in the IOPS and Throughput graphs, whenever GP2 is higher than GP3, we have to pay more to get the same performance! And the delta between the price gets higher the larger the storage!</p><p>Hold on, with all these technicalities between GP2 and GP3 storage I’ve forgotten the third (and most mind-blowing) storage type; IO1.</p><p>IO1 is a storage type for workloads that require huge amounts of IOPS, allowing you to go up to 256,000 IOPS! But how does its pricing compare with GP2 &amp; GP3?</p><figure><img alt="us-east-1 pricing" src="https://cdn-images-1.medium.com/max/946/1*hDx1Q0WGoS2vvl1Z7TJKpg.png" /><figcaption>us-east-1 pricing</figcaption></figure><p>Well some bad news for you if you’ve been using IO1 at under 64,000 IOPS. It looks like you’re wasting money!</p><p>Comparing the pricing with GP3 you can see that you will be getting the same performance for a lot lower price! (Even without taking into consideration the free baseline IOPS you get from GP3). The main use-case that makes sense to use IO1 over GP3 is when you’re restricted by GP3s IOPS limit (64,000).</p><p><em>Disclaimer: There is another metric that slightly differs between GP2/3 and IO1, which is latency. While all provide single digit latency, for GP2/3 it’s for 99% of the time, while for IO1 it’s 99.9% of the time. This may be relevant if you have tight SLO/SLA requirements, but keep in mind the trade-off of potentially thousands of dollars a month. If you want to deep dive into more granular resolution, Percona wrote </em><a href="https://www.percona.com/blog/performance-of-various-ebs-storage-types-in-aws/"><em>this</em></a><em> great article benchmarking the performance of each storage type.</em></p><h3>So how do I decide which storage type fits my needs?</h3><p>So the answer to this question is the good old; It’s complicated.</p><p>There are a few rules of thumb we can go by;</p><ul><li>If you require more IOPS than what GP2 offers at the storage size you require, better go with GP3.</li><li>If you don’t know your IOPS and Throughput requirements, use GP3 when your storage is lower than 4TB, and when your storage is over 4TB use GP2 (This makes sure you get larger baselines).</li><li>If you know how much Storage, IOPS and Throughput you require, you can calculate which one would be either cheaper, or (in the case of smaller storage sizes) provides larger IOPS &amp; Throughput headroom at the same price (GP3 baselines).</li><li>If you don’t need over 64,000 IOPS don’t use IO1.</li></ul><h3>Awesome, so I’m all set?</h3><p>Well it would be great if this was the end of the story right?</p><p>But I’m afraid there is another parameter we have to take into consideration when configuring these metrics, which can very well be a bottleneck; the instance type.</p><p>In AWS each instance type has it’s own IOPS and Throughput limits for the instance itself (You can view the whole table <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">here</a>). This means that we can hit an IOPS or Throughput bottleneck if we aren’t using a large enough instance.</p><p>For example let’s take the m6g.large instance which has a baseline Throughput of 78.75 MB/s and baseline IOPS of 3600 (Yes, these are also burstable but only for 30 minutes in a 24 hour period so I wouldn’t count on it). If I use m6g.large for my RDS instance I wouldn’t be able to take advantage of any storage configuration that provides more than the instance constraints.</p><p>This is quite rare as usually you’ll be required to have a larger instance to answer to CPU and memory requirements at this scale before you hit the IOPS and Throughput limits. But if you are experiencing inability to utilize the storage configuration you may want to keep this in mind.</p><p><strong>If you want to learn more about cost optimization strategies and configurations, please do not hesitate to get in touch with us to discover how we can help you, own the cloud </strong>— <a href="https://directeam.io/contact/">https://directeam.io/contact/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=943bc89c4f2f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/directeam/aws-rds-storage-types-which-one-should-i-choose-943bc89c4f2f">AWS RDS Storage types — Which one should I choose?</a> was originally published in <a href="https://medium.com/directeam">Directeam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>