<?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 Guide Cloud DevOps with Suyog on Medium]]></title>
        <description><![CDATA[Stories by Guide Cloud DevOps with Suyog on Medium]]></description>
        <link>https://medium.com/@guideclouddevops?source=rss-c6daf7408a53------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ycbtoi9KaCIoa0lr</url>
            <title>Stories by Guide Cloud DevOps with Suyog on Medium</title>
            <link>https://medium.com/@guideclouddevops?source=rss-c6daf7408a53------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 10:14:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@guideclouddevops/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[Bedrock Billing Demystified: Tag, Track, and Chargeback in 30 Minutes]]></title>
            <link>https://blog.devops.dev/bedrock-billing-demystified-tag-track-and-chargeback-in-30-minutes-fa885a08f820?source=rss-c6daf7408a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa885a08f820</guid>
            <category><![CDATA[finops]]></category>
            <category><![CDATA[cost]]></category>
            <category><![CDATA[aws-bedrock]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Guide Cloud DevOps with Suyog]]></dc:creator>
            <pubDate>Sun, 24 May 2026 02:39:12 GMT</pubDate>
            <atom:updated>2026-05-26T08:19:07.138Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Di9RSXh9Lda0mf09sk4Y1A.png" /></figure><p>Many teams start experimenting with Amazon Web Services services like Amazon Bedrock using different foundation models, testing prompts, integrating applications, and suddenly realize:</p><ul><li>Token usage is growing fast</li><li>Multiple teams are invoking expensive models</li><li>Developers are using unrestricted foundation model IDs</li><li>There is no visibility into “who used what”</li></ul><p>This is one of the biggest real-world challenges in enterprise AI adoption.</p><p>In this blog, we will learn:</p><ul><li>How to track Amazon Bedrock model cost properly</li><li>How to monitor token usage</li><li>How to enable invocation logging</li><li>How to restrict API access to only approved models</li><li>Prevent Direct Foundation Model Usage by leveraging Application Inference Profiles</li><li>IAM best practices for enterprise-grade governance</li></ul><h3>Understanding the Real Problem</h3><p>By default, if a user or application has broad Bedrock permissions like:</p><pre>&quot;Action&quot;: &quot;bedrock:InvokeModel&quot;,<br>&quot;Resource&quot;: &quot;*&quot;</pre><p>Application can invoke almost any enabled foundation model that means developers might accidentally use expensive models, Invoke unsupported models, Generate uncontrolled token consumption, Bypass governance rules.</p><p><strong>In enterprise environments, this becomes dangerous from both:</strong></p><ul><li>Cost perspective</li><li>Security and compliance perspective</li></ul><h4><strong>How Amazon Bedrock Pricing Actually Works</strong></h4><p>Amazon Bedrock pricing is primarily based on:</p><ul><li>Input tokens</li><li>Output tokens</li><li>Selected foundation model</li><li>Throughput type</li></ul><p>Different models have completely different pricing structures. Some advanced models cost significantly more per million tokens.</p><p>For example:</p><ul><li>Claude models</li><li>Titan models</li><li>Llama models</li><li>Mistral models</li></ul><p>all have different pricing behavior.</p><p>This is why blindly allowing model access is risky.</p><h3>Enable Model Invocation Logging</h3><p>The first thing every organization should do is enable Bedrock Model Invocation Logging. AWS officially recommends enabling invocation logging for observability and governance.</p><p>Invocation logging helps capture:</p><ul><li>Model used</li><li>Input tokens</li><li>Output tokens</li><li>Invocation timestamps</li><li>Request metadata</li><li>Response metadata</li><li>Errors and latency</li></ul><p>You can send logs to:</p><ul><li>CloudWatch Logs</li><li>Amazon S3</li><li>Or both</li></ul><p>Official AWS documentation:<br> <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-invocation-logging.html">Amazon Bedrock Invocation Logging Docs</a></p><h3>Why This Logging Is Extremely Important</h3><p>Without logs, organizations cannot answer questions like:</p><ul><li>Which team consumed the most tokens?</li><li>Which application is generating high cost?</li><li>Which model is used most frequently?</li><li>Are developers using unauthorized models?</li><li>Which prompts are failing?</li><li>Which model has high latency?</li></ul><p>This becomes critical during:</p><ul><li>FinOps reviews</li><li>Security audits</li><li>AI governance reviews</li><li>Cost optimization exercises</li></ul><h3>Use CloudWatch Metrics for Token Tracking</h3><p>Amazon Bedrock integrates with Amazon CloudWatch to expose observability metrics. Important metrics include:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/214/1*o1wgHB-ADP6U_wwIBlPARg.png" /></figure><p>These metrics allow teams to:</p><ul><li>Build dashboards</li><li>Set billing alarms</li><li>Create anomaly detection</li><li>Monitor expensive applications</li></ul><h3>Use Cost Allocation Tags</h3><p>AWS officially recommends tagging for Bedrock cost management. You can create tags like:</p><pre>Project=AI-Search<br>Environment=Production<br>Team=Platform<br>Application=GenAI-Assistant</pre><p>Then activate them in:</p><ul><li>AWS Billing Console</li><li>Cost Explorer</li></ul><p>This allows organizations to:</p><ul><li>Track Bedrock spending per team</li><li>Generate reports</li><li>Create internal chargebacks</li><li>Analyze AI spending trends</li></ul><h3>Restrict Access to Specific Foundation Models</h3><p>Now comes the most important security practice. Instead of allowing access to every model:</p><pre>&quot;Resource&quot;: &quot;*&quot;</pre><p>Use explicit model-level restrictions. AWS officially supports IAM-based model restrictions.</p><p><a href="https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html">https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html</a></p><h3>Allow Only Approved Models</h3><p>Suppose your organization only approves:</p><ul><li>Claude Sonnet</li><li>Titan Text</li></ul><p>You can create an IAM policy like this:</p><pre>{<br>  &quot;Version&quot;: &quot;2012-10-17&quot;,<br>  &quot;Statement&quot;: [<br>    {<br>      &quot;Effect&quot;: &quot;Allow&quot;,<br>      &quot;Action&quot;: [<br>        &quot;bedrock:InvokeModel&quot;<br>      ],<br>      &quot;Resource&quot;: [<br>        &quot;arn:aws:bedrock:*::foundation-model/anthropic.claude-3-sonnet*&quot;,<br>        &quot;arn:aws:bedrock:*::foundation-model/amazon.titan-text*&quot;<br>      ]<br>    }<br>  ]<br>}</pre><h3>Prevent Direct Foundation Model Usage by leveraging Application Inference Profiles</h3><p>One of the biggest real-world challenges in enterprise AI adoption appears when multiple applications start using the same foundation model in Amazon Bedrock. At the beginning, teams usually allow applications to directly invoke a model like Claude Sonnet because it looks simple and fast to implement. However, as more projects begin using the same model, organizations slowly lose visibility into which application is actually generating the Bedrock cost.</p><p>For example, imagine an organization has multiple applications such as an AI chatbot, internal enterprise search, analytics platform, and HR assistant. All these applications are using the same Claude Sonnet model. If every application directly invokes the foundation model ID, then all token consumption gets merged together inside the billing and monitoring layer. AWS may show the total Claude Sonnet usage, but it becomes extremely difficult to identify which project generated the highest token usage or which application caused the sudden increase in spending.</p><p>This creates major problems for both engineering and finance teams. Engineering teams cannot identify inefficient applications, and finance teams cannot perform proper project-level chargeback or cost attribution. If one application starts sending very large prompts or enters an accidental retry loop, the Bedrock bill may suddenly spike, but tracing the root cause becomes difficult because all projects are sharing the same foundation model endpoint.</p><p>This is exactly where Application Inference Profiles become extremely useful. Instead of allowing every application to directly invoke the foundation model, organizations create dedicated inference profiles for each application while still using the same backend model internally. For example, the chatbot application may use a profile named chatbot-prod-profile, the analytics platform may use analytics-prod-profile, and the search application may use search-prod-profile. Although all these profiles still point to the same Claude Sonnet model behind the scenes, AWS now tracks invocation metrics separately for each profile.</p><p>Because every application uses its own dedicated inference profile, organizations gain much better visibility into token usage, invocation count, latency, and overall cost. Instead of seeing one combined Bedrock bill, teams can now clearly identify how much cost was generated by each individual application. This becomes extremely valuable for FinOps discussions, budgeting exercises, and optimization initiatives. If the analytics platform is consuming significantly more tokens than expected, teams can immediately detect it and optimize prompts, retry logic, or model usage patterns.</p><p>Another major advantage of Application Inference Profiles is governance and restriction. Mature enterprises usually do not want developers to directly invoke foundation model IDs because that bypasses organizational controls and centralized monitoring. If developers have unrestricted access to foundation models, they may accidentally invoke expensive models, use unapproved models, or bypass tracking mechanisms entirely.</p><p>To prevent this, organizations commonly deny direct access to foundation model ARNs using IAM policies and only allow access to approved inference profiles. This creates a controlled architecture where applications are forced to invoke only their assigned inference profile. As a result, every invocation becomes traceable, auditable, and properly monitored from a governance perspective.</p><p>This architecture also provides long-term operational flexibility. Suppose the organization decides to migrate from Claude Sonnet to another model in the future. If applications directly use foundation model IDs, every application may require configuration or code changes. However, with inference profiles, only the backend profile mapping needs to be updated while applications continue using the same profile name. This abstraction layer significantly simplifies migrations and reduces operational overhead across large environments.</p><p>For this reason, Application Inference Profiles are considered a best practice in enterprise-scale generative AI platforms where multiple projects share the same foundation model and organizations require proper cost segregation, governance, observability, and controlled model access.</p><h3>Explicitly Deny Unauthorized Models</h3><p>This is one of the strongest IAM practices.</p><p>Example:</p><pre>{<br>  &quot;Effect&quot;: &quot;Deny&quot;,<br>  &quot;Action&quot;: [<br>    &quot;bedrock:InvokeModel&quot;<br>  ],<br>  &quot;Resource&quot;: [<br>    &quot;arn:aws:bedrock:*::foundation-model/*&quot;<br>  ]<br>}</pre><p>This prevents users from bypassing governance accidentally.</p><h3>API Key Restriction Strategy</h3><p>If your applications use Bedrock API access, avoid:</p><ul><li>Shared credentials</li><li>Long-term unrestricted IAM users</li><li>Wildcard permissions</li></ul><p>Instead:</p><p>✅ Use IAM roles<br> ✅ Use least privilege<br> ✅ Restrict allowed model IDs<br> ✅ Use temporary credentials<br> ✅ Enable CloudTrail auditing<br> ✅ Route traffic through controlled services</p><h3>Monitor Cost Anomalies</h3><p>A powerful production strategy is combining:</p><ul><li>Bedrock logs</li><li>CloudWatch metrics</li><li>AWS Budgets</li><li>Cost Explorer</li><li>Athena</li><li>QuickSight dashboards</li></ul><p>AWS also published guidance on analyzing Bedrock logs using Athena and QuickSight. This enables:</p><ul><li>Team-wise reporting</li><li>Token analytics</li><li>Prompt usage analysis</li><li>AI governance dashboards</li></ul><h3>Conclusion</h3><p>As organizations rapidly adopt Generative AI, services like Amazon Bedrock make it incredibly easy to experiment, integrate models, and launch AI-powered applications at scale. However, one thing many teams realize very late is that GenAI governance is just as important as GenAI innovation.</p><p>In the beginning, allowing applications to directly invoke foundation models may look simple and convenient, but as multiple teams and projects start sharing the same models, challenges around cost visibility, token tracking, governance, and access control begin growing very quickly. Without proper monitoring and restrictions, organizations can easily lose visibility into which applications are generating cost, which teams are overconsuming tokens, and whether unapproved models are being used inside production environments.</p><p>This is why mature enterprise architectures focus heavily on observability and governance from Day 1. Features like Model Invocation Logging, CloudWatch metrics, Cost Allocation Tags, IAM restrictions, and Application Inference Profiles are not just optional best practices anymore — they are becoming foundational requirements for operating Generative AI platforms responsibly at scale.</p><p>One of the biggest learnings from production AI systems is that token consumption grows silently. A single inefficient prompt design, retry loop, or unrestricted application can unexpectedly increase Bedrock costs within days. Organizations that implement proper tracking, chargeback mechanisms, and inference profile-based governance early are able to scale AI adoption much more confidently while maintaining security, compliance, and financial visibility.</p><p>Amazon Bedrock provides powerful capabilities for building enterprise-grade AI platforms, but long-term success depends on how well organizations balance innovation with governance. Teams that invest early in monitoring, cost attribution, and controlled model access ultimately build more scalable, secure, and operationally mature AI ecosystems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa885a08f820" width="1" height="1" alt=""><hr><p><a href="https://blog.devops.dev/bedrock-billing-demystified-tag-track-and-chargeback-in-30-minutes-fa885a08f820">Bedrock Billing Demystified: Tag, Track, and Chargeback in 30 Minutes</a> was originally published in <a href="https://blog.devops.dev/">DevOps.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon Bedrock: The AI Foundation That’s Powering NatWest Bank’s Digital Transformation]]></title>
            <link>https://blog.devops.dev/amazon-bedrock-the-ai-foundation-thats-powering-natwest-bank-s-digital-transformation-8b0dd5f40d4a?source=rss-c6daf7408a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b0dd5f40d4a</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[bedrock]]></category>
            <category><![CDATA[km]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[sagemaker]]></category>
            <dc:creator><![CDATA[Guide Cloud DevOps with Suyog]]></dc:creator>
            <pubDate>Tue, 23 Dec 2025 22:32:50 GMT</pubDate>
            <atom:updated>2025-12-24T08:47:53.894Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JTmcbpbW5rcISdwlMIg1Ug.png" /></figure><p>Have you ever used ChatGPT and thought, <em>“Wow, imagine if big companies could use something like this safely for their customers”</em>?</p><p>Well, that’s exactly what Amazon <strong>Bedrock</strong> makes possible — and one of the best real-life examples is <strong>NatWest Bank</strong>, one of the UK’s biggest financial institutions.</p><h3>What Exactly Is Amazon Bedrock?</h3><p>In simple terms, <strong>Amazon Bedrock</strong> is a service from <strong>AWS (Amazon Web Services)</strong> that lets businesses use some of the most advanced <strong>AI models</strong> in the world — without needing to build or train them from scratch.</p><p>Normally, creating an AI model like ChatGPT would take:</p><ul><li>Huge amounts of data</li><li>Extremely powerful computers</li><li>And millions of dollars</li></ul><p>Bedrock takes care of all that. It gives you instant access to <strong>pre-trained AI models</strong> (called <strong>foundation models</strong>) built by companies like <strong>Anthropic (Claude)</strong>, <strong>AI21 Labs</strong>, <strong>Meta (Llama)</strong>, and <strong>Amazon (Titan)</strong> — all through one simple API.</p><p>Think of it like Netflix for AI models:<br> — You pick the model you need, plug it into your app, and it just works.</p><p>The best part?<br> Everything runs inside AWS’s secure cloud — so it’s private, scalable, and safe for big organizations like banks, hospitals, or schools.</p><p>Here’s why it truly stands out 👇</p><h3>1. You Don’t Have to Pick Just One Model</h3><p>Most AI platforms make you use <em>their</em> model — like ChatGPT uses GPT models, or Gemini uses Google’s.</p><p>But <strong>Amazon Bedrock</strong> is different. It’s like an <strong>AI marketplace</strong> where you can access <em>multiple top-tier models</em> from different companies through one single service:</p><ul><li><strong>Anthropic’s Claude</strong> → great at reasoning and long context understanding</li><li><strong>AI21 Labs’ Jurassic models</strong> → strong for creative writing and content generation</li><li><strong>Meta’s Llama</strong> → open-source and fast</li><li><strong>Mistral</strong> → small, efficient models for lightweight apps</li><li><strong>Amazon Titan</strong> → trained for enterprise reliability and custom embedding tasks</li></ul><p>🎯 This flexibility means companies can <strong>choose the best model for the job</strong>, or even mix them in the same app.</p><h3>2. Enterprise-Grade Security and Privacy</h3><p>Here’s where Bedrock really wins over most “public” AI tools.</p><p>When you use ChatGPT or similar services, your data is typically sent to external servers (with strict privacy, but still outside your environment).</p><p>With <strong>Bedrock</strong>, all data stays inside <strong>AWS’s cloud infrastructure</strong> — which means:</p><ul><li>No data leaves your organization’s secure boundary.</li><li>Your prompts and results are <strong>not used to retrain</strong> models.</li><li>You can encrypt everything using <strong>AWS Key Management Service (KMS)</strong>.</li></ul><p>This makes it safe enough for <strong>banks, hospitals, and governments</strong> — organizations that can’t take chances with data leaks.</p><h3>3. Customization Without Training From Scratch</h3><p>Most companies don’t have millions of lines of data to train a model from zero.</p><p>Bedrock lets you <strong>customize existing foundation models</strong> easily:</p><ul><li>You can <strong>fine-tune</strong> models with your own data.</li><li>Or use <strong>prompt engineering</strong> and <strong>retrieval-augmented generation (RAG)</strong> to adapt the model’s behavior.</li></ul><p>Example: NatWest didn’t train a model. They used <strong>Claude via Bedrock</strong>, added their internal knowledge base, and instantly had a secure AI assistant.</p><p>That’s the magic of Bedrock — <strong>low effort, high impact.</strong></p><h3>4. Knowledge Bases and Agents</h3><p>This is one of Bedrock’s coolest innovations.</p><h3>🧩 Knowledge Bases</h3><p>Let you connect your AI model to your company’s documents — PDFs, FAQs, databases — so it can “read” them and answer questions using <em>your own data</em>.<br> This is how NatWest’s AI assistant knows every detail about banking policies.</p><h3>⚙️ Agents</h3><p>Bedrock Agents let your AI <strong>take actions</strong>, not just talk.<br> Example: An AI agent could automatically book appointments, send emails, or check your AWS data — all securely, all automated.</p><p>That moves AI from just <strong>conversation</strong> → to <strong>real productivity</strong>.</p><h3>5. Fully Managed and Scalable</h3><p>You don’t need to worry about setting up servers, GPUs, or scaling.</p><p>With Bedrock, AWS handles everything:</p><ul><li>Infrastructure</li><li>Model updates</li><li>Security patches</li><li>Performance optimization</li></ul><p>So whether you’re building a <strong>small prototype</strong> or serving <strong>millions of users</strong>, Bedrock grows with you — just like other AWS services (e.g., S3, Lambda, EC2).</p><h3>6. Perfect for Real-World Companies</h3><p>Here’s the truth: many AI platforms are amazing for demos, but hard to use in real companies.</p><p>Bedrock is built for <strong>production-level business use</strong> — that’s why banks like <strong>NatWest</strong>, retailers like <strong>Cencosud</strong>, and education providers like <strong>Pearson</strong> trust it.</p><p>It connects easily with all AWS tools companies already use:</p><ul><li><strong>Amazon S3</strong> (for storing data)</li><li><strong>SageMaker</strong> (for analytics)</li><li><strong>Lambda</strong> (for automation)</li><li><strong>CloudWatch</strong> (for monitoring)</li></ul><p>That’s why enterprises love it — it fits right into their existing AWS ecosystem.</p><h3>7. Global Infrastructure and Compliance</h3><p>AWS already operates in over <strong>30 regions worldwide</strong>, with compliance certifications for GDPR, HIPAA, and ISO standards.</p><p>That means companies in Europe, Asia, or North America can deploy AI apps locally — meeting data residency laws automatically.</p><h3>The NatWest Story: How a Bank Started Talking Like a Human</h3><p><em>Now, let’s talk about how NatWest used Amazon Bedrock to make life easier for both employees and customers.</em></p><p><em>NatWest handles </em><strong><em>millions of customer interactions</em></strong><em> — people asking about mortgages, loans, fraud issues, and account services. But before Bedrock, the process wasn’t smooth.</em></p><ul><li><em>Customers often waited for responses.</em></li><li><em>Staff had to dig through tons of policy documents.</em></li><li><em>Every answer had to follow </em><strong><em>strict financial regulations</em></strong><em> — no room for mistakes.</em></li></ul><p><em>NatWest needed something that could </em><strong><em>speed up answers</em></strong><em> and </em><strong><em>keep them 100% accurate</em></strong><em>.</em></p><p><em>That’s where </em><strong><em>Amazon Bedrock</em></strong><em> came in.</em></p><h3>How They Built Their AI Assistant with Bedrock</h3><p><em>NatWest used </em><strong><em>Anthropic’s Claude model</em></strong><em> (available inside Bedrock) to build their own </em><strong><em>AI-powered assistant</em></strong><em> for employees.</em></p><p><em>Here’s how it works — step by step:</em></p><h3>1. Feeding It Knowledge</h3><p><em>They uploaded thousands of internal documents — bank policies, loan rules, and compliance manuals — into </em><strong><em>Amazon S3</em></strong><em>, AWS’s secure data storage.</em></p><p><em>Then they used </em><strong><em>Bedrock’s Knowledge Bases feature</em></strong><em> so the AI could “read” and understand all that data.</em></p><p><em>Now when a bank employee asks something like,</em></p><blockquote><em>“What’s our policy on overdraft charges for business customers?”</em></blockquote><p><em>the AI instantly finds the answer from those internal documents — no more searching through endless PDFs.</em></p><h3>2. Making It Sound Human</h3><p><em>NatWest chose the </em><strong><em>Claude model</em></strong><em> because it’s great at long, thoughtful responses.</em></p><p><em>So instead of spitting out robotic answers, the assistant replies in clear, polite, natural English — just like a real colleague would.</em></p><p><em>It even explains things step by step, which helps new employees learn faster.</em></p><h3>3. Keeping It Safe and Private</h3><p><em>Since it’s a bank, security is everything.</em></p><p><em>All data stays inside AWS’s protected environment.<br> It’s encrypted using </em><strong><em>AWS Key Management Service (KMS)</em></strong><em>, and nothing ever leaves the bank’s system.</em></p><p><em>That means customers’ private details are 100% safe — and everything stays within financial compliance rules.</em></p><h3><strong>Conclusion</strong></h3><p><strong><em>Amazon Bedrock</em></strong><em> stands out as a powerful yet practical platform that brings the best AI models together under one secure and easy-to-use system. It’s designed not just for developers, but for real-world organizations that need safe, scalable, and customizable AI solutions. NatWest’s success story shows how quickly Bedrock can turn complex challenges into smart, reliable tools. By combining flexibility, security, and simplicity, Bedrock proves that enterprise AI can be both </em><strong><em>innovative and responsible</em></strong><em>. It’s not just the future of AI — it’s the foundation businesses are already building on today.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b0dd5f40d4a" width="1" height="1" alt=""><hr><p><a href="https://blog.devops.dev/amazon-bedrock-the-ai-foundation-thats-powering-natwest-bank-s-digital-transformation-8b0dd5f40d4a">Amazon Bedrock: The AI Foundation That’s Powering NatWest Bank’s Digital Transformation</a> was originally published in <a href="https://blog.devops.dev/">DevOps.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Amazon ECS: Newcomer’s Guide]]></title>
            <link>https://blog.devops.dev/understanding-amazon-ecs-newcomers-guide-cee18933a844?source=rss-c6daf7408a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/cee18933a844</guid>
            <category><![CDATA[aws-eks]]></category>
            <category><![CDATA[aws-ecs]]></category>
            <category><![CDATA[expedia]]></category>
            <dc:creator><![CDATA[Guide Cloud DevOps with Suyog]]></dc:creator>
            <pubDate>Sun, 26 Oct 2025 21:57:32 GMT</pubDate>
            <atom:updated>2025-10-27T13:10:26.544Z</atom:updated>
            <content:encoded><![CDATA[<p>Think of ECS as a smart conductor that manages a huge orchestra of containers (small units of application code packaged with everything it needs). You just tell ECS what containers to run, how many, and where, and it handles launching, scaling, networking, and health-checking those containers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t1aZ9-CodUGoETQG.png" /></figure><p>Amazon ECS is built on a highly scalable and reliable architecture that abstracts container orchestration complexities. Key components include:</p><ul><li>Clusters: Logical grouping of container instances (EC2) or serverless resources (Fargate). Clusters provide isolation and resource management boundaries.</li><li>Task Definitions: Blueprint defining container images, CPU, memory, port mappings, environment variables, and IAM roles at task level.</li><li>Tasks and Services: Tasks are instantiations of task definitions, while services ensure desired task count, manage deployment strategies (rolling updates, blue/green), and integrate with Elastic Load Balancing.</li><li>Schedulers: ECS schedulers decide where tasks run based on resource availability, task placement strategies, and constraints.</li><li>Networking: ECS supports multiple networking modes; awsvpc gives tasks individual ENIs for fine-grained network security while bridge and host modes provide legacy compatibility.</li></ul><h3>Features Often Missed by DevOps Engineers</h3><ol><li>Task Placement Strategies &amp; Constraints: Many focus on deploying containers but miss how to optimize placement of tasks across clusters, reducing costs and increasing availability using strategies like binpack, spread, and custom constraints.</li><li>Service Auto Scaling with Target Tracking: Auto scaling is often seen as basic, but ECS integrates deeply with CloudWatch metrics enabling fine-grained scaling of services based on custom metrics, not just CPU or memory.</li><li>ECS Capacity Providers: Allow dynamic switching between EC2 and Fargate resources, giving flexibility to optimize based on workload or cost.</li><li>Task Networking (awsvpc Mode): Offers each task its own Elastic Network Interface (ENI), improving security and network control, often overlooked compared to older bridge mode.</li><li>Integration with CloudWatch Logs and AWS X-Ray: Enables advanced monitoring, tracing, and debugging within ECS environments, improving observability.</li></ol><h3>ECS Best Practices</h3><ul><li>Use Fargate for serverless container deployments where managing infrastructure is not required.</li><li>Define task resource limits (CPU and memory) precisely to avoid over-provisioning or throttling.</li><li>Implement CI/CD pipelines integrating ECS with CodePipeline/CodeBuild or Jenkins for automated container updates.</li><li>Use official AWS CLI &amp; SDKs to manage ECS programmatically and automate deployments.</li><li>Enable task IAM roles to grant minimum permissions required for the containers.</li><li>Configure health checks and circuit breakers to keep services resilient.</li><li>Use Service Discovery with Route 53 for dynamic container endpoint resolution within a microservice architecture.</li></ul><h3>Case Study: Expedia Group — Travel Industry</h3><p>Expedia Group, a global leader in travel technology, leverages Amazon ECS to run its large-scale microservices architecture that powers various travel booking platforms.</p><h3>Key Benefits and Outcomes:</h3><ul><li>Simplified Container Management: Expedia migrated hundreds of microservices to ECS, enabling consistent deployment and management across multiple AWS regions.</li><li>Cost Efficiency: By using a combination of EC2 and Fargate launch types with Spot Instances, Expedia optimized infrastructure cost while maintaining high availability.</li><li>Scalability: ECS enabled seamless scaling during peak travel seasons, handling sudden spikes in user traffic without downtime.</li><li>Improved Developer Productivity: Developers could focus on building features instead of managing infrastructure, thanks to ECS integrations with CI/CD pipelines.</li><li>Security and Compliance: Task IAM roles and network isolation with awsvpc mode maintained strong security posture compliant with industry regulations.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GTw4wptXA59QEC2i.png" /></figure><h3>Conclusion</h3><p>Mastering Amazon ECS opens a gateway to efficient, scalable, and secure containerized application deployment on the cloud. Beyond simplifying container orchestration, ECS empowers teams to innovate faster by removing infrastructure headaches and enhancing operational agility. By leveraging its advanced features — like dynamic task placement, fine-grained security controls, and flexible compute options — organizations across industries can tailor their cloud strategies to meet evolving demands. Real-world successes, from fintech pioneers to global travel platforms, demonstrate ECS’s versatility in solving complex challenges while optimizing cost and performance. As cloud-native technologies continue to evolve, gaining proficiency in ECS will be an invaluable asset for anyone looking to build resilient and future-ready applications in the AWS ecosystem.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cee18933a844" width="1" height="1" alt=""><hr><p><a href="https://blog.devops.dev/understanding-amazon-ecs-newcomers-guide-cee18933a844">Understanding Amazon ECS: Newcomer’s Guide</a> was originally published in <a href="https://blog.devops.dev/">DevOps.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[YAML and Industry Based Scenarios]]></title>
            <link>https://blog.devops.dev/yaml-and-industry-based-scenarios-67e63249b245?source=rss-c6daf7408a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/67e63249b245</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[yaml]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Guide Cloud DevOps with Suyog]]></dc:creator>
            <pubDate>Sat, 24 May 2025 22:01:45 GMT</pubDate>
            <atom:updated>2026-05-26T08:17:38.532Z</atom:updated>
            <content:encoded><![CDATA[<p><em>YAML (YAML Ain’t Markup Language) is a human-readable data serialization format, designed to be easy to write and understand. It’s widely used for configuration files, data exchange, and is a staple in DevOps tooling (Kubernetes, Ansible, Docker Compose, CI/CD pipelines, etc.)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZzeYPJ10bTTCvigq" /></figure><h3><em>Basic Sy</em>ntax and Formatting</h3><p>YAML’s syntax is defined by a few simple rules:</p><p><em>Indentation: Use spaces (not tabs) to denote nesting. Two spaces per level is common. For example, the keys under person: are indented to show they belong to that mapping.</em></p><p><em>Key–Value Pairs: Write mappings as key: value. Keys are usually alphanumeric (use quotes only if needed).</em></p><p><em>Lists: Start list items with a hyphen (-). Each — begins a new element in the sequence.</em></p><p><em>Comments: Precede comments with #. Anything on a line after # is ignored by YAML parsers.</em></p><pre># Basic YAML example<br>Book:<br>  name: Unstoppable<br>  author: Sk-publication<br>  language:<br>    - English<br>    - Hindi</pre><h3>Core Data Types</h3><p><em>YAML natively supports several core data types:</em></p><p><em>Scalars: These include strings, integers, floats, booleans, and nulls. YAML usually auto-detects types:</em></p><p><em>Strings: Plain (unquoted) strings (e.g. title: Hello), or quoted with “ or ‘ for special characters. Escape sequences (like \n) work in double-quoted strings.</em></p><p><em>Numbers: Integers (age: 42) and floats (pi: 3.14159) are written without quotes.</em></p><p><em>Booleans: Represented as true/false (lowercase).</em></p><p><em>Null: Use null or ~ to denote a null value.</em></p><p><em>Sequences (Lists): Ordered collections denoted by — entries. E.g.:</em></p><pre>#Sample Code<br>app:<br>  name: MyApp<br>  version: 1.0<br>  active: true<br>  description: &quot;A sample YAML file&quot;<br>  nullable_field: ~<br>  tags:<br>    - backend<br>    - production<br>  limits:<br>    cpu: 2<br>    memory: 512</pre><h4>🔹 List of Maps</h4><pre>employees:<br>  - name: John<br>    role: Developer<br>  - name: Jane<br>    role: Manager</pre><h3>Advanced Features</h3><h4>🔁 1. Anchors (&amp;) and Aliases (*) — Reuse Code Without Rewriting</h4><p><em>YAML lets you reuse parts of your configuration to avoid repeating the same data again and again.</em></p><pre>defaults: &amp;default_settings<br>  retries: 3<br>  timeout: 30<br>service1:<br>  &lt;&lt;: *default_settings<br>  host: example.com</pre><ul><li>&amp;default_settings: Creates an anchor named default_settings.</li><li>*default_settings: References the anchor.</li><li>&lt;&lt;: *default_settings: Merges the key-values into service1.</li></ul><p>Why use this?<br>To keep your YAML DRY (Don’t Repeat Yourself) and more maintainable.</p><h4>🧾 2. Multi-line Strings — Write Big Text Blocks</h4><p><em>If you need to include logs, descriptions, or other long texts, YAML supports two styles:</em></p><h4>Literal Style (|) — Keeps New Lines</h4><pre>note: |<br>  This is a multiline<br>  string in literal style.</pre><p>Output keeps line breaks as written.</p><h4>Folded Style (&gt;) — Joins Lines with Spaces</h4><pre>summary: &gt;<br>  This is a folded<br>  style multiline string.</pre><p>Output becomes: This is a folded style multiline string.</p><p>When to use:</p><ul><li>Use | when formatting matters (e.g., logs)</li><li>Use &gt; for paragraphs or messages</li></ul><h4>🧩 3. Complex/Nested Structures — Real-World Format</h4><p>YAML supports nested data like lists inside maps and vice versa.</p><pre>services:<br>  - name: web<br>    replicas: 2<br>    ports:<br>      - containerPort: 80<br>  - name: db<br>    replicas: 1<br>    ports:<br>      - containerPort: 5432</pre><ul><li>services is a list.</li><li>Each item is a map with its own keys.</li><li>Inside each service, you can nest deeper (e.g., ports).</li></ul><p>Use Case: Common in Kubernetes, Docker Compose, and Ansible.</p><h4>🧱 4. Block vs Flow Style — Two Ways to Write the Same Thing</h4><h4>Block Style (preferred):</h4><pre>colors:<br>  - red<br>  - green<br>  - blue<br>user:<br>  name: Alice<br>  age: 30</pre><h4>Flow Style (compact):</h4><pre>colors: [red, green, blue]<br>user: { name: &quot;Alice&quot;, age: 30 }</pre><ul><li>Block style is easier to read.</li><li>Flow style is shorter, useful for small/inline data.</li></ul><h4>5. Multiple YAML Documents in One File</h4><p>You can include more than one YAML document in a single file using --- to separate them.</p><pre># Document 1<br>---<br>name: Document1<br>value: 123<br><br># Document 2<br>---<br>name: Document2<br>value: 456<br>...</pre><ul><li>--- starts a new document</li><li>... ends a document (optional)</li></ul><p>Use Case: Kubernetes multi-resource files, CI/CD workflows</p><h3>Scenarios used in Industry level projects</h3><p>This section extends your YAML knowledge with real-world, advanced scenarios used in production environments, covering tools like Kubernetes, Helm, GitHub Actions, Ansible, Docker Compose, and CI/CD workflows.</p><h4>🚢 1. Kubernetes: Multi-Resource Configuration</h4><h4>🧩 Deployment + Service + ConfigMap + Secret</h4><pre># configmap.yaml<br>apiVersion: v1<br>kind: ConfigMap<br>metadata:<br>  name: app-config<br>data:<br>  APP_MODE: production<br>  APP_TIMEOUT: &quot;30&quot;<br><br>---<br><br># secret.yaml<br>apiVersion: v1<br>kind: Secret<br>metadata:<br>  name: app-secret<br>type: Opaque<br>data:<br>  DB_PASSWORD: c3VwZXJzZWNyZXQ=  # base64 encoded<br><br>---<br><br># deployment.yaml<br>apiVersion: apps/v1<br>kind: Deployment<br>metadata:<br>  name: web-app<br>spec:<br>  replicas: 3<br>  selector:<br>    matchLabels:<br>      app: web<br>  template:<br>    metadata:<br>      labels:<br>        app: web<br>    spec:<br>      containers:<br>        - name: app-container<br>          image: myapp:v1<br>          envFrom:<br>            - configMapRef:<br>                name: app-config<br>            - secretRef:<br>                name: app-secret<br>          ports:<br>            - containerPort: 80<br><br>---<br><br># service.yaml<br>apiVersion: v1<br>kind: Service<br>metadata:<br>  name: web-app-service<br>spec:<br>  type: LoadBalancer<br>  selector:<br>    app: web<br>  ports:<br>    - port: 80<br>      targetPort: 80</pre><h4>2. Helm Chart: Templated YAML for Kubernetes</h4><p>values.yaml</p><pre>replicaCount: 2<br><br>image:<br>  repository: myapp<br>  tag: v1<br><br>service:<br>  type: ClusterIP<br>  port: 80</pre><p>deployment.yaml (Helm template)</p><pre>apiVersion: apps/v1<br>kind: Deployment<br>metadata:<br>  name: {{ include &quot;mychart.fullname&quot; . }}<br>spec:<br>  replicas: {{ .Values.replicaCount }}<br>  template:<br>    spec:<br>      containers:<br>        - name: myapp<br>          image: &quot;{{ .Values.image.repository }}:{{ .Values.image.tag }}&quot;</pre><h4>3. Docker Compose: Multi-Service App with Networks &amp; Volumes</h4><pre>version: &quot;3.8&quot;<br><br>services:<br>  db:<br>    image: postgres:14<br>    environment:<br>      POSTGRES_PASSWORD: example<br>    volumes:<br>      - db_data:/var/lib/postgresql/data<br><br>  app:<br>    build: .<br>    ports:<br>      - &quot;3000:3000&quot;<br>    depends_on:<br>      - db<br>    environment:<br>      DATABASE_URL: postgres://postgres:example@db:5432/mydb<br><br>volumes:<br>  db_data:</pre><h4>4. Ansible Playbook with Variables, Handlers, and Loops</h4><pre>- name: Configure Web Servers<br>  hosts: web<br>  vars:<br>    nginx_ports:<br>      - 80<br>      - 443<br>  tasks:<br>    - name: Install Nginx<br>      apt:<br>        name: nginx<br>        state: present<br><br>    - name: Create custom index.html<br>      copy:<br>        content: &quot;&lt;h1&gt;Welcome!&lt;/h1&gt;&quot;<br>        dest: /var/www/html/index.html<br>      notify: Restart Nginx<br><br>    - name: Open ports<br>      ufw:<br>        rule: allow<br>        port: &quot;{{ item }}&quot;<br>      loop: &quot;{{ nginx_ports }}&quot;<br><br>  handlers:<br>    - name: Restart Nginx<br>      service:<br>        name: nginx<br>        state: restarted</pre><h4>5. GitHub Actions: Matrix Build, Conditional Jobs, and Environments</h4><pre>name: Build and Test<br><br>on: [push, pull_request]<br><br>jobs:<br>  test:<br>    runs-on: ubuntu-latest<br>    strategy:<br>      matrix:<br>        node-version: [14, 16, 18]<br>    steps:<br>      - uses: actions/checkout@v3<br>      - name: Use Node.js ${{ matrix.node-version }}<br>        uses: actions/setup-node@v3<br>        with:<br>          node-version: ${{ matrix.node-version }}<br>      - run: npm ci<br>      - run: npm test<br><br>  deploy:<br>    needs: test<br>    if: github.ref == &#39;refs/heads/main&#39;<br>    runs-on: ubuntu-latest<br>    environment: production<br>    steps:<br>      - name: Deploy to Production<br>        run: ./deploy.sh</pre><h4>6. CI/CD: GitLab CI Example</h4><pre>stages:<br>  - build<br>  - test<br>  - deploy<br><br>build:<br>  stage: build<br>  script:<br>    - echo &quot;Building project&quot;<br><br>test:<br>  stage: test<br>  script:<br>    - echo &quot;Running tests&quot;<br><br>deploy:<br>  stage: deploy<br>  only:<br>    - main<br>  script:<br>    - echo &quot;Deploying to production&quot;</pre><pre>build:<br>  stage: build<br>  script:<br>    - echo &quot;Building project&quot;</pre><pre>test:<br>  stage: test<br>  script:<br>    - echo &quot;Running tests&quot;</pre><pre>deploy:<br>  stage: deploy<br>  only:<br>    - main<br>  script:<br>    - echo &quot;Deploying to production&quot;</pre><h4>7. Monitoring Stack: Prometheus Config in YAML</h4><pre>global:<br>  scrape_interval: 15s<br><br>scrape_configs:<br>  - job_name: &#39;kubernetes-pods&#39;<br>    kubernetes_sd_configs:<br>      - role: pod<br>    relabel_configs:<br>      - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]<br>        action: keep<br>        regex: true</pre><h3>🚀 Tips for Writing YAML</h3><ul><li><em>Always use 2 spaces for indentation.</em></li><li><em>Don’t use tabs — YAML will fail.</em></li><li><em>Validate with linters or CI before deploying.</em></li></ul><p>Happy YAMLing! 🎉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67e63249b245" width="1" height="1" alt=""><hr><p><a href="https://blog.devops.dev/yaml-and-industry-based-scenarios-67e63249b245">YAML and Industry Based Scenarios</a> was originally published in <a href="https://blog.devops.dev/">DevOps.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ultimate Guide : Crack the AWS Certified Solutions Architect Associate Exam in 2025]]></title>
            <link>https://guideclouddevops.medium.com/ultimate-guide-crack-the-aws-certified-solutions-architect-associate-exam-in-2025-78fb1a4bf19b?source=rss-c6daf7408a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/78fb1a4bf19b</guid>
            <category><![CDATA[aws-certification]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[solution-architect]]></category>
            <dc:creator><![CDATA[Guide Cloud DevOps with Suyog]]></dc:creator>
            <pubDate>Mon, 13 Jan 2025 05:20:01 GMT</pubDate>
            <atom:updated>2025-01-13T05:20:01.789Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ultimate Guide : <strong>Crack the AWS Certified Solutions Architect Associate Exam in 2025</strong></h3><p>AWS Certified Solutions Architect — Associate certification is a highly sought-after credential that validates your ability to design and deploy scalable, reliable, and secure applications on AWS. As AWS continues to evolve, it’s essential to approach the exam with updated strategies and the latest information. Here’s your guide to successfully passing the exam in 2025.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*lqAsrPmoarY7ECVDl07bDA.png" /></figure><h3>Step 1: Understand the Exam Structure</h3><h4>Exam Overview</h4><ul><li><strong>Exam Format:</strong> Multiple-choice and multiple-response questions</li><li><strong>Duration:</strong> 130 minutes</li><li><strong>Passing Score:</strong> 720/1000 ( 65 questions out of which 15 with no marks)</li><li><strong>Cost:</strong> $150 (with an optional $20 practice exam)</li></ul><h4>Domains Covered</h4><p>The exam blueprint is divided into four key domains:</p><ol><li><strong>Design Resilient Architectures (26%)</strong></li><li><strong>Design High-Performing Architectures (24%)</strong></li><li><strong>Design Secure Architectures (30%)</strong></li><li><strong>Design Cost-Optimized Architectures (20%)</strong></li></ol><h3>Step 2: Prepare with Updated Study Resources</h3><h4>1. Official AWS Resources</h4><ul><li><strong>AWS Training and Certification Portal:</strong> Enroll in the <a href="https://aws.amazon.com/training/architecting/">Architecting on AWS</a> course.</li><li><strong>AWS Documentation:</strong> Read official docs for key services like EC2, S3, RDS, DynamoDB, and VPC.</li><li><strong>Whitepapers:</strong> Focus on the Well-Architected Framework and AWS Security Best Practices.</li></ul><h4>2. Online Learning Platforms</h4><ul><li><strong>Udemy:</strong> <a href="https://www.udemy.com/course/aws-certified-solutions-architect-associate-saa-c03">Ultimate AWS Certified Solutions Architect Associate 2025</a> by Stephane Maarek.</li><li><strong>Udemy:</strong> <a href="https://www.udemy.com/course/aws-certified-solutions-architect-associate-practice-tests-k">AWS Certified Solutions Architect Associate Practice Exams</a> by Neal Davis</li></ul><h4>3. Hands-On Experience</h4><p>Practical experience with AWS services is non-negotiable. Use the AWS Free Tier to:</p><ul><li>Set up EC2 instances, create S3 buckets, and configure IAM roles.</li><li>Deploy applications using Elastic Beanstalk and Lambda.</li><li>Explore networking concepts by creating VPCs and subnets.</li></ul><h4>4. Community and Discussion Forums</h4><p>Join AWS communities on platforms like LinkedIn, Reddit, and Discord to stay updated and learn from others.</p><h3>Step 3: Practice, Practice, Practice</h3><h4>1. Mock Exams</h4><p>Use mock exams to simulate the test environment. Focus on identifying weak areas and revisiting them.</p><h4>2. Scenario-Based Questions</h4><p>AWS exams are scenario-heavy. Practice understanding business requirements and mapping them to AWS solutions.</p><h4>3. Time Management</h4><p>With 65 questions to answer in 130 minutes, practice pacing yourself during mock exams.</p><h4>4. Exam Day Preparation</h4><p>On the day of the exam, ensure you have a stable internet connection, your identification documents, and any required equipment and if you go to Exam center then please carry Pan Card along with College ID/Company ID card.</p><h4>5. Flashcards and Note-Taking</h4><p>Create flashcards for key terms, concepts, and service details. Summarize your notes for quick revision.</p><h4>Clearing the AWS Certified Solutions Architect — Associate exam in 2025 requires a combination of updated knowledge, hands-on experience, and strategic preparation. By leveraging the latest study resources, focusing on key AWS services, and practicing effectively, you’ll be well-prepared to earn this valuable certification.</h4><p><em>Best of luck on your AWS certification journey!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78fb1a4bf19b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EKS Auto Mode — New Feature AWS]]></title>
            <link>https://guideclouddevops.medium.com/eks-auto-mode-new-feature-aws-0603a8c78797?source=rss-c6daf7408a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/0603a8c78797</guid>
            <category><![CDATA[aws-certification]]></category>
            <category><![CDATA[aws-eks]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Guide Cloud DevOps with Suyog]]></dc:creator>
            <pubDate>Tue, 03 Dec 2024 21:56:30 GMT</pubDate>
            <atom:updated>2024-12-03T21:56:30.900Z</atom:updated>
            <content:encoded><![CDATA[<h3>EKS Auto Mode — New Feature AWS</h3><h4>Introduction and Highlighted Features</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IltZgKDwYCAcJZsdDUErVA.png" /></figure><ul><li>EKS Auto Mode simplifies managing Amazon EC2 instances by automatically provisioning, operating, securing, and upgrading them within your account. AWS handles access and lifecycle management, allowing you to run dynamic and demanding workloads without needing advanced EKS expertise.</li><li>EKS Auto Mode seamlessly integrates with AWS services such as Amazon EC2 for compute, Amazon EBS for storage, and Elastic Load Balancing (ELB) for traffic distribution. You can start using it by either deploying a new EKS Auto Mode cluster or enabling it on an existing cluster, making it easy to enhance your Kubernetes environment with minimal effort.</li></ul><h4>Features:</h4><ul><li><strong><em>Automated Upgrades</em></strong><em>: EKS Auto Mode ensures your Kubernetes cluster, nodes, and related components are always up to date by automatically applying the latest patches. It does this while carefully adhering to your configured Pod Disruption Budgets (PDBs) and NodePool Disruption Budgets (NDBs), minimizing downtime and maintaining workload stability.</em></li><li><strong><em>Auto scaling</em></strong><em>: EKS Auto Mode leverages Karpenter for auto scaling, dynamically monitoring unschedulable Pods and deploying new nodes as needed to ensure workloads run smoothly. When workloads are terminated, it intelligently disrupts and terminates unused nodes, optimizing resource utilization and reducing costs.</em></li><li><strong><em>Storage</em></strong><em>: EKS Auto Mode simplifies ephemeral storage management by automatically configuring volume types, sizes, encryption policies, and ensuring proper deletion policies are applied when nodes are terminated.</em></li><li><strong><em>Security</em></strong><em>: EKS Auto Mode uses immutable AMIs for your nodes, ensuring locked-down software, SELinux mandatory access controls, and read-only root file systems for enhanced security. Nodes have a maximum lifetime of 21 days (configurable to a shorter duration), after which they are automatically replaced with fresh nodes to maintain security and performance.</em></li><li><strong><em>Built-In Support</em></strong><em>: EKS Auto Mode offers built-in support for essential features like Pod IP address assignments, Pod network policies, local DNS services, GPU plug-ins, health checkers, and EBS CSI storage, ensuring seamless and efficient operation of your Kubernetes workloads.</em></li></ul><p>Thanks for Reading..</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0603a8c78797" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Airflow Best Practice's 2024]]></title>
            <link>https://blog.devops.dev/airflow-best-practices-2024-e1a000375ea0?source=rss-c6daf7408a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1a000375ea0</guid>
            <category><![CDATA[airflow]]></category>
            <dc:creator><![CDATA[Guide Cloud DevOps with Suyog]]></dc:creator>
            <pubDate>Tue, 12 Nov 2024 20:07:15 GMT</pubDate>
            <atom:updated>2026-05-26T08:17:41.956Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*A8i7B_baXT-MGDR6f764gQ.png" /></figure><ul><li>Scheduler will read the files from the dag folder if they contain the words dag or airflow.You can change this setting by update dag_discovery_safe_mode as False. Now it will parse all the files.</li><li>Add .airflowignore to define files to be skipped</li><li>Avoid using same dag id for multiple dags, there will be no error but scheduler will parse the dag randomly.</li><li>Best way for variable is to use Environmental variables — this variables will be hidden from the users and will not connect or be stored in the metadata database.</li><li>Airflow checks for variables: Secrets Backends -&gt; Environment variable -&gt; DB</li><li>Cron expresion is stateless while Timedelta is stateful and its related to the last execution (start_date).</li><li>Timedelta is mainly usefull for jobs that have exacly X days between them.</li><li>Avoid using catchup as True otherwise it will trigger all dagruns from the start_date to the current date. When turned off, the scheduler creates a DAG run only for the latest interval.</li><li>Avoid triggering DAGs immediately after changing them or any other accompanying files that you change in the DAG folder.</li><li>[t1, t2, t3] &gt;&gt; [t4, t5, t6] — it doesn’t work; error: you can’t trade dependencies between two lists. If you want to do this then you can use <a href="https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/models/baseoperator/index.html">cross downstream</a> module.</li><li>Timeout always recommended to avoid having too many dags running indefinitely and use timeout at operator and dag level.</li><li>Timeout works only for scheduled dags — for manually triggered dags will not be used.</li><li>To enable dag versioning add version suffix _1_0_0</li></ul><h3><strong><em>Latest Release New Feature: 2.10</em></strong></h3><ul><li>Deferrable operators can now execute directly from the triggerer without needing to go through the worker. This is especially efficient for certain operators, like sensors, and can help teams save both time and money.</li><li>Crucial executor logs are now integrated into the task logs. If the executor fails to start a task, the relevant error messages will be available in the task logs, simplifying the debugging process.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1a000375ea0" width="1" height="1" alt=""><hr><p><a href="https://blog.devops.dev/airflow-best-practices-2024-e1a000375ea0">Airflow Best Practice&#39;s 2024</a> was originally published in <a href="https://blog.devops.dev/">DevOps.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[K8S Architecture- Beginner’s Friendly]]></title>
            <link>https://guideclouddevops.medium.com/k8s-architecture-beginners-friendly-5c1f5a25d340?source=rss-c6daf7408a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c1f5a25d340</guid>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[k8s]]></category>
            <dc:creator><![CDATA[Guide Cloud DevOps with Suyog]]></dc:creator>
            <pubDate>Sun, 27 Aug 2023 16:51:05 GMT</pubDate>
            <atom:updated>2023-08-27T16:51:05.876Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine you’re in charge of a Prestigious and famous restaurant with busy kitchen where chefs are cooking all sorts of delicious dishes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*KxV80BoJ9J5Jp0t17sg5tg.png" /></figure><p><strong>Challenge-</strong></p><p>However, keeping track of all the ingredients, recipes, and cooking times can get quite overwhelming.</p><p><strong>Solution oriented approach-</strong></p><p>This is where Kubernetes comes in — it’s like a super-smart kitchen manager that helps organize everything smoothly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UCj4ValPbXfWkRNjgijbrQ.png" /><figcaption>Kubernetes Architecture</figcaption></figure><p>Here’s a simple way to understand the architecture of Kubernetes:</p><p><strong>The Master Chef (Master Node):</strong></p><ol><li>At the heart of the kitchen, you have the “Master Chef” who oversees everything. This Master Chef has three helpers:</li></ol><ul><li>Recipe Book (API Server): The Recipe Book is like a magical book that contains all the instructions for cooking. Chefs (you and other users) can use the Recipe Book to ask for dishes to be cooked and tell the kitchen what they need.</li><li>Brain (etcd): Think of the Brain as the kitchen’s memory. It remembers everything — what’s cooking, what’s been finished, and even what needs to be ordered. The Master Chef uses the Brain to keep track of the kitchen’s state.</li><li>Kitchen Manager (Controller Manager): The Kitchen Manager is in charge of making sure everything happens according to the plan. It watches over the cooking process and adjusts things if needed. For instance, it ensures there’s just the right amount of food ready at all times.</li></ul><p><strong>The Chefs (Worker Nodes):</strong></p><ol><li>Now, let’s move to the actual cooking stations — these are the “Worker Nodes.” Each station has its own cook:</li></ol><ul><li>Cook (Kubelet): The Cook is responsible for following the recipes and making sure the food (containers) is prepared correctly. They take orders from the Recipe Book and make sure everything’s cooked just the way it should be.</li><li>Food Containers (Pods): In the kitchen, you can’t cook a single dish — you usually cook several things at once. Similarly, in Kubernetes, you group containers together into “Pods.” Each Pod might have different ingredients (containers), but they work together to create a complete meal.</li></ul><p><strong>Communication and Organization:</strong></p><ol><li>In the kitchen, communication is key. Just like the Cooks and the Master Chef need to talk to each other, the components in Kubernetes also communicate:</li></ol><ul><li>Waiter (Kube Proxy): The Waiter makes sure that dishes (data) are served correctly to the right tables (Pods). It knows where each dish should go and helps connect different parts of the kitchen.</li><li>Networking (Network Plugins): In a kitchen, there’s a network of ovens, stoves, and prep areas. In Kubernetes, there’s a network connecting the different Pods and services. Plugins help manage this network so that everyone can communicate properly.</li></ul><p><strong><em>So, think of Kubernetes as this super-organized kitchen manager that takes care of all the details, making sure your dishes (applications) are cooked, served, and even scaled up when more guests arrive. Just like a kitchen manager, Kubernetes helps you focus on the recipes (code) and ensures that your apps run smoothly without you having to worry too much about the underlying infrastructure.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c1f5a25d340" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Provisioning and Managing AWS EC2 Instances| Terraform-Desired/Current State]]></title>
            <link>https://blog.devops.dev/provisioning-and-managing-aws-ec2-instances-terraform-desired-current-state-5ae923f9351b?source=rss-c6daf7408a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ae923f9351b</guid>
            <category><![CDATA[desired-state]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[iaac]]></category>
            <dc:creator><![CDATA[Guide Cloud DevOps with Suyog]]></dc:creator>
            <pubDate>Fri, 18 Aug 2023 19:58:55 GMT</pubDate>
            <atom:updated>2026-05-26T08:17:34.305Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XrXy7ya8mOAqyQhSPjLsCw.png" /></figure><p><strong>Terraform primary function is to create, modify and destroy infrastructure resources to match the desired state described in Terraform Configuration.</strong></p><p><strong>Desired State</strong>- Configuration file (main.tf) containing all information regarding the resource.</p><p><strong>Current State</strong>- It is the actual state of resource that is currently deployed. eg- When we make changes in resources of AWS/Azure/Digital Ocean directly using the UI.</p><p>Let’s say you want to use Terraform to provision and manage a set of AWS EC2 instances for a web application. Your desired state might include:</p><ul><li>Launching two t2.micro EC2 instances in us-east-1 region.</li><li>Assigning a security group that allows incoming HTTP (port 80) traffic to these instances.</li><li>Associating an Elastic IP address with each instance.</li></ul><p>Here’s how Terraform would use the desired state and current state:</p><ul><li><em>Desired State Definition: You define your desired infrastructure state in a Terraform configuration file (often named </em><em>main.tf). In this file, you describe the resources you want to create and their desired configurations.</em></li></ul><pre>provider &quot;aws&quot; {<br>  region = &quot;us-east-1&quot;<br>}<br><br>resource &quot;aws_instance&quot; &quot;web_instances&quot; {<br>  count         = 2<br>  ami           = &quot;ami-0c55b159cbfafe1f0&quot;<br>  instance_type = &quot;t2.micro&quot;<br>}<br><br>resource &quot;aws_security_group&quot; &quot;web_sg&quot; {<br>  name        = &quot;web_security_group&quot;<br>  description = &quot;Allow incoming HTTP traffic&quot;<br><br>  ingress {<br>    from_port   = 80<br>    to_port     = 80<br>    protocol    = &quot;tcp&quot;<br>    cidr_blocks = [&quot;0.0.0.0/0&quot;]<br>  }<br>}</pre><ul><li><em>Terraform Apply: You run </em><em>terraform apply to apply your desired state. Terraform analyzes the current state of your infrastructure, compares it to the desired state defined in your configuration, and determines what changes are needed to bring the infrastructure into the desired state.</em></li><li><em>Terraform will create the specified EC2 instances and security group in the AWS region. It will also generate an execution plan that outlines the actions it will take to achieve the desired state.</em></li><li><em>Current State Tracking: Terraform keeps track of the current state of your infrastructure in a state file (usually named </em><em>terraform.tfstate). This file is used to maintain a record of the actual resources that were provisioned and their current configurations.</em></li><li><em>Updating Infrastructure: Over time, you may need to make changes to your infrastructure. For example, you might want to update the instance type of one of the EC2 instances. You would modify your Terraform configuration to reflect the new desired state and then run </em><em>terraform apply again.</em></li><li><em>Terraform will determine the differences between the current state and the modified desired state. It will make the necessary updates to your infrastructure while ensuring that the changes are performed safely and in the correct order.</em></li><li><em>Destroying Resources: If you no longer need a resource, you can remove it from your Terraform configuration and run </em><em>terraform apply again. Terraform will detect that the resource is no longer part of the desired state and will initiate the destruction of the corresponding resource in the infrastructure.</em></li></ul><blockquote><strong>Terraform uses the concepts of desired state and current state to automate the provisioning, updating, and management of infrastructure resources. It ensures that your infrastructure always matches the configuration you’ve defined, allowing you to maintain consistency and reliability across your environment.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ae923f9351b" width="1" height="1" alt=""><hr><p><a href="https://blog.devops.dev/provisioning-and-managing-aws-ec2-instances-terraform-desired-current-state-5ae923f9351b">Provisioning and Managing AWS EC2 Instances| Terraform-Desired/Current State</a> was originally published in <a href="https://blog.devops.dev/">DevOps.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Crack AWS Cloud Practitioner Exam Beginner with Recommendations]]></title>
            <link>https://aws.plainenglish.io/how-to-crack-aws-cloud-practitioner-exam-beginner-with-recommendations-b2f6d355a37e?source=rss-c6daf7408a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2f6d355a37e</guid>
            <category><![CDATA[aws-certification]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[awscommunitybuilder]]></category>
            <dc:creator><![CDATA[Guide Cloud DevOps with Suyog]]></dc:creator>
            <pubDate>Sun, 13 Aug 2023 13:37:43 GMT</pubDate>
            <atom:updated>2023-08-13T13:37:43.218Z</atom:updated>
            <content:encoded><![CDATA[<p>Preparing for the AWS Certified Cloud Practitioner exam involves a combination of overview of All AWS services and practice exams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DvfAH0q5TjddRYZWKMZBlA.jpeg" /></figure><p><strong>Here’s a step-by-step guide to help you prepare effectively:</strong></p><ol><li>Understand the Exam: Familiarize yourself with the exam’s format, objectives, and structure. Total 65 Questions consisting of single and multiple MCQ were there and you have to score minimum 70% to pass the exam.</li><li>AWS Free Tier: Sign up for an AWS account and explore the AWS Free Tier. This will give you hands-on experience with various AWS services without incurring costs.</li><li>Exam Guide and Blueprint: Review the official AWS Certified Cloud Practitioner Exam Guide provided by AWS. This guide outlines the domains and topics covered in the exam, helping you focus your study efforts. Ref- <a href="https://d1.awsstatic.com/training-and-certification/docs-cloud-practitioner/AWS-Certified-Cloud-Practitioner_Exam-Guide_C02.pdf">Guide CLF-C02</a></li></ol><ul><li>AWS Documentation: AWS provides comprehensive documentation for each service. Study the documentation for the key services outlined in the exam guide.</li><li>Online Courses: Enroll in online courses specifically designed for the AWS Certified Cloud Practitioner exam. Platforms like AWS Training and Certification, Udemy, Coursera, and A Cloud Guru offer courses that cover the required topics. Recommended Course- <a href="https://www.udemy.com/course/aws-certified-cloud-practitioner-new/">Stephane Maarek AWS Cloud Practitioner Course</a></li><li>Practice Tests: Utilize practice tests and sample questions to assess your knowledge and become familiar with the exam’s question format. AWS provides sample questions on their website, and you can also find practice exams on various online platforms. Recommended Practise Test- <a href="https://www.udemy.com/course/aws-certified-cloud-practitioner-practice-exams-c/">Neal Davis</a></li><li>Whitepapers and Documentation: Read AWS whitepapers and documentation on relevant topics. This will deepen your understanding of AWS services and best practices.</li><li>Cloud Concepts: Understand the fundamentals of cloud computing, including deployment models, shared responsibility model, and cost management.</li><li>AWS Global Infrastructure: Learn about AWS regions, availability zones, and edge locations.</li><li>AWS Services: Study key AWS services, such as EC2, S3, RDS, IAM, CloudWatch, and more. Know their basic features and use cases.</li><li>Billing and Pricing: Familiarize yourself with AWS billing and pricing models, as well as the AWS Free Tier limits.</li><li>Security and Compliance: Understand AWS security best practices, identity and access management, and compliance concepts.</li></ul><h4><strong>— — — — — — — — — — -Practice Time !!! — — — — — — — — — — —</strong></h4><ol><li>Hands-On Labs: Create and manage AWS resources hands-on. Practice setting up EC2 instances, S3 buckets, VPCs, and other core services to gain practical experience.</li><li>Flashcards and Note-Taking: Create flashcards for key terms, concepts, and service details. Summarize your notes for quick revision.</li><li>Review and Practice: Periodically review your notes, practice questions, and hands-on labs. Identify areas where you need more focus and reinforce your understanding.</li><li>Simulated Exams: Take full-length practice exams in a simulated environment to assess your readiness. Analyze your performance and focus on improving weak areas.</li><li>Time Management: During the exam, manage your time wisely. If you’re unsure about a question, flag it and move on. Return to flagged questions after completing the easier ones.</li><li>Exam Day Preparation: On the day of the exam, ensure you have a stable internet connection, your identification documents, and any required equipment and if you go to Exam center then please carry Pan Card along with College ID/Company ID card.</li></ol><p><strong><em>Remember that consistent study and practical experience are key to success. The AWS Certified Cloud Practitioner exam is designed to test your foundational understanding of AWS services and cloud concepts, so focus on building a solid knowledge base. Good luck with your exam preparation!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2f6d355a37e" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/how-to-crack-aws-cloud-practitioner-exam-beginner-with-recommendations-b2f6d355a37e">How to Crack AWS Cloud Practitioner Exam Beginner with Recommendations</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>