Cost Optimization on Fatih Koçhttps://fatihkoc.net/tags/cost-optimization/Recent content in Cost Optimization on Fatih KoçHugoenTue, 21 May 2024 00:00:00 +0000Elastic Kubernetes Service Cost Optimization: A Comprehensive Guide - Part Twohttps://fatihkoc.net/posts/eks-cost-optimization-2/Tue, 21 May 2024 00:00:00 +0000https://fatihkoc.net/posts/eks-cost-optimization-2/<h2 id="introduction-deep-diving-into-aws-eks-cost-optimization"> Introduction: Deep Diving into AWS EKS Cost Optimization <a class="heading-link" href="#introduction-deep-diving-into-aws-eks-cost-optimization"> <i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"></i> <span class="sr-only">Link to heading</span> </a> </h2> <p>When companies or projects try to choose the right distribution for Kubernetes, they know most have similar features. High availability, resilience, support, addons for storage, security, etc. It comes to the single most important thing when making a decision. <strong>Cost.</strong></p> <p>In the <a href="https://fatihkoc.net/posts/eks-cost-optimization-1/" class="external-link" target="_blank" rel="noopener">first part</a> of this series, we discussed general Kubernetes cost optimization strategies. Now, further delve into Amazon Web Services (AWS) specific strategies to optimize your Elastic Kubernetes Service (EKS) costs. This part focuses on leveraging AWS services, understanding pricing models, and implementing AWS-specific features for cost-effective EKS management.</p>Elastic Kubernetes Service Cost Optimization: A Comprehensive Guide - Part Onehttps://fatihkoc.net/posts/eks-cost-optimization-1/Tue, 07 May 2024 00:00:00 +0000https://fatihkoc.net/posts/eks-cost-optimization-1/<p>Elastic Kubernetes Service (EKS) stands out in the Kubernetes ecosystem for its powerful cloud-based solutions. However, many organizations struggle with managing costs effectively. This <a href="https://fatihkoc.net/posts/eks-cost-optimization-2/" class="external-link" target="_blank" rel="noopener">two-part</a> blog series dives deep into strategies for reducing expenses on both Kubernetes and AWS sides. We start with universally applicable Kubernetes tips, enriched with contextual understanding and real-world scenarios.</p> <h2 id="monitoring-and-logging-the-first-step-in-cost-management"> Monitoring and Logging: The First Step in Cost Management <a class="heading-link" href="#monitoring-and-logging-the-first-step-in-cost-management"> <i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"></i> <span class="sr-only">Link to heading</span> </a> </h2> <p>Effective cost management begins with robust monitoring and logging. Start with cloud provider dashboards and virtualization technology interfaces for basic insights. Install metrics-server to leverage commands like <code>kubectl top pods</code> and <code>kubectl top nodes</code> for real-time data. For comprehensive infrastructure monitoring, consider the <a href="https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack" class="external-link" target="_blank" rel="noopener">kube-prometheus-stack</a>, which includes Grafana, Prometheus, node-exporter, Alertmanager, and optionally Thanos.</p>