<?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 Dwiki Kurnia on Medium]]></title>
        <description><![CDATA[Stories by Dwiki Kurnia on Medium]]></description>
        <link>https://medium.com/@dwikikurnia?source=rss-86992eddf356------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0SqkS26hHqnyLkB_i3QqtQ.jpeg</url>
            <title>Stories by Dwiki Kurnia on Medium</title>
            <link>https://medium.com/@dwikikurnia?source=rss-86992eddf356------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 07:40:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dwikikurnia/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[Our Organization Secures Production Environment with ELEVATE Temporary Elevated Access Management]]></title>
            <link>https://medium.com/life-at-telkomsel/our-organization-secures-production-environment-with-elevate-temporary-elevated-access-management-7cb7b68cac55?source=rss-86992eddf356------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cb7b68cac55</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Dwiki Kurnia]]></dc:creator>
            <pubDate>Mon, 22 Dec 2025 08:32:39 GMT</pubDate>
            <atom:updated>2025-12-22T08:32:39.440Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*soh-YTVP21w3vbuRgkrAyg.png" /></figure><p>Keeping our production environment safe is a top priority. In the past, giving team members permanent high-level access made things easier, but it also opened the door to mistakes and security risks. We needed a better way, one that’s both secure and simple. That’s why we introduced <strong>ELEVATE</strong>, a system that gives temporary, just-in-time access only when it’s really needed.</p><h3>What is ELEVATE?</h3><p>ELEVATE is our answer to the challenge of balancing security and productivity. Instead of handing out permanent admin rights, ELEVATE lets team members request higher access for a short time. Once their task is done, the extra access is automatically taken away. This keeps our environment safe and our team agile.</p><p>Before ELEVATE, we faced a few big problems:</p><ul><li><strong>Permanent admin access</strong> meant more chances for mistakes or security issues.</li><li><strong>Higher security risk w</strong>ith more people holding powerful permissions all the time, our production environment was more exposed to potential threats.</li><li><strong>Complex user management</strong> made it hard to keep track of who had access to what.</li></ul><p>We wanted a solution that was fast, safe, and easy to use. ELEVATE was designed to solve these problems by making access temporary and approvals quick.</p><h3>How ELEVATE Works (Step by Step)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rILK2UziXc1Lhx23UkqsfQ.png" /><figcaption>ELEVATE Architecture and End-to-end Process</figcaption></figure><p>Here’s how ELEVATE keeps things simple and secure:</p><ol><li><strong>Request Access</strong><br>Team members go to our AWS access portal, select ELEVATE, and fill out a quick form to request higher access.</li><li><strong>Approval</strong><br>The request goes to a manager or approver, who checks and approves it with just a click.</li><li><strong>Temporary Access</strong><br>Once approved, the team member gets elevated access for a limited time, just enough to finish the job.</li><li><strong>Automatic Removal</strong><br>When the time is up, ELEVATE automatically removes the extra access. No need to remember to turn it off.</li><li><strong>Full Tracking</strong><br>Every request and action is logged, so we always know who did what and when.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*asGbZHQl309gtKi1kn8JhQ.png" /><figcaption>ELEVATE Interface and Request Flow</figcaption></figure><h3>What Makes ELEVATE Special?</h3><ul><li><strong>Automation-Driven and Serverless Architecture </strong><br>ELEVATE uses smart automation and a serverless design, which means it’s efficient and cost-effective. It fits right into our existing AWS setup without extra hassle. Best of all, the monthly cost is less than $500, a significant saving compared to ready-made SaaS platforms. This means we get top-notch security and flexibility without spend high cost.</li><li><strong>Easy Integration</strong><br>ELEVATE works with our current identity and access systems (Azure AD &amp; AWS Identity Center), so there’s no need to start from scratch.</li><li><strong>Clear Approval Workflow</strong><br>The approval process is visual and straightforward, making it easy for managers to review and approve requests quickly.</li></ul><h3>Real Impact</h3><p>Rolling out ELEVATE to all our production environment accounts over 50 in just one month was a big milestone for our team. The results have been impressive:</p><ul><li><strong>Fewer security incidents, w</strong>ith permanent access removed, there are fewer chances for mistakes or unauthorized actions.</li><li><strong>Just-in-Time troubleshooting</strong> because team members can get the access they need, when they need it.</li><li><strong>Better compliance</strong> with security policies, since everything is tracked and auditable.</li></ul><p>For example, when a developer needed to fix an urgent issue in production, they requested access through ELEVATE, got special approval in minutes, and their access was automatically removed after the job was done. No more waiting, no more risk of forgotten permissions.</p><h3>Lessons Learned &amp; Future Enhancement</h3><p>Through our journey with ELEVATE, we’ve learned a few important things:</p><ul><li><strong>Keep it simple</strong>: The easier it is to use, the more people will follow the process.</li><li><strong>Automate everything you can</strong>: Automatic removal and logging save time and reduce errors.</li><li><strong>Review and improve</strong>: Regularly check the logs and workflows to spot areas for improvement.</li></ul><p>Looking ahead, our next plan is to integrate AI to compare Document MOPs (Methods of Procedure) with real activity logs. If there’s any discrepancy between what was planned and what actually happened, the system will <strong>automatically</strong> <strong>alert</strong> our <strong>Security Team</strong> or <strong>Productivity Team</strong>. This will help us catch issues even faster and keep our production environment even safer and well documented.</p><h3>Conclusion</h3><p>ELEVATE has helped us secure our production environment without slowing down our team. By giving just-in-time access, we keep things safe, fast, and under control. If your organization struggles with managing access, consider a temporary access system like <strong>ELEVATE</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cb7b68cac55" width="1" height="1" alt=""><hr><p><a href="https://medium.com/life-at-telkomsel/our-organization-secures-production-environment-with-elevate-temporary-elevated-access-management-7cb7b68cac55">Our Organization Secures Production Environment with ELEVATE Temporary Elevated Access Management</a> was originally published in <a href="https://medium.com/life-at-telkomsel">Life at Telkomsel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Self-Healing Automation on Kubernetes Reduces Downtime]]></title>
            <link>https://medium.com/life-at-telkomsel/how-self-healing-automation-on-kubernetes-reduces-downtime-8fd0d163ab0a?source=rss-86992eddf356------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fd0d163ab0a</guid>
            <category><![CDATA[serverless-architecture]]></category>
            <category><![CDATA[kubernetes-automation]]></category>
            <category><![CDATA[self-healing-systems]]></category>
            <category><![CDATA[incident-response]]></category>
            <dc:creator><![CDATA[Dwiki Kurnia]]></dc:creator>
            <pubDate>Mon, 16 Jun 2025 09:17:50 GMT</pubDate>
            <atom:updated>2025-06-16T09:17:50.130Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u5-E-pEEMtS82mux05op5A.jpeg" /></figure><p>In modern cloud infrastructure, failures are inevitable, but how they are handled defines system reliability. Kubernetes offers built-in self-healing mechanisms like pod restarts and rescheduling, but some issues require external intervention to restore services efficiently. This is where self-healing automation plays a crucial role in minimizing downtime and maintaining system stability.</p><p>At Telkomsel, we implemented a <strong>self-healing automation system</strong> that seamlessly integrates with our <strong>Kubernetes clusters</strong>, enabling precise <strong>remediation actions</strong> based on <strong>specific Kubernetes alerts</strong>.</p><p>Even with Kubernetes’ native capabilities like:</p><ul><li>Pod rescheduling</li><li>CrashLoopBackOff restarts</li><li>Liveness and readiness probes</li></ul><p>there are still gaps that can cause delays in remediation, for example Application-level anomalies (e.g., stuck business logic, memory leaks). These issues often require human intervention or external automation to resolve them effectively.</p><p>To solve this, we built an event-driven self-healing system using a combination of:</p><ul><li>Amazon EKS / Kubernetes</li><li>AWS Lambda</li><li>Amazon EventBridge</li><li>Amazon RDS</li><li>Amazon S3</li><li>Amazon SES</li><li>Amazon Bedrock Nova Pro</li><li>Telegram Bot API</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wz8jaRA1iO9DpJciGFBNBA.png" /><figcaption>Low Level Architecture &amp; Process</figcaption></figure><p><strong>How It Works (Step-by-Step)</strong></p><p><strong>Alert Triggered in Kubernetes:</strong></p><ul><li>Custom probe detects an anomaly (e.g., pod return error Socket Timed Out) and collect the data into Centralized DB.</li></ul><p><strong>Lambda Function Executes Remediation Logic:</strong></p><ul><li>The alert is converted into a custom event, triggering an AWS Lambda function.</li><li>AWS Lambda will send an alert to Telegram bot and sends real-time notifications to our on-call engineers.</li><li>Engineers can also respond with actions (e.g., “Approve Restart”, “Ignore”, “Escalate”)</li><li>Based on the selected response, AWS Lambda communicates with the Kubernetes API server to restart the specified pods.</li></ul><p><strong>Multi-Agent Follow-Up:</strong></p><ul><li>Agents may be scheduled to verify if remediation was successful, or retry if needed.</li><li>A summary notification is sent to all engineers after verification.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NC1Y4xAiLfAk0ZV__BtKHg.png" /><figcaption>Alert Notification &amp; Deletion Request</figcaption></figure><p><strong>Results and Benefits</strong></p><ul><li>Reduced Downtime: Faster resolution of Kubernetes-level issues (minutes to seconds), Possibility improve up to 83% faster restoration time.</li><li>Higher Reliability: Automation handles known issues predictably</li><li>Cost Savings Opportunity: Reduced manpower involvement and MTTR (Mean Time to Recovery)</li></ul><p><strong>Conclusion</strong></p><p>Kubernetes gives you the foundation for resilience, but coupling it with event-driven automation supercharges your ability to self-heal. At Telkomsel, this system has allowed us to move from reactive to proactive operations, reducing downtime while keeping engineers in the loop only when truly necessary.</p><p>If your Kubernetes setup still relies heavily on manual incident resolution, it’s time to rethink your automation strategy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fd0d163ab0a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/life-at-telkomsel/how-self-healing-automation-on-kubernetes-reduces-downtime-8fd0d163ab0a">How Self-Healing Automation on Kubernetes Reduces Downtime</a> was originally published in <a href="https://medium.com/life-at-telkomsel">Life at Telkomsel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Faster Discovery Issue and Auto RCA with Incident Case Analysis using Long Context LLM]]></title>
            <link>https://medium.com/life-at-telkomsel/faster-discovery-issue-and-auto-rca-with-incident-case-analysis-using-long-context-llm-f2a689428f09?source=rss-86992eddf356------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2a689428f09</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[long-context-llm]]></category>
            <category><![CDATA[incident-analysis]]></category>
            <category><![CDATA[incident-management]]></category>
            <dc:creator><![CDATA[Dwiki Kurnia]]></dc:creator>
            <pubDate>Thu, 17 Apr 2025 09:17:48 GMT</pubDate>
            <atom:updated>2025-04-17T09:17:48.465Z</atom:updated>
            <content:encoded><![CDATA[<p>In Cloud environments, incidents can disrupt services and impact business continuity. Traditional incident analysis and management often relies on manual log analysis, war rooms, and time-consuming investigations, leading to delays in identifying root causes.</p><p>To address these challenges, we implemented Generative AI (GenAI) for incident case analysis, enabling faster and more accurate root cause identification.</p><p><strong>Challenges in Traditional Incident Analysis and Management</strong></p><p>Before integrating AI, the traditional incident response process involved:<br>• Manual log collection from multiple sources<br>• Delayed root cause identification due to fragmented data<br>• Reactive issue resolution, leading to prolonged downtime</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gRuoa97ACr5opiZ6hGbp3Q.png" /><figcaption>Traditional vs AI-Driven Incident Analysis and Management</figcaption></figure><p><strong>How GenAI Transforms Incident Analysis</strong></p><p>GenAI enhances incident analysis and management by streamlining data aggregation from multiple sources, including Datadog, APM Dynatrace, Network SolarWinds, Kubernetes logs, and internal API data. By analyzing this vast dataset, GenAI can identify patterns and anomalies, enabling the early detection of potential failures before they escalate. It also provides AI-driven root cause analysis and automated insights, significantly reducing the time required for troubleshooting and resolution. Additionally, GenAI improves collaboration by offering real-time reporting and seamless chatbot integration, allowing teams to access critical incident information instantly and coordinate responses more effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bXaRCCq1OH3mwDsPvfYlEg.png" /><figcaption>GenAI-Powered Root Cause Analysis Workflow</figcaption></figure><p><strong>CELYNA: AI-Powered Incident Case Analysis at Telkomsel</strong></p><p>At Telkomsel, we developed CELYNA, an AI-powered incident analysis system that:<br>• Correlates application metrics and infrastructure logs<br>• Detects critical failures in Kubernetes, ECS, and backend APIs<br>• Generates error timeline visualizations for proactive monitoring<br>• Provides chatbot-based incident reporting and query support</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XQlV20uNxyFQW7utw1K6OQ.png" /><figcaption>CELYNA Architecture for AI-Powered Incident Analysis</figcaption></figure><p>The impact of GenAI in incident analysis and management is significant, transforming the traditional approach to troubleshooting and resolution. By leveraging AI-driven automation, incident analysis time is drastically reduced from hours to just minutes, allowing teams to respond to issues much faster. GenAI also enables proactive detection of anomalies, identifying potential failures before they escalate into major incidents, which helps prevent downtime and service disruptions. Additionally, with AI-generated insights and recommendations, incident resolution becomes more efficient, as teams receive actionable guidance on the root cause and corrective measures, minimizing the need for prolonged manual investigations.</p><p>To enable <strong>accurate and efficient root cause analysis (RCA)</strong>, we used <strong>Long Context LLM</strong> with a structured <strong>prompt template</strong>. This template ensures that the AI receives all relevant logs, metrics, and anomaly data for precise analysis.</p><pre>PROMPT_TEMPLATE_SUMMARY = &quot;&quot;&quot;Here is an example format enclosed in &lt;example&gt; tags:<br>&lt;example&gt;<br>Data Provided on 2024-12-30 at 18:22:43<br>1. Application Metrics<br>1.a Success Rate Application :<br>- DSC : xx% (Increment : 0.04%)<br>- MyTelkomsel : xx% (Increment : 0.04%)<br>- Digipos : xx% (Increment : 0.04%)<br>- CIAM : No Data Available<br>1.b Success Rate Service:<br>- MyTelkomsel : give the data<br>- DSC, Digipos, CIAM : No Data Available<br>1.c Open problem :<br>- DSC, Digipos : No open problems reported<br>- MyTelkomsel : MYTSEL-SLA-service-subscriber-balance alert<br>- CIAM : Long garbage-collection time, Host or monitoring unavailable<br><br>2. Cloud Infrastructure and Platform (IAAS &amp; PAAS Datadog)<br>2.a Failure Counts (IAAS):<br>- MyTelkomsel : Readiness failure xx% (Decrement: 0.30%, Growth: -1.20%), Liveness failure xx% (Decrement: 0.60%)<br>- Digipos : Readiness failure xx% (Increment: 0.60%, Growth: 3.90%), Liveness failure xx% (Decrement: 0.50%)<br>- CIAM : Readiness failure xx% (Decrement: 1.30%, Growth: -5.80%), Liveness failure xx% (Decrement: 0.50%)<br>- DSC : No Data Available<br>2.b Resource Utilization (IAAS): All applications have stable CPU, memory, latency, disk, and error usage.<br>2.c Pod Status (PAAS-Kubernetes) :<br>- MyTelkomsel : Running pods xx% (Increment: 130), Not running pods xx% (Increment: 159), Pod Error xx% (Increment: 3), Pod Evicted xx% (Increment: 152)<br>- Digipos : All pods are running and no errors reported<br>- CIAM : All pods are running and no errors reported<br>- DSC : No Data Available<br><br>3. Elastic Container Service (ECS)<br>- Dunia Games : No issues reported for Running, Pending, High CPU, High Memory, or Target Errors (Err4xx &amp; Err5xx). All counts remain at 0.0 with no changes.<br><br>4. Backbone network from on-prem to Cloud (Solarwinds): All applications have similar network issues with node agg-op-bsd.2 showing average response times of 14ms to 48ms.<br><br>5. IT AGG Datacomm Network (PRTG): Multiple network interfaces across devices (e.g., css.dc-core-bsd.1, css.dc-core-tbs.1) and key network destinations (e.g., PA-OUT-BSD-02_DMZ Hub, PA-OUT-TBS-02_Public Business) are consistently reported as &quot;Down&quot; in PRTG, affecting interfaces such as Eth-Trunk116, Eth-Trunk116.1, Eth-Trunk54, Eth-Trunk35, and others.<br><br>Most Critical Points :<br>- Provide key insights.<br><br>Actionable Steps to Improve :<br>- Suggest necessary steps and solutions.<br>&lt;/example&gt;<br><br>Your task is to summarize troubleshooting and incident analysis for one or multiple applications based on the provided &lt;context&gt; data.<br>You are a smart, kind, and cheerful virtual assistant. Follow the rules in &lt;rules&gt;:<br><br>&lt;rules&gt;<br>1. USE the &lt;example&gt; format exactly, including line breaks and structure. DO NOT create a new format.<br>2. BASE the summary strictly on &lt;context&gt; data. DO NOT add external knowledge.<br>3. KEEP the response concise, simple, and easy to understand.<br>4. USE short phrases and remove unnecessary words while maintaining key information.<br>5. DO NOT use bullet points, bold, italic, or underline formatting.<br>6. ORGANIZE the summary as follows:<br>    &lt;format&gt;<br>    1. Application Metrics:<br>        1.a Success Rate Application (if available)<br>        1.b Success Rate Service (list lower-performing services)<br>        1.c Open Problems (if none, state &quot;No open problems reported&quot;)<br>    2. Cloud Infrastructure and Platform (IAAS &amp; PAAS Datadog):<br>        2.a Failure Counts (IAAS): Summarize readiness and liveness failures with percentage changes.<br>        2.b Resource Utilization (IAAS): Indicate if CPU, memory, latency, disk, and error use is stable, high, or low.<br>        2.c Pod Status (PAAS-Kubernetes): Summarize running, not running, and error pod counts.<br>    3. Elastic Container Service (ECS): Summarize service status.<br>    4. Backbone Network from On-Prem to Cloud (Solarwinds): List open network issues and compare response times to thresholds.<br>    5. IT AGG Datacomm Network (PRTG): Highlight key performance metrics affecting services.<br>    6. USE a single line for each header and subheader.<br>7. After summarizing, highlight the **most critical points** affecting performance and **actionable steps** to improve reliability.<br><br>Summarize &lt;context&gt; data based on &lt;example&gt; and &lt;rules&gt;. DO NOT include &lt;context&gt;, &lt;example&gt;, or &lt;rules&gt; tags in the response.<br><br>&lt;context&gt;<br>{context}<br>&lt;/context&gt;&quot;&quot;&quot;</pre><p>By leveraging this structured prompt template, the AI processes vast amounts of log data, metrics, and historical incidents in real time. Once the input data is fed into the system, the Long Context LLM analyzes anomalies, correlates relevant system events, and generates a detailed incident report. This output includes a summary of the affected components, a hypothesis on the root cause, recommended mitigation steps, error timeline visualization, success rate apps trend, all within seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FpbpWrMIBrEzP5H20ORG3Q.png" /><figcaption>CELYNA Telegram Output with AI Insights</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eyjlzmsDSj1UBHtxHVZz0A.png" /><figcaption>Error Timeline Visualization</figcaption></figure><p>By integrating GenAI with observability tools, we transformed our incident case analysis process from a manual, reactive approach to an automated, AI-driven solution.</p><p>To provide a more in-depth understanding of how AI-driven incident analysis and automated RCA work in real-world scenarios, we have presented this topic at the <strong>AWS User Group Indonesia Meetup</strong>. Watch the full presentation below to see live demonstrations, practical use cases, and insights on how AI can revolutionize incident analysis and management.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FVTJcNmA0Kpk%3Fstart%3D6%26feature%3Doembed%26start%3D6&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DVTJcNmA0Kpk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FVTJcNmA0Kpk%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/60029c005dd0e132825680ea8a95663a/href">https://medium.com/media/60029c005dd0e132825680ea8a95663a/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2a689428f09" width="1" height="1" alt=""><hr><p><a href="https://medium.com/life-at-telkomsel/faster-discovery-issue-and-auto-rca-with-incident-case-analysis-using-long-context-llm-f2a689428f09">Faster Discovery Issue and Auto RCA with Incident Case Analysis using Long Context LLM</a> was originally published in <a href="https://medium.com/life-at-telkomsel">Life at Telkomsel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improving Tagging Governance and Maximizing AWS MAP Discounts with Automated Tagging Validation &…]]></title>
            <link>https://medium.com/life-at-telkomsel/improving-tagging-governance-and-maximizing-aws-map-discounts-with-automated-tagging-validation-e7c1fd602df3?source=rss-86992eddf356------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7c1fd602df3</guid>
            <category><![CDATA[operational-excellence]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cost-optimization]]></category>
            <category><![CDATA[operational-efficiency]]></category>
            <dc:creator><![CDATA[Dwiki Kurnia]]></dc:creator>
            <pubDate>Mon, 14 Oct 2024 03:41:45 GMT</pubDate>
            <atom:updated>2024-10-14T03:41:45.562Z</atom:updated>
            <content:encoded><![CDATA[<h3>Improving Tagging Governance and Maximizing AWS MAP Discounts with Automated Tagging Validation &amp; Execution</h3><p>As cloud infrastructure grows, managing costs becomes increasingly complex. One of the key strategies to optimize costs in AWS environments is by ensuring resources are tagged accurately, especially for tracking and maximizing the benefits of AWS’s MAP (Migration Acceleration Program) discount. Manual tagging, however, can lead to inaccuracies, resulting in missed savings opportunities and difficulty in tracking resource usage. Without proper tagging, businesses risk inefficiencies in cost reporting and resource management, which directly affects the benefits of the MAP discount.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G-nYzUy8GUJjGz9n2TgOzQ.png" /><figcaption>Tagging Status Before Automated Tagging</figcaption></figure><p>The chart shows the tagging status of resources before the implementation of automated tagging, with significant discrepancies in tagging compliance. For <strong>Account Name</strong>, 95.37% of resources were incorrectly tagged (NOK), leaving only 4.63% correctly tagged (OK). The <strong>Environment</strong> tags show a similar issue, with 86.95% of tags incorrect and just 13.05% correctly applied. When it comes to the <strong>MAP Discount</strong>, 84% of resources were appropriately tagged, but 16% still lacked proper tags. These figures highlight the inefficiencies and tagging errors that existed before automating the process, especially in areas like Account Name and Environment, which are crucial for resource tracking and cost optimization.</p><p><strong>Benefits of Automated Tagging Validation &amp; Execution for AWS MAP</strong></p><ol><li><strong>Maximized AWS MAP Discounts</strong>: Properly tagging resources ensures that all eligible services are accounted for in the AWS MAP discount program, maximizing cost savings for the organization.</li><li><strong>Improved Cost Tracking</strong>: With accurate tagging, organizations can easily track resource usage by departments, projects, or cost centers, providing clear visibility into where AWS spend is going.</li><li><strong>Minimized Tagging Errors</strong>: Automation reduces the risk of human error when applying tags, ensuring that resources are consistently tagged according to organizational policies and AWS MAP requirements.</li><li><strong>Increased Efficiency</strong>: By automating tagging processes, companies can save time and reduce the overhead involved in manually tagging and checking resources.</li><li><strong>Enhanced Governance</strong>: Automated tagging helps maintain compliance, ensuring that resources are always properly categorized for maximum cost efficiency and tagging governance.</li></ol><p>The <strong>Automated Tagging Validation &amp; Execution</strong> system is designed to ensure that AWS resources are properly tagged to maximize cost savings through the MAP discount. The solution uses a set of predefined rules that align with AWS MAP discount requirements, ensuring that tags such as “Environment”, “Cost Center”, or “Application” are consistently applied to all cloud resources. At the core of the solution is an automation engine that leverages tools like AWS Config, Lambda, or custom scripts to continuously validate tags across various resources.</p><p>The system identifies any gaps where resources are missing tags or have incorrect ones and automatically applies the necessary updates. By integrating this automation with a robust reporting system, the solution generates real-time compliance reports that highlight non-compliant resources, providing teams with actionable insights to quickly correct tagging issues and maintain eligibility for MAP discounts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*YDjGAhpCx8D84QJHhvxcAQ.png" /><figcaption>Automated Tagging Valiation &amp; Execution Flow Process</figcaption></figure><p>The architecture of the solution is built to ensure seamless integration into AWS environments while automating the tagging process. It begins with a resource discovery mechanism that scans the AWS infrastructure, identifying resources such as EC2 instances, RDS databases, and other services that require tagging for MAP discount eligibility. These resources are then validated by the tagging validation AWS Lambda, which checks each resource against a set of predefined tagging rules. If any discrepancies are found, such as missing or incorrect tags, AWS Lambda will automatically applying the appropriate tags. To maintain continuous compliance, a real-time monitoring and reporting dashboard provides visibility into the current tagging status, allowing stakeholders to track compliance levels and take corrective action as needed.</p><p><strong>Result &amp; Conclusion</strong></p><p>Before automation, there were significant issues with tagging accuracy. For <strong>Account Name</strong>, only 4.63% of resources were correctly tagged, while 95.37% were not. Similarly, for the <strong>Environment</strong> category, only 13.05% of resources were properly tagged, leaving 86.95% with incorrect or missing tags. For the <strong>MAP Discount</strong>, 84% of resources were correctly tagged, but 16% still required corrections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9ZnTac9qOhz0VMWJKtiPnQ.png" /><figcaption>Tagging Status Before-After Automated Tagging</figcaption></figure><p>After the automated tagging system was applied, the accuracy reached <strong>100%</strong> across all three categories, with all resources properly tagged for <strong>Account Name</strong>, <strong>Environment</strong>, and <strong>MAP Discount</strong>. This demonstrates the effectiveness of automation in achieving full compliance with tagging policies, leading to more efficient cost management and ensuring full utilization of AWS MAP discounts.</p><p>Automating tagging validation and execution is a critical step in ensuring businesses fully benefit from AWS MAP discounts. With proper tagging in place, organizations can optimize their cloud spend, reduce manual overhead, and ensure continuous compliance with AWS cost-saving programs. As cloud environments grow in complexity, automated solutions like these will be key to maximizing savings and maintaining governance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7c1fd602df3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/life-at-telkomsel/improving-tagging-governance-and-maximizing-aws-map-discounts-with-automated-tagging-validation-e7c1fd602df3">Improving Tagging Governance and Maximizing AWS MAP Discounts with Automated Tagging Validation &amp;…</a> was originally published in <a href="https://medium.com/life-at-telkomsel">Life at Telkomsel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How a Centralized Scanning System Can Slash Your AWS Cloud Costs]]></title>
            <link>https://medium.com/life-at-telkomsel/how-a-centralized-scanning-system-can-slash-your-aws-cloud-costs-eff508010421?source=rss-86992eddf356------2</link>
            <guid isPermaLink="false">https://medium.com/p/eff508010421</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <dc:creator><![CDATA[Dwiki Kurnia]]></dc:creator>
            <pubDate>Tue, 08 Oct 2024 07:25:13 GMT</pubDate>
            <atom:updated>2024-10-08T08:04:32.318Z</atom:updated>
            <content:encoded><![CDATA[<p>Cloud providers like AWS provide businesses with the flexibility and scalability needed to drive innovation and growth. However, managing cloud costs effectively remains a challenge, particularly when multiple teams or departments are involved. In many organizations, manual checking of cloud resources by individual teams can lead to inefficiencies and errors. This article explores how centralizing the validation process, can help optimize costs and streamline operations in AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lEkjCvfDxPDv8WkOsqbonw.png" /></figure><p><strong>The Problem with Manual Checking</strong></p><p>In organizations where cloud resources are managed by different teams, each team often uses manual processes to ensure their resources are correctly configured and optimized. This manual approach can present several challenges:</p><ol><li><strong>Human Error</strong>: Manual processes are prone to mistakes. Without automation, there’s a higher risk of misconfigurations, overlooked optimizations, or inaccurate cost tracking.</li><li><strong>Inefficiency</strong>: Manually checking and validating resources is time-consuming. Teams may spend considerable effort reviewing resource usage, often leading to delays in identifying and addressing cost inefficiencies.</li><li><strong>Operational Complexity</strong>: With each team following its own manual procedures, there’s a lack of standardized processes across the organization. This can make it difficult for the Cloud Financial Management team to perform effective audits and cost optimizations.</li></ol><p><strong>Centralized Scanning System Architecture</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cd_z3OPdJ8Qi7GYmREfMEQ.png" /><figcaption>Centralized Scanning System Architecture</figcaption></figure><p>A centralized scanning system integrates various components to streamline data processing and user interaction. At its core, AWS Lambda functions handle data and Telegram processing, while an RDS PostgreSQL database stores the processed data. Users interact with the system through a Telegram Bot, with requests managed by an API Gateway Webhook. For monitoring and visualization, Grafana dashboards provide real-time insights into system performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QM40Lt_P2UoXml6TX04_ew.png" /><figcaption>Example of Centralized Scanning System Dashboard</figcaption></figure><p>The results from the centralized scanning system provide a clear overview of the status of various components, such as GP2, S3 Lifecycle, etc. across different accounts. This centralized status check helps in efficiently managing and monitoring the system’s performance and ensuring all necessary features are enabled or addressed.</p><p><strong>The Benefits of Centralized Validation in AWS</strong></p><p>Centralizing the validation process involves consolidating the management and verification of cloud resources under a unified, organization-wide approach. This strategy offers several key benefits:</p><ol><li><strong>Enhanced Accuracy</strong>: Centralized validation reduces the reliance on manual checks, thereby minimizing the risk of human error. This leads to more accurate resource configurations and better cost management.</li><li><strong>Operational Efficiency</strong>: By centralizing the validation process, the organization can streamline operations. The Cloud Financial Management team can oversee the entire process, ensuring that all resources are validated consistently and efficiently.</li><li><strong>Simplified Auditing</strong>: With a centralized system, the Cloud Financial Management team can more easily audit cloud resources. Standardized processes across teams lead to clearer insights and more effective cost optimization strategies.</li></ol><p><strong>Conclusion</strong></p><p>Managing cloud costs in AWS can be challenging, especially when relying on manual processes. By centralizing the validation process and leveraging the expertise of a dedicated Cloud Financial Management team, organizations can achieve more accurate, efficient, and cost-effective cloud operations. If your organization is struggling with inefficiencies and errors in cloud resource validation &amp; cloud cost management, centralizing your validation process might be the solution you need.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eff508010421" width="1" height="1" alt=""><hr><p><a href="https://medium.com/life-at-telkomsel/how-a-centralized-scanning-system-can-slash-your-aws-cloud-costs-eff508010421">How a Centralized Scanning System Can Slash Your AWS Cloud Costs</a> was originally published in <a href="https://medium.com/life-at-telkomsel">Life at Telkomsel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enhancing Awareness and Optimizing Cloud Costs through Cloud Auto Management Reporting and…]]></title>
            <link>https://medium.com/life-at-telkomsel/enhancing-awareness-and-optimizing-cloud-costs-through-cloud-auto-management-reporting-and-08a78a6055e0?source=rss-86992eddf356------2</link>
            <guid isPermaLink="false">https://medium.com/p/08a78a6055e0</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[finops]]></category>
            <dc:creator><![CDATA[Dwiki Kurnia]]></dc:creator>
            <pubDate>Tue, 06 Feb 2024 10:47:18 GMT</pubDate>
            <atom:updated>2024-02-06T12:51:31.241Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z1KcUH40TZOdbvWYZMn-XQ.png" /></figure><h3>Enhancing Awareness and Optimizing Cloud Infrastructure Costs through Cloud Auto Management Reporting and Analytics.</h3><p>For small organizations, monitoring, cost awareness, and cost optimization might be easy tasks. However, this is not the case for large organizations with dispersed accounts and applications. Sometimes, we are unaware of what is happening, both in terms of usage and cost. Additionally, we need to identify what can be done for cost optimization. With the advent of Cloud Auto Management Reporting and Analytics, we are excited to introduce a transformative approach to this pain point.</p><p>We combine several AWS services to generate this solution, utilizing <strong>AWS Lambda</strong> with the Serverless Application Model, <strong>Amazon RDS</strong>, <strong>Athena</strong>, <strong>S3</strong>, and <strong>CloudWatch Synthetics</strong>. The sources we utilize include <strong>AWS Cost &amp; Usage Report</strong> for cloud cost and <strong>CloudWatch Metric</strong> for several metrics that need consideration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Gp1JKEvCY77rucvaUURfg.png" /><figcaption>High-Level Architecture Cloud Auto Management Reporting and Analytics</figcaption></figure><p>Implementing Cloud Auto Management Reporting and Analytics brings some benefits:</p><p>1. <strong>Knowing trend cost usage and traffic: </strong>Gain insights into cost trends and traffic patterns over time, allowing for better forecasting and the right decisions.</p><p>2. <strong>Improving awareness of Cloud Cost usage to be optimized:</strong> Enhance understanding of cloud cost usage and identify areas where optimization can lead to cost savings, ultimately improving cost efficiency.</p><p>3. <strong>Flexibility in Analytics and Visualization, Possible Advanced Analytics Implementation:</strong> Enjoy the flexibility of analyzing and visualizing data in various ways, with the potential to implement advanced analytics techniques for deeper insights and optimization strategies.</p><p>4. <strong>Connect other Accounts with no Cost:</strong> Seamlessly integrate additional accounts at no extra cost, providing a comprehensive view of cloud usage across the organization without incurring additional expenses.</p><p>5. <strong>Possible to integrate with Cloud Observability:</strong> Integrate with cloud observability tools to enhance monitoring capabilities and gain insight.</p><p>6. <strong>Easy to read on both mobile and desktop devices:</strong> Access reports and analytics effortlessly on both mobile and desktop devices, ensuring convenience and accessibility for users across different platforms and locations.</p><p>Below is a sample of the data visualization and Telegram broadcast output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wXyGYTBuBDfsCjQtTRXznA.png" /><figcaption>Sample Data Visualization &amp; Telegram Broadcast Output (Blurred edition)</figcaption></figure><p><strong>Executive Summary Weekly &amp; Monthly Cost and Traffic ALB &amp; CloudFront:</strong></p><ul><li>This section provides a concise overview of the weekly and monthly costs and traffic of Application Load Balancers (ALB) and CloudFront. It highlights any notable trends or fluctuations using a red &amp; green background.</li></ul><p><strong>Top Cost &amp; Bottom Contributor Weekly &amp; Monthly:</strong></p><ul><li>Here, you will find insights into the top contributors to costs as well as the bottom performers, both on a weekly and monthly basis. This helps prioritize optimization efforts and identify areas for potential cost savings, as well as being aware of the contributor.</li></ul><p><strong>Top Product Cost Weekly &amp; Monthly:</strong></p><ul><li>This section outlines the products or services that incur the highest costs on a weekly and monthly basis.</li></ul><p>The dashboard is captured by using Selenium, and the picture is automatically sent to Telegram. Additionally, an auto-generated text summary is provided based on trends and growth for AWS services and accounts that require attention. This approach streamlines the process of monitoring and managing cloud resources, facilitating informed decision-making and cost-optimization strategies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wrq7x7Pl9rb0I18V9UcJTw.png" /><figcaption>OpenAI API Integration with Cloud Cost</figcaption></figure><p>Another feature, users can interact with the bot using natural language, just as they would with another human. The bot leverages AI capabilities to generate new insights from provided data. For example, if a user asks about trends in their cloud spending over the past few months, the bot can analyze the data and provide insights such as identifying top cost growth or highlighting areas that need to be considered.</p><p>Lastly, this solution relies on the user. If users can use these tools effectively, it can make a big difference. But if users don’t keep an eye on things, it would not help much.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=08a78a6055e0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/life-at-telkomsel/enhancing-awareness-and-optimizing-cloud-costs-through-cloud-auto-management-reporting-and-08a78a6055e0">Enhancing Awareness and Optimizing Cloud Costs through Cloud Auto Management Reporting and…</a> was originally published in <a href="https://medium.com/life-at-telkomsel">Life at Telkomsel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Finding Nearest & Distance Neighbor using KNN Ball Tree]]></title>
            <link>https://medium.com/@dwikikurnia/finding-nearest-distance-neighbor-using-knn-ball-tree-7388efd836a6?source=rss-86992eddf356------2</link>
            <guid isPermaLink="false">https://medium.com/p/7388efd836a6</guid>
            <category><![CDATA[knn]]></category>
            <category><![CDATA[knn-ball-tree]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[nearest-neighbors]]></category>
            <dc:creator><![CDATA[Dwiki Kurnia]]></dc:creator>
            <pubDate>Mon, 26 Sep 2022 04:10:26 GMT</pubDate>
            <atom:updated>2023-07-25T11:01:11.896Z</atom:updated>
            <content:encoded><![CDATA[<p>On this first occasion, I will share a way to obtain the location and nearest distance from a specific point using simple Machine Learning KNN Ball Tree. Nearest Neighbor is useful for conducting surrounding analytics to gain more granular insights. There are several methods to obtain the location and nearest distance, one of which involves using MapInfo tools. However, there are drawbacks to using MapInfo, such as requiring 30 minutes with around 5000 locations and manual processing. This drawback can be overcome by using Python Programming, which takes about 1 minute of processing time and utilizes automatic processing.</p><p>In this case, I will be using the following sample data. The data is assumed to be the location points of markets in a specific area.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*X3KWriwMVRSPilekMPSZPQ.png" /><figcaption>Gambar 1. Sample Data Market</figcaption></figure><p>There are 10 markets in this sample case, and we are looking to find the 5 nearest points between one market and another. This data is stored in the file <em>data.csv</em>.</p><p>Step 1, import the BallTree, Pandas, and NumPy packages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*EGWlKySZcnEM85hLNGIDIQ.png" /></figure><p>Step 2, read the data frame using pd.read_csv(&#39;data.csv&#39;).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*ChclWLRHIQzFxs7AURbP5w.jpeg" /></figure><p>Step 3, set the value of k as the number of nearest points to be retrieved. Then, run the KNN Ball Tree using the BallTree package.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xiadKypsKXRoAnlOxskq_Q.png" /></figure><p>Step 4, insert the results of the KNN Ball Tree into a column in the data frame.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aFeeJ0eF3A9CB46Z5EXXzw.png" /></figure><p>Finish, the results are displayed in meters. Next, this data will be very beneficial for conducting surrounding analytics and can be done with automatic updates. Good luck with your implementation!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fcB8vkhEvkcp8jzlU54vfg.jpeg" /></figure><p>Final Code :</p><pre><em>from</em> sklearn.neighbors <em>import</em> BallTree<br><em>import</em> pandas <em>as</em> pd<br><em>import</em> numpy <em>as</em> np</pre><pre>df = pd.read_csv(&#39;data.csv&#39;)</pre><pre><em># k number nearest neighbor<br></em>k_number = 5</pre><pre><em># Running KNN Ball Tre</em>e<br>tree = BallTree(np.deg2rad(df[[&#39;Latitude&#39;, &#39;Longitude&#39;]].values), <em>metric</em>=&#39;haversine&#39;)</pre><pre>distances, indices = tree.query(np.deg2rad(np.c_[df[&#39;Latitude&#39;], df[&#39;Longitude&#39;]]), <em>k</em> = k_number+1)</pre><pre><em># multiplier to convert to km (from unit distance)<br></em>r_m = 1000*6371</pre><pre>neighbor_1 = []<br>neighbor_2 = []<br>neighbor_3 = []<br>neighbor_4 = []<br>neighbor_5 = []<br>distance_neighbor_1 = []<br>distance_neighbor_2 = []<br>distance_neighbor_3 = []<br>distance_neighbor_4 = []<br>distance_neighbor_5 = []</pre><pre><em>for</em> name, d, ind <em>in</em> zip(df[&#39;MartName&#39;], distances, indices):<br>neighbor_1.append(df[&#39;MartName&#39;][ind[1]])<br>neighbor_2.append(df[&#39;MartName&#39;][ind[2]])<br>neighbor_3.append(df[&#39;MartName&#39;][ind[3]])<br>neighbor_4.append(df[&#39;MartName&#39;][ind[4]])<br>neighbor_5.append(df[&#39;MartName&#39;][ind[5]])<br>distance_neighbor_1.append(d[1]*r_m)<br>distance_neighbor_2.append(d[2]*r_m)<br>distance_neighbor_3.append(d[3]*r_m)<br>distance_neighbor_4.append(d[4]*r_m)<br>distance_neighbor_5.append(d[5]*r_m)</pre><pre>df[&#39;neighbor_1&#39;] = neighbor_1<br>df[&#39;distance_1&#39;] = distance_neighbor_1<br>df[&#39;neighbor_2&#39;] = neighbor_2<br>df[&#39;distance_2&#39;] = distance_neighbor_2<br>df[&#39;neighbor_3&#39;] = neighbor_3<br>df[&#39;distance_3&#39;] = distance_neighbor_3<br>df[&#39;neighbor_4&#39;] = neighbor_4<br>df[&#39;distance_4&#39;] = distance_neighbor_4<br>df[&#39;neighbor_5&#39;] = neighbor_5<br>df[&#39;distance_5&#39;] = distance_neighbor_5</pre><pre># print result<br>print(df)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7388efd836a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>