<?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 Shyam Kumar on Medium]]></title>
        <description><![CDATA[Stories by Shyam Kumar on Medium]]></description>
        <link>https://medium.com/@shyamkumar0209?source=rss-90ea65a169f7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xgCHbur8tKIpwNdzbBqxFg.jpeg</url>
            <title>Stories by Shyam Kumar on Medium</title>
            <link>https://medium.com/@shyamkumar0209?source=rss-90ea65a169f7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 05:53:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shyamkumar0209/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[The Agentic AI Landscape & Where Amazon Bedrock AgentCore Fits]]></title>
            <link>https://aws.plainenglish.io/the-agentic-ai-landscape-where-amazon-bedrock-agentcore-fits-7719fdda30ba?source=rss-90ea65a169f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7719fdda30ba</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[amazon-bedrock-agentcore]]></category>
            <dc:creator><![CDATA[Shyam Kumar]]></dc:creator>
            <pubDate>Mon, 01 Jun 2026 08:08:43 GMT</pubDate>
            <atom:updated>2026-06-01T14:32:17.151Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*UxALtziIXA9Ik09ePa_8Ww.png" /></figure><blockquote>This content was created using AI-assisted development (Kiro) and validated by a human author.</blockquote><h3>The Problem</h3><blockquote>“Our SRE team spends 60% of their on-call time on repetitive triage<br> and known-fix incidents. We need to reduce mean-time-to-resolution<br> without compromising safety or adding headcount.”</blockquote><blockquote>- <em>Engineering Director, quarterly planning</em></blockquote><p>Here’s a conversation that happens in engineering teams everywhere:</p><p><strong>Engineering Director:</strong> “We’re burning out our SRE team. Three to four pages a night, most of them are the same patterns-OOM kills, connection pool exhaustion, certificate expiry. The team spends 60% of on-call time on incidents they’ve already solved before. We need to reduce MTTR and free up the team for reliability engineering work.”</p><p><strong>SRE Lead:</strong> “We’ve documented runbooks for the top 20 incident types. The problem isn’t knowledge-it’s that at 2:47am, someone still has to wake up, open a laptop, follow the runbook steps manually, and update Slack. The mechanical steps take 30+ minutes even when we know exactly what to do.”</p><p><strong>Engineering Director</strong>: “Can we automate this? Not blindly — I need human oversight, especially in production. And I need to see it work in lower environments before I trust it with prod.”</p><p><strong>SRE Lead</strong>: “What if we build an agent that handles the mechanical toil -triage, investigation, known-fix execution and escalates to a human for anything novel or high-risk ? We start in dev, prove it works, then gradually promote to prod with human-in-the-loop approval.”</p><p><strong>Engineering Director</strong>: “Show me a plan.”</p><p>That’s what this series is. We’ll build a Cloud Operations agent using Amazon Bedrock AgentCore, not as a human replacement, but as a force multiplier for the SRE team. The agent handles the toil; the humans handle the judgment.</p><h3>What You’ll Learn</h3><p>By the end of this post, you’ll understand:</p><ul><li>What “agentic AI” actually means (beyond the hype)</li><li>The AWS GenAI stack from models to applications</li><li>Where AgentCore fits and what problem it solves</li><li>How AgentCore compares to alternatives</li><li>How to identify which activities are suitable for agent delegation vs human judgment</li><li>A trust-building adoption path: dev → staging → prod with human oversight</li></ul><p>No code in this post , just the mental model you need before writing your first line.</p><p><strong>Prerequisites:</strong> Basic AWS familiarity, conceptual understanding of LLMs, no prior agentic AI experience required.</p><h3>From Chatbots to Agents: What Changed?</h3><p>A chatbot answers questions. An agent <em>does things</em>.</p><p>The difference isn’t intelligence — it’s <strong>agency</strong>. An agent has:</p><ol><li><strong>Tools</strong> — it can call APIs, query databases, execute code</li><li><strong>Reasoning</strong> — it decides <em>which</em> tools to use and <em>when</em></li><li><strong>Memory</strong> — it remembers context across interactions</li><li><strong>Guardrails</strong> — it knows its boundaries and escalates when uncertain</li></ol><p>The breakthrough that made this practical wasn’t a single model improvement. It was the convergence of three things:</p><p><strong>Tool-calling models </strong>— Models can output structured function calls, not just text. OpenAI function calling, Claude tool use.</p><p><strong>Open protocols </strong>— MCP (Model Context Protocol, by Anthropic) and A2A (Agent-to-Agent, by Google) created standard ways for agents to discover and use tools.</p><p><strong>Managed infrastructure </strong>— Amazon Bedrock AgentCore went GA, providing platforms that handle deployment, security, and observability for agents.</p><p>The first two gave us the <em>capability</em>. The third — infrastructure — is what makes agents production-ready.</p><h3>The AWS GenAI Stack</h3><p>Think of the AWS GenAI ecosystem as four layers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QdBNdfx8ZkgUEL1gMQtyLQ.png" /></figure><p><strong>Layer 1 — Compute &amp; Storage:</strong> Lambda, ECS, S3, DynamoDB</p><p><strong>Layer 2 — AI Services:</strong> Bedrock (models), Knowledge Bases (RAG), Bedrock Agents</p><p><strong>Layer 3 — Agent Infrastructure (AgentCore):</strong> Runtime, Gateway, Memory, Identity, Observability, Evaluations, Policy</p><p><strong>Layer 4 — Applications:</strong> Your agent, built with any framework (Strands Agents, LangGraph, CrewAI)</p><p>AgentCore handles the undifferentiated heavy lifting: deployment, scaling, security, memory management, tool connectivity, and monitoring.What Is Amazon Bedrock AgentCore?</p><h3>What Is Amazon Bedrock AgentCore?</h3><p>AgentCore is a platform of modular, managed services for building, deploying, and operating AI agents. It’s:</p><ul><li><strong>Framework-agnostic</strong> — works with Strands Agents, LangGraph, CrewAI, LlamaIndex, or your own code</li><li><strong>Model-agnostic</strong> — use Claude, GPT, Gemini, Llama, or any model</li><li><strong>Modular</strong> — adopt services independently, in any order</li></ul><h3>The Services</h3><h4><strong>Build &amp; Run — Two Deployment Paths</strong></h4><p>AgentCore gives you two ways to get an agent running:</p><p><strong>Runtime</strong> — Secure, serverless compute for deploying your own agent code. Bring any framework (Strands, LangGraph, CrewAI), any model. You write the agent loop; Runtime hosts it.</p><p><strong>Harness</strong> <em>(Preview)</em> — A managed agent loop. Instead of writing orchestration code, you declare what your agent does: which model, which tools, which instructions. AgentCore handles the rest. Powered by Strands Agents under the hood. You configure the agent; Harness runs it.</p><p><strong><em>The key distinction:</em></strong></p><blockquote><em>Runtime = “</em><strong>I bring my agent code, you host it</strong><em>.”</em></blockquote><blockquote><em>Harness = “</em><strong>I describe what my agent should do, you run it.</strong><em>”</em></blockquote><p><em>Both deploy to isolated microVMs. Both connect to the same AgentCore services. The difference is who owns the orchestration logic — you (Runtime) or AgentCore (Harness).</em></p><h4><strong>Connect</strong></h4><p><strong>Gateway</strong> — Convert any API into an MCP-compatible tool. Your existing APIs, Lambda functions, and services become agent-callable tools without rewriting code. Also connects to pre-existing MCP servers and popular integrations (Salesforce, Jira, Slack).</p><p><strong>Code Interpreter</strong> — Isolated sandbox for agents to execute Python, JavaScript, and TypeScript code safely.</p><p><strong>Browser</strong> — Managed cloud browser for agents to navigate websites, fill forms, and extract information.</p><h4><strong>Remember</strong></h4><p><strong>Memory</strong> — Short-term conversation memory (within a session) and long-term persistent memory (across sessions). Shareable across agents. Learns from past interactions.</p><h4><strong>Secure</strong></h4><p><strong>Identity</strong> — Agent authentication and credential management. Works with existing IdPs (Cognito, Okta, Entra ID, Auth0). Handles both inbound JWT validation and outbound OAuth2/API-key credentials.</p><p><strong>Policy</strong> — Deterministic guardrails using natural language or Cedar policies. Intercepts every tool call via Gateway before execution. Define what agents can access, what actions they can perform, and under what conditions.</p><p><strong>Registry</strong> <em>(Preview)</em> — Centralised catalog for discovering and managing agents, MCP servers, tools, and skills across your organisation.</p><h4><strong>Monitor</strong></h4><p><strong>Observability</strong> — Unified tracing, debugging, and monitoring via OpenTelemetry. Detailed visualisation of each step in the agent workflow.</p><p><strong>Evaluations</strong> — Automated quality assessment with built-in and custom evaluators. On-demand batch evaluation and continuous online evaluation in production.</p><h4><strong>Transact</strong></h4><p><strong>Payments</strong> <em>(Preview)</em> — Microtransaction payments for agents via x402 protocol. Wallet integration, spending limits, end-to-end observability.</p><blockquote><strong><em>Note: Harness, Registry, and Payments are currently in preview (as of mid-2026). We’ll explore both Runtime and Harness in Post 2 to compare the experience. Preview features may change before GA.</em></strong></blockquote><h3>Without an Agent vs With an Agent Assist</h3><p>Here’s what incident response looks like today vs what it looks like when an agent handles the toil:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ysejU9zfsI6kMEO8PWTFA.png" /></figure><p><strong>Without Agent (today):</strong> PagerDuty wakes you → open laptop → check alarms → cross-reference → SSH → diagnose → remediate → verify → update Slack → back to sleep. <strong>Your time: 38 minutes.</strong></p><p><strong>With Agent Assist (end of series):</strong> Alarm triggers agent → agent triages → correlates past incidents → runs diagnostics → proposes fix → executes within policy → verifies → posts to Slack → you review in the morning. <strong>Your time: 5 min review.</strong></p><blockquote><em>The agent doesn’t replace the SRE — it handles the </em><strong><em>mechanical toil</em></strong><em> so the human can focus on </em><strong><em>judgment calls</em></strong><em>. Think of it as a highly capable on-call assistant that does the legwork and presents you with a summary and recommendation.</em></blockquote><h3>Identifying What to Delegate to an Agent</h3><p>Not every task is suitable for an agent. The key question: <strong>does this task require human judgment, or is it a repeatable procedure?</strong></p><p><strong>Agent-suitable tasks:</strong></p><ul><li><em>Mechanical toil</em> — Query CloudWatch, pull logs, check deployment history, restart a known-crashed task</li><li><em>Pattern matching</em> — “This looks like the OOM issue from last week”</li><li><em>Known-fix execution</em> — Restart task, scale up, flush cache (bounded by policy)</li></ul><p><strong>Human-only tasks:</strong></p><ul><li><em>Novel diagnosis</em> — “We’ve never seen this error before”</li><li><em>Customer communication</em> — “Should we notify affected customers?”</li><li><em>Architectural decisions</em> — “Should we add a circuit breaker here?”</li></ul><p><strong>Collaborative tasks:</strong></p><ul><li><em>Escalation decisions</em> — Agent proposes severity, human confirms</li></ul><p>The sweet spot: <strong>the first 80% of incident response that follows documented runbooks</strong>. The agent triages, investigates, and proposes a fix. The human reviews, approves (or overrides), and handles anything novel.</p><h3>The Trust-Building Adoption Path</h3><p>You don’t deploy an agent to production on day one. Trust is earned through a phased rollout:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GMWpiBw0KBkQTPOyf4vxrQ.png" /></figure><h3>Stakeholder Buy-In Checkpoints</h3><p>At each phase transition, you present evidence:</p><p><strong><em>Phase 1 → 2:</em></strong><em> “The agent correctly diagnosed 47 out of 50 test incidents in dev. Here are the 3 it missed and why.”</em></p><p><strong><em>Phase 2 → 3:</em></strong><em> “Over 2 weeks in staging, the agent proposed 23 actions. All 23 were approved without modification. Zero rollbacks.”</em></p><p><strong><em>Phase 3 → 4:</em></strong><em> “In 4 weeks of prod (low-risk), the agent resolved 31 routine incidents. MTTR dropped from 38 minutes to 6 minutes.”</em></p><p>This isn’t just a technical journey — it’s a <strong>change management</strong> process. The agent earns trust the same way a new team member does.</p><h3>AgentCore vs The Alternatives</h3><h4>vs Amazon Bedrock Agents (Managed Agents)</h4><p><strong>Bedrock Agents (Legacy):</strong> Fully managed, opinionated. AWS-managed agent loop. Limited customisation. Best for quick prototypes and simple workflows.</p><p><strong>AgentCore:</strong> Infrastructure services, flexible. Bring your own framework. Full control over code and patterns. Best for production agents needing fine-grained security and observability.</p><p><em>When to use Bedrock Agents:</em> You want a working agent in 30 minutes with minimal code. <em>When to use AgentCore:</em> You need custom logic, multi-framework support, or production-grade observability.</p><h4>vs Self-Managed (Open-Source Only)</h4><p>With self-managed (LangGraph/CrewAI on ECS/Lambda), you build everything yourself — deployment, memory, security, observability, evaluation. That’s weeks of infrastructure work.</p><p>With AgentCore + your framework, you get managed Runtime, Memory, Identity, Policy, Observability, and Evaluations out of the box. You focus on agent logic.</p><h3>Architecture Decision Record</h3><p>ADR-001: Why Strands Agents as the Primary Framework</p><p><strong><em>Context:</em></strong><em> We need a framework for code examples. Options: Strands Agents, LangGraph, CrewAI, AutoGen, raw boto3.</em></p><p><strong><em>Decision:</em></strong><em> Strands Agents — open-source, AWS-maintained, model-driven agent loop, 15+ model providers, native MCP support, first-class AgentCore integration. </em><strong><em>Also powers AgentCore Harness under the hood</em></strong><em> — so learning Strands means understanding both deployment paths.</em></p><p><strong><em>Trade-offs:</em></strong><em> Newer (May 2025) with a smaller community than LangChain/LangGraph. But its simplicity, native AWS integration, and the fact that it powers Harness make it the natural choice for this series.</em></p><h3>Understanding MCP and A2A</h3><p>Two protocols are reshaping how agents connect to the world:</p><h4>MCP (Model Context Protocol)</h4><p>An open standard that defines how agents discover and use tools. Think “USB for AI” — a standard interface so any agent can plug into any tool.</p><p><em>Agent ↔ MCP Protocol ↔ MCP Server (CloudWatch, Jira, Slack, etc.)</em></p><p>AgentCore Gateway converts your existing APIs into MCP-compatible tools — no rewriting required.</p><h4>A2A (Agent-to-Agent Protocol)</h4><p>A2A enables agents to communicate with each other regardless of framework. One agent can delegate tasks to another and coordinate workflows.</p><p>We won’t use A2A heavily in this series (it’s a single-agent evolution story), but it’s important to know it exists for multi-agent orchestration.</p><h3>The CloudOps Agent: What We’re Building</h3><p>Across 7 posts, we’ll evolve a Cloud Operations agent from concept to production:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yvcxnsPIdcCt9_QRJyoyCw.png" /></figure><h4>The Fictional Setup: NovaPay</h4><p>Our agent operates in a realistic environment:</p><ul><li><strong>Company:</strong> NovaPay (fictional payments platform)</li><li><strong>Infrastructure:</strong> 40+ ECS services, 3 AWS accounts (dev/staging/prod)</li><li><strong>Monitoring:</strong> CloudWatch alarms, X-Ray traces</li><li><strong>Incident workflow:</strong> PagerDuty → Slack → manual investigation → remediation</li><li><strong>Pain point:</strong> 3–4 incidents per week, 30–40 minutes each, mostly repetitive</li></ul><h3>What’s Coming in the Series</h3><p><strong>Post 2</strong> — Deploy a basic alarm-checking agent on Runtime + Harness. <em>Phase 1: Observe.</em></p><p><strong>Post 3</strong> — Connect to CloudWatch, ECS, Code Interpreter via Gateway. <em>Phase 1→2: Observe → Assist.</em></p><p><strong>Post 4</strong> — Add memory so it learns from past incidents. <em>Phase 2: Assist.</em></p><p><strong>Post 5</strong> — Secure with Identity and Cedar policies. <em>Phase 2→3: Assist → Act.</em></p><p><strong>Post 6</strong> — Monitor with Observability and Evaluations. <em>Phase 3: Act.</em></p><p><strong>Post 7</strong> — Full production agent with IaC and Slack integration. <em>Phase 4: Trusted.</em></p><h3>Cost Preview</h3><p>The full production agent costs approximately <strong>$120/month</strong> at moderate usage (50 incidents/month, Claude Sonnet):</p><p>Post 2: $15/mo → Post 3: $40/mo → Post 4: $50/mo → Post 5: $55/mo → Post 6: $75/mo → Post 7: $120/mo</p><p>That’s a modest investment for reclaiming hours of repetitive toil each month — time you can redirect to architecture improvements and reliability engineering.</p><h3>Try It Yourself</h3><p><strong>Exercise 1 — Identify Delegatable Tasks:</strong> Pick your team’s most common on-call incident. List every step. Classify each as: <em>Mechanical</em>, <em>Collaborative</em>, or <em>Human-only</em>. How much is mechanical?</p><p><strong>Exercise 2 — Draft Your Adoption Phases:</strong> What would Phase 1 (Observe) look like for your team? What evidence would your engineering director need before approving Phase 2?</p><p>Share your classification on LinkedIn with <strong>#AgentCore #AIAgents</strong> — I’d love to see what patterns emerge.</p><h3>What’s Next</h3><p>In <strong>Post 2: Your First Agent — AgentCore Runtime + Harness</strong>, we’ll go from zero to a deployed agent that checks CloudWatch alarms and posts a triage summary to Slack. We’ll try both Runtime (GA) and Harness (Preview) to compare the experience.</p><h3>References &amp; Further Reading</h3><ul><li><a href="https://aws.amazon.com/bedrock/agentcore/">Amazon Bedrock AgentCore — Product Page</a></li><li><a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/what-is-bedrock-agentcore.html">AgentCore Documentation</a></li><li><a href="https://aws.amazon.com/blogs/machine-learning/amazon-bedrock-agentcore-is-now-generally-available/">AgentCore GA Announcement (Oct 2025)</a></li><li><a href="https://strandsagents.com/">Strands Agents SDK</a></li><li><a href="https://github.com/aws/agentcore-cli">AgentCore CLI</a></li><li><a href="https://github.com/aws/bedrock-agentcore-sdk-python">AgentCore Python SDK</a></li><li><a href="https://modelcontextprotocol.io/">Model Context Protocol (MCP)</a></li><li><a href="https://a2aproject.github.io/A2A/latest/">Agent-to-Agent Protocol (A2A)</a></li><li><a href="https://aws.amazon.com/bedrock/agentcore/pricing/">AgentCore Pricing</a></li><li><a href="https://github.com/awslabs/amazon-bedrock-agentcore-samples">AWS Samples — AgentCore</a></li></ul><p><em>Follow for more on AI agents, serverless, and cloud operations.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7719fdda30ba" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/the-agentic-ai-landscape-where-amazon-bedrock-agentcore-fits-7719fdda30ba">The Agentic AI Landscape &amp; Where Amazon Bedrock AgentCore Fits</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>
        <item>
            <title><![CDATA[Secure Payment Processing in Amazon Connect: A Deep Dive into SequenceShift Integration]]></title>
            <link>https://awstip.com/secure-payment-processing-in-amazon-connect-a-deep-dive-into-sequenceshift-integration-b01a69cc880a?source=rss-90ea65a169f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b01a69cc880a</guid>
            <category><![CDATA[amazon-connect]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[sequenceshift]]></category>
            <category><![CDATA[contact-center]]></category>
            <category><![CDATA[pci-dss]]></category>
            <dc:creator><![CDATA[Shyam Kumar]]></dc:creator>
            <pubDate>Tue, 23 Sep 2025 23:34:34 GMT</pubDate>
            <atom:updated>2025-10-01T16:30:20.250Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5MJhd03BoWANZjqoAOuwnQ.png" /></figure><p>The Challenge: Secure Payment Processing in Contact Centers</p><p>Contact centers face a fundamental challenge when processing payments: how to capture sensitive card data without exposing it to agents or storing it in contact center systems. Traditional approaches often require agents to hear or see card numbers, creating PCI DSS compliance burdens and security vulnerabilities.</p><blockquote>The solution lies in implementing agent-assisted payment processing that maintains complete separation between the agent and sensitive payment data while providing a seamless customer experience.</blockquote><h3>Introducing SequenceShift Payline</h3><p>SequenceShift Payline is a PCI DSS-compliant payment processing platform designed specifically for agent-assisted transactions. It provides:</p><ul><li><strong>DTMF Masking</strong>: Customers enter card details via phone keypad while agents hear only silence</li><li><strong>Real-time Interface</strong>: Agents see masked card data populate in real-time without hearing actual digits</li><li><strong>PCI Compliance</strong>: All sensitive data processing occurs in SequenceShift’s secure environment</li><li><strong>Seamless Integration</strong>: Works within existing contact center workflows</li></ul><h3>Architecture Overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o7HGnyKsdD-HXsVQfhQgNQ.png" /><figcaption>Source : <a href="https://www.sequenceshift.com/">https://www.sequenceshift.com/</a></figcaption></figure><p>The integration creates a sophisticated yet elegant architecture that spans multiple AWS services and maintains strict security boundaries:</p><pre>// Core infrastructure components<br>const agentEventsKinesisStream = new kinesis.Stream(this, &quot;AgentEventsKinesisStream&quot;, {<br>  streamName: &quot;connect-events&quot;,<br>  shardCount: 1,<br>  retentionPeriod: Duration.hours(24),<br>});<br><br> const lambdaConnectEvents = new lambda.Function(this, &quot;LambdaConnectEvents&quot;, {<br>            functionName: `sequenceshift-connect-events-${aws_cdk_lib_1.Aws.REGION}-${aws_cdk_lib_1.Aws.ACCOUNT_ID}`,<br>            code: lambda.Code.fromBucket(s3.Bucket.fromBucketName(this, &quot;PayshieldBucket&quot;, &quot;payshield-public-ap-southeast-2&quot;), &quot;lambda/sequenceshift-connect-events-20231020.zip&quot;),<br>            handler: &quot;bootstrap&quot;,<br>            runtime: lambda.Runtime.PROVIDED_AL2023,<br>            memorySize: 128,<br>            timeout: aws_cdk_lib_1.Duration.seconds(15),<br>            role: lambdaConnectEventsRole,<br>            architecture: lambda.Architecture.ARM_64,<br>        });</pre><h3>Key Components</h3><p><strong>1. Amazon Connect Integration</strong></p><ul><li>Quick Connect triggers payment flow automatically</li><li>Contact Flow captures DTMF input securely</li><li>Agent events stream to Kinesis for real-time processing</li></ul><p><strong>2. SequenceShift Components</strong></p><ul><li>Web interface launched in agent’s browser with SAML SSO</li><li>Flow Lambda processes payment data in SequenceShift’s AWS account</li><li>Agent Stream Lambda manages agent state synchronisation</li></ul><p><strong>3. Transaction Pipeline</strong></p><ul><li>EventBridge receives transaction notifications</li><li>Kinesis Data Stream provides reliable buffering</li><li>S3 stores transaction records for audit and compliance</li></ul><h3>The Payment Flow: Step by Step</h3><h4>1. Payment Initiation</h4><p>When an agent determines payment is required, they launch the SequenceShift interface directly from their AWS connect agent workspace or browser. This triggers several automated processes:</p><pre>// Quick Connect configuration<br>const quickConnect = new connect.CfnQuickConnect(this, &quot;ConnectQuickConnect&quot;, {<br>  instanceArn: props.amazonConnectInstanceArn,<br>  name: &quot;Agent-Assisted Payments&quot;,<br>  description: &quot;SequenceShift Agent-Assisted Payments&quot;,<br>  quickConnectConfig: {<br>    quickConnectType: &quot;QUEUE&quot;,<br>    queueConfig: {<br>      contactFlowArn: contactFlow.attrContactFlowArn,<br>      queueArn: queue.attrQueueArn,<br>    },<br>  },<br>});</pre><h4>2. Secure Data Capture</h4><p>The Contact Flow uses a specialised configuration to capture DTMF input while maintaining security:</p><pre>// DTMF capture configuration with security controls<br>{<br>  Parameters: {<br>    StoreInput: &quot;True&quot;,<br>    InputTimeLimitSeconds: &quot;9999&quot;,<br>    PromptId: connectPrompt.attrPromptArn,<br>    DTMFConfiguration: {<br>      DisableCancelKey: &quot;False&quot;,<br>      InterdigitTimeLimitSeconds: &quot;10&quot;,<br>    },<br>    InputValidation: { <br>      CustomValidation: { MaximumLength: &quot;20&quot; } <br>    },<br>  },<br>  Type: &quot;GetParticipantInput&quot;<br>}</pre><h4>3. Lambda Integration</h4><p>The Contact Flow invokes SequenceShift’s Lambda function to process the captured data:</p><pre>// Example Lambda invocation with secure parameter passing from Contactflow definition<br>{<br>  Parameters: {<br>    LambdaFunctionARN: `arn:aws:lambda:&lt;region&gt;:&lt;sequenceshift-account-id&gt;:function:payshield-cc-&lt;account-id&gt;-&lt;connect-instance-id&gt;`,<br>    LambdaInvocationAttributes: {<br>      PayshieldData: &quot;$.StoredCustomerInput&quot;,<br>      PayshieldInstanceID: &quot;&lt;payline-instance-id&gt;&quot;,<br>    },<br>  },<br>  Type: &quot;InvokeLambdaFunction&quot;<br>}</pre><h3>Security Architecture</h3><h4>Multi-Layer Security Approach</h4><p><strong>1. Data Isolation</strong></p><ul><li>Payment data never touches Amazon Connect systems</li><li>DTMF masking ensures agents never hear sensitive information</li><li>All processing occurs in SequenceShift’s PCI-compliant environment</li></ul><p><strong>2. Access Control</strong></p><pre>// IAM role with least-privilege access<br>const lambdaConnectEventsRole = new iam.Role(this, &quot;LambdaConnectEventsRole&quot;, {<br>  roleName: `sequenceshift-connect-events-&lt;region&gt;-&lt;account-id&gt;`,<br>  assumedBy: new iam.ServicePrincipal(&quot;lambda.amazonaws.com&quot;),<br>});<br><br>// Specific permissions for SequenceShift integration<br>lambdaConnectEventsRole.addToPolicy(<br>  new iam.PolicyStatement({<br>    sid: &quot;SequenceShiftAllowPublishToSNS&quot;,<br>    effect: iam.Effect.ALLOW,<br>    actions: [&quot;sns:Publish&quot;],<br>    resources: [`arn:aws:sns:&lt;region&gt;:&lt;sequenceshift-account-id&gt;:payshield-connect-events-&lt;account-id&gt;-&lt;connect-instance-id&gt;`],<br>  })<br>);</pre><p><strong>3. Encryption</strong></p><ul><li>TLS 1.2+ for all data in transit</li><li>KMS encryption for data at rest</li><li>Kinesis stream encryption with customer-managed keys</li></ul><h4>PCI DSS Compliance</h4><p>The architecture maintains PCI DSS compliance through:</p><ul><li><strong>Scope Reduction</strong>: Sensitive data never enters customer environment</li><li><strong>Secure Transmission</strong>: All payment data encrypted in transit</li><li><strong>Audit Trails</strong>: Comprehensive logging and monitoring</li><li><strong>Access Controls</strong>: Role-based access with least privilege</li></ul><h3>Transaction Notification Pipeline</h3><p>One of the most sophisticated aspects of the integration is the transaction notification pipeline, which provides independent verification and audit capabilities.</p><p>When delivered through EventBridge, the transaction data is wrapped in the standard AWS EventBridge event structure:</p><pre>{<br>  &quot;version&quot;: &quot;0&quot;,<br>  &quot;id&quot;: &quot;&lt;uuid&gt;&quot;,<br>  &quot;detail-type&quot;: &quot;TRANSACTION&quot;,<br>  &quot;source&quot;: &quot;aws.partner/payshield.com.au/payline/&lt;uuid&gt;&quot;,<br>  &quot;account&quot;: &quot;0000000000&quot;,<br>  &quot;time&quot;: &quot;2025-06-10T23:13:53Z&quot;,<br>  &quot;region&quot;: &quot;ap-southeast-2&quot;,<br>  &quot;resources&quot;: [],<br>  &quot;detail&quot;: {<br>    &quot;approved&quot;: true,<br>    &quot;transaction_type&quot;: &quot;PURCHASE&quot;,<br>    &quot;amount&quot;: &quot;100&quot;,<br>    &quot;currency&quot;: &quot;NZD&quot;,<br>    &quot;masked_card_number&quot;: &quot;411111........11&quot;<br>  }<br>}</pre><h3>Data Storage Strategy</h3><p>Transaction notifications are stored in S3 with a structured partitioning scheme:</p><pre>s3://&lt;bucket&gt;/sequenceshift/YYYY/MM/DD/HH/<br>  - &lt;stream-name&gt;-&lt;seq&gt;-&lt;timestamp&gt;-&lt;uuid&gt;.gz</pre><p>This structure enables:</p><ul><li>Efficient querying by date/time</li><li>Cost-effective storage with compression</li><li>Long-term retention for compliance</li></ul><h3>Example CDK Implementation</h3><p>The infrastructure can be deployed using AWS CDK. Here’s an example implementation approach:</p><h4>Configuration Interface</h4><pre>export interface SequenceShiftStackProps extends StackProps {<br>  amazonConnectInstanceArn: string;<br>  sequenceShiftPaylineInstanceId: string;<br>  kinesisStreamName?: string;<br>  sqnsFlowConfigFileName?: string;<br>}</pre><h4>Resource Creation Example</h4><p>A typical CDK stack would create:</p><ul><li>Kinesis streams for event processing</li><li>Lambda functions for integration logic</li><li>IAM roles with precise permissions</li><li>Connect resources (queues, flows, quick connects)</li><li>CloudWatch logs for monitoring</li></ul><h4>Conditional Logic Example</h4><pre>// Example: Create Kinesis stream only if not provided<br>const needsKinesisStream = new CfnCondition(this, &quot;NeedsKinesisStream&quot;, {<br>  expression: Fn.conditionEquals(props.kinesisStreamName || &quot;&quot;, &quot;&quot;),<br>});</pre><h3>Monitoring</h3><h4>CloudWatch Integration</h4><p>The solution provides comprehensive monitoring through:</p><ul><li>Lambda function logs: /aws/lambda/sequenceshift-connect-events-&lt;region&gt;-&lt;account-id&gt;</li><li>Kinesis stream metrics</li><li>Connect contact flow logs</li><li>Transaction notification delivery metrics</li></ul><h3>Cost Considerations</h3><p>Understanding the financial impact is crucial for planning your SequenceShift integration. The solution incurs costs from both AWS infrastructure and SequenceShift licensing.</p><h4>AWS Infrastructure Costs</h4><p>For a contact center handling 12,000 daily calls, the estimated monthly AWS costs are (excluding call costs):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RJcfQoH2YTOrfqpJluvwuQ.png" /></figure><p>The above table is an estimate, and your costs may be lower or higher. Please refer official AWS pricing calculator for detailed pricing information on each service based on respective region.</p><h4>SequenceShift Licensing</h4><p>Additional costs apply for SequenceShift Payline:</p><ul><li>Free trial available for initial testing</li><li>Production pricing available on <a href="https://aws.amazon.com/marketplace/pp/prodview-jm7vp2plzzu5o">AWS Marketplace</a></li><li>Pricing typically based on transaction volume</li></ul><h3>Conclusion</h3><p>The SequenceShift integration with Amazon Connect demonstrates how modern cloud architecture can solve complex security challenges while maintaining operational simplicity. By leveraging AWS services like Kinesis, Lambda, and EventBridge, organisations can implement secure payment processing that:</p><ul><li>Protects sensitive customer data</li><li>Maintains PCI DSS compliance</li><li>Provides seamless agent experience</li><li>Enables comprehensive audit trails</li><li>Scales with business needs</li></ul><p>This architecture pattern can be adapted for other secure data processing scenarios, making it a valuable reference for contact center modernisation initiatives.</p><p>The combination of SequenceShift’s specialised payment processing capabilities with AWS’s robust cloud infrastructure creates a solution that is both secure and scalable, setting a new standard for payment processing in contact centers.</p><h3>References</h3><p><strong>SequenceShift Resources:</strong></p><ul><li><a href="https://www.sequenceshift.com/">SequenceShift Official Website</a></li></ul><p><strong>AWS Resources:</strong></p><ul><li><a href="https://docs.aws.amazon.com/connect/latest/adminguide/">Amazon Connect Developer Guide</a></li><li><a href="https://docs.aws.amazon.com/cdk/v2/guide/">AWS CDK Developer Guide</a></li><li><a href="https://docs.aws.amazon.com/kinesis/latest/dev/">Amazon Kinesis Data Streams</a></li><li><a href="https://docs.aws.amazon.com/lambda/latest/dg/">AWS Lambda Developer Guide</a></li><li><a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/">Amazon EventBridge User Guide</a></li><li><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html">AWS IAM Best Practices</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b01a69cc880a" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/secure-payment-processing-in-amazon-connect-a-deep-dive-into-sequenceshift-integration-b01a69cc880a">Secure Payment Processing in Amazon Connect: A Deep Dive into SequenceShift Integration</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft Defender for Endpoint on AWS EC2]]></title>
            <link>https://aws.plainenglish.io/microsoft-defender-for-endpoint-on-aws-ec2-e7555a02860c?source=rss-90ea65a169f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7555a02860c</guid>
            <category><![CDATA[sms]]></category>
            <category><![CDATA[microsoft-defender]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[run-commands]]></category>
            <dc:creator><![CDATA[Shyam Kumar]]></dc:creator>
            <pubDate>Fri, 23 Dec 2022 11:25:32 GMT</pubDate>
            <atom:updated>2022-12-27T12:24:16.664Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aMeCSAXPA-Iz_KPgMm0RPQ.png" /><figcaption>Figure 1: Automatic roll out solution for Microsoft Defender Endpoint(MDE) roll out.</figcaption></figure><p><strong>M</strong>icrosoft Defender for Endpoint (MDE) is <strong>a</strong>n enterprise endpoint security platform designed to help enterprise networks prevent, detect, investigate, and respond to advanced threats. Here we gonna discuss how to automatically roll out MDE to AWS EC2 instances.</p><h4>Considerations (Scope: UNIX/LINUX Instances):</h4><p>All EC2 instances are available in AWS Systems Manager (SSM)</p><blockquote>System requirements:</blockquote><blockquote>Disk space: 2 GB</blockquote><blockquote>Cores: 2 minimum, 4 preferred</blockquote><blockquote>Memory: 1 GB minimum, 4 preferred</blockquote><h4>Solution:</h4><p>Solution (Figure 1) consists of following components,</p><ol><li>SSM Document</li></ol><p>An AWS Systems Manager document (SSM document) defines the actions that Systems Manager performs on your managed instances. We have created custom SSM document which will perform the MDE deployment procedure for Linux instances using Microsoft installation <a href="https://github.com/microsoft/mdatp-xplat/blob/master/linux/installation/mde_installer.sh">script</a>. The content of this document is as follows. MDE installation script and Onboarding package will be stored in S3 bucket</p><pre>---<br>schemaVersion: &quot;2.2&quot;<br>description: &quot;MDE install&quot;<br>parameters:<br>  mdeAction:<br>    allowedValues:<br>    - &quot;install&quot;<br>    - &quot;remove&quot;<br>    - &quot;upgrade&quot;<br>    default: &quot;install&quot;<br>    description: &quot;(Required) Please specify the operation&quot;<br>    type: &quot;String&quot;<br>mainSteps:<br>- inputs:<br>    sourceInfo:<br>      path: &quot;https://s3-bucket-sk.s3.us-east-1.amazonaws.com/MicrosoftDefenderATPOnboardingLinuxServer.py&quot;<br>    sourceType: &quot;S3&quot;<br>  name: &quot;downloadOnboardingScript&quot;<br>  action: &quot;aws:downloadContent&quot;<br>  precondition:<br>    StringEquals:<br>    - &quot;platformType&quot;<br>    - &quot;Linux&quot;<br>- inputs:<br>    sourceInfo:<br>      path: &quot;https://s3-bucket-sk.s3.us-east-1.amazonaws.com/mde_installer.sh&quot;<br>    sourceType: &quot;S3&quot;<br>  name: &quot;downloadScript&quot;<br>  action: &quot;aws:downloadContent&quot;<br>  precondition:<br>    StringEquals:<br>    - &quot;platformType&quot;<br>    - &quot;Linux&quot;<br>- inputs:<br>    timeoutSeconds: &quot;300&quot;<br>    runCommand:<br>    - &quot;pwd&quot;<br>    - &quot;./mde_installer.sh --{{ mdeAction }} --channel prod --tag GROUP AWS --min_req\<br>      \ -y&quot;<br>    - &quot;mdatp threat policy set --type potentially_unwanted_application --action audit&quot;<br>  name: &quot;configureServer&quot;<br>  action: &quot;aws:runShellScript&quot;<br>  precondition:<br>    StringEquals:<br>    - &quot;platformType&quot;<br>    - &quot;Linux&quot;</pre><p>2. Systems Manager State Manager</p><p>State Manager, a capability of AWS Systems Manager, is a secure and scalable configuration management service that automates the process of keeping your managed nodes and other AWS resources in a state that you define. We will be creating an association for all instances with the SSM document mention above and we schedule option set to <strong>No schedule</strong>. This will ensure that the document will get executed to <strong>install MDE</strong> on every instances when they joins SSM.</p><p>Association definition as follows,</p><pre>associationLinux:<br>    Type: AWS::SSM::Association<br>    DependsOn: documentLinux<br>    Properties: <br>      AssociationName: InstallMDEonLinuxInstances<br>      ComplianceSeverity: HIGH<br>      Name: RUN_MDE_LINUX<br>      Parameters:<br>        mdeAction: <br>          - install<br>      Targets:<br>        - Key: InstanceIds<br>          Values:<br>            - &#39;*&#39;</pre><p>3. System Manager Run Command</p><p>Using Run Command, a capability of AWS Systems Manager, you can remotely and securely manage the configuration of your managed nodes. Here we will use this option to execute the SSM document for manually performing <strong>Install/Remove/Upgrade</strong> operations on MDE by passing respective parameters.</p><h4>Solution Deployment:</h4><p>Following CloudFormation (CFN) template can be used to deploy the solution across respective AWS accounts.</p><p><strong>Pre requisites</strong>:<br> MDE installer script and Onboarding package should be available in a S3 bucket present in the same account. Those details will be passed as an input to the CFN stack.</p><pre>AWSTemplateFormatVersion: 2010-09-09<br>Parameters:<br>  bucketName:<br>    Description: &gt;-<br>      Name of the S3 bucket which have the MDE installation script and<br>      onboarding package.<br>    Type: String<br>  MDEInstallerS3Key:<br>    Description: S3 object key for MDE installer script.<br>    Type: String<br>  OnboardingPackageS3KeyLinux:<br>    Description: S3 object key for MDE OnboardingPackage Linux.<br>    Type: String<br>  OnboardingPackageS3KeyWindows:<br>    Description: S3 object key for MDE OnboardingPackage Windows.<br>    Type: String<br>Resources:<br>  documentLinux:<br>    Type: &#39;AWS::SSM::Document&#39;<br>    Properties:<br>      DocumentType: Command<br>      DocumentFormat: YAML<br>      Name: RUN_MDE_LINUX<br>      Content:<br>        schemaVersion: &#39;2.2&#39;<br>        description: MSDE install<br>        parameters:<br>          mdeAction:<br>            type: String<br>            description: (Required) Please specify the operation<br>            default: install<br>            allowedValues:<br>              - install<br>              - remove<br>              - upgrade<br>        mainSteps:<br>          - action: &#39;aws:downloadContent&#39;<br>            name: downloadOnboardingScript<br>            precondition:<br>              StringEquals:<br>                - platformType<br>                - Linux<br>            inputs:<br>              sourceType: S3<br>              sourceInfo:<br>                path: !Join <br>                  - &#39;&#39;<br>                  - - &#39;https://&#39;<br>                    - !Ref bucketName<br>                    - .s3.<br>                    - !Ref &#39;AWS::Region&#39;<br>                    - .amazonaws.com/<br>                    - !Ref OnboardingPackageS3KeyLinux<br>          - action: &#39;aws:downloadContent&#39;<br>            name: downloadScript<br>            precondition:<br>              StringEquals:<br>                - platformType<br>                - Linux<br>            inputs:<br>              sourceType: S3<br>              sourceInfo:<br>                path: !Join <br>                  - &#39;&#39;<br>                  - - &#39;https://&#39;<br>                    - !Ref bucketName<br>                    - .s3.<br>                    - !Ref &#39;AWS::Region&#39;<br>                    - .amazonaws.com/<br>                    - !Ref MDEInstallerS3Key<br>          - action: &#39;aws:runShellScript&#39;<br>            name: configureServer<br>            precondition:<br>              StringEquals:<br>                - platformType<br>                - Linux<br>            inputs:<br>              timeoutSeconds: &#39;300&#39;<br>              runCommand:<br>                - pwd<br>                - ./mde_installer.sh --{{ mdeAction }} --onboard MicrosoftDefenderATPOnboardingLinuxServer.py --channel prod --tag<br>                  GROUP AWS --min_req -y<br>                - mdatp threat policy set --type potentially_unwanted_application --action audit<br>  <br>  associationLinux:<br>    Type: AWS::SSM::Association<br>    DependsOn: documentLinux<br>    Properties: <br>      AssociationName: InstallMDEonLinuxInstances<br>      ComplianceSeverity: HIGH<br>      Name: RUN_MDE_LINUX<br>      Parameters:<br>        mdeAction: <br>          - install<br>      Targets:<br>        - Key: InstanceIds<br>          Values:<br>            - &#39;*&#39;<br><br></pre><h4>More content at <a href="https://plainenglish.io/">PlainEnglish.io</a>.</h4><p><em>Sign up for our </em><a href="http://newsletter.plainenglish.io/"><strong><em>free weekly newsletter</em></strong></a><em>. Follow us on </em><a href="https://twitter.com/inPlainEngHQ"><strong><em>Twitter</em></strong></a>, <a href="https://www.linkedin.com/company/inplainenglish/"><strong><em>LinkedIn</em></strong></a><strong><em>, </em></strong><a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong><em>YouTube</em></strong></a><strong><em>, and</em></strong><em> </em><a href="https://discord.gg/GtDtUAvyhW"><strong><em>Discord</em></strong></a><strong><em>.</em></strong></p><h4>Looking to scale your software startup? Check out <a href="https://circuit.ooo/?utm=publication-post-cta">Circuit</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7555a02860c" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/microsoft-defender-for-endpoint-on-aws-ec2-e7555a02860c">Microsoft Defender for Endpoint on AWS EC2</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>
        <item>
            <title><![CDATA[AWS EKS: Calico for Windows networking]]></title>
            <link>https://aws.plainenglish.io/aws-eks-calico-for-windows-networking-eb741918f1e9?source=rss-90ea65a169f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb741918f1e9</guid>
            <category><![CDATA[aws-eks]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Shyam Kumar]]></dc:creator>
            <pubDate>Fri, 21 May 2021 07:01:59 GMT</pubDate>
            <atom:updated>2021-05-23T11:01:31.180Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Enabling Calico networking on EKS Windows nodes</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*ckIkYmdmonBDCoVeScULcA.png" /></figure><h3><strong>Background:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*EyD3PNDV_37Pfsu9Ry7sUw.png" /><figcaption>EKS with Calico networking</figcaption></figure><p>By default when you set up EKS cluster in AWS , cluster you will get has VPC CNI which assigns pod IPs from VPC network. So with this you quickly see IPs getting exhausted when we start deploying pods !!</p><p>To overcome above issue , we need to use different networking solution for EKS. Here are few of the options available.</p><ul><li><a href="https://docs.projectcalico.org/about/about-calico">Calico</a></li><li><a href="https://www.weave.works/docs/net/latest/kubernetes/kube-addon/">Weaveworks</a></li><li><a href="https://github.com/flannel-io/flannel">Flannel</a></li></ul><p>I am going to talk about Calico.</p><p><em>Before we begin calico for Windows, it is important that you understand the </em><a href="https://docs.projectcalico.org/getting-started/windows-calico/limitations"><strong><em>limitations and known issues</em></strong></a><strong><em> </em></strong><em>of Calico for Window.</em></p><h4><strong>Prerequisites</strong></h4><p>Install and configure the <a href="https://aws.amazon.com/cli/">AWS CLI</a>, <a href="https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html">kubectl</a>, <a href="https://docs.aws.amazon.com/eks/latest/userguide/getting-started-eksctl.html">eksctl</a> and <a href="https://docs.projectcalico.org/getting-started/clis/calicoctl/install">calicoctl</a> on the machine you will use to create and manage the EKS cluster.</p><h4>Let’s begin</h4><p>Because the Kubernetes and Calico control components do not run on Windows yet, a hybrid Linux/Windows cluster is required. First you create a Linux cluster for Calico components, then you join Windows nodes to the Linux cluster.</p><p>Create an EKS cluster and deploy the Calico components on Linux node by following <a href="https://docs.projectcalico.org/getting-started/kubernetes/managed-public-cloud/eks">Calico documentation</a>.</p><p><strong><em>Note:</em></strong><em> If you want to have custom Calico IP pool , edit </em><em>calico-vxlan.yaml and update CALICO_IPV4POOL_CIDR environment variable with your custom CIDR.</em></p><p>Verify that the Calico DaemonSet is running with your required IP pool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hLNuhX5cAPhhnmoqJAlpdA.png" /><figcaption>kubectl get daemonset calico-node — namespace kube-system</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*geopVFBxF1S6HNoknMULhQ.png" /><figcaption>calicoctl get ippool</figcaption></figure><p>Enable <a href="https://docs.aws.amazon.com/eks/latest/userguide/windows-support.html">Windows support to Amazon EKS clusters</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YvJLDe7XYb05u1SZ2Gdllg.png" /></figure><p>Now attach a self managed Windows node group to the cluster using<a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-windows-workers.html"> eksctl utility</a>.</p><p>Apply following user role binding to the cluster.</p><pre>apiVersion: rbac.authorization.k8s.io/v1<br>kind: ClusterRoleBinding<br>metadata:<br>  name: nodes-cluster-admin<br>roleRef:<br>  apiGroup: rbac.authorization.k8s.io<br>  kind: ClusterRole<br>  name: cluster-admin<br>subjects:<br>- apiGroup: rbac.authorization.k8s.io<br>  kind: Group<br>  name: system:nodes</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oXog3pad7_U9tKGmxsKIJg.png" /></figure><p>Verify that you have a single pool with VXLANMODE Always.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OIPCYehn-ii7ms29ZHn1ZA.png" /><figcaption>calicoctl get ippool -o wide</figcaption></figure><p>For Linux control nodes using Calico networking, strict affinity must be set to true. This is required to prevent Linux nodes from borrowing IP addresses from Windows nodes:</p><p>$ calicoctl ipam configure --strictaffinity=true</p><p>Now let’s setup Calico as Windows services on the EKS Windows worker node(s).</p><p>Access windows node with RDP.</p><p>Enable TLS v1.2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5-nfQhzPzhFTdVEvCEfafA.png" /></figure><p>Create the following directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*zHHTHNAPKW1lr-OFMWmhqQ.png" /></figure><p>Download kubectl cli and place it under<strong> </strong><strong>c:\k\.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*trSpDl7bJKV-hjRAmV9GZg.png" /><figcaption>curl -o c:\k\kubectl.exe <a href="https://amazon-eks.s3.us-west-2.amazonaws.com/1.18.9/2020-11-02/bin/windows/amd64/kubectl.exe">https://amazon-eks.s3.us-west-2.amazonaws.com/<strong>1.18.9</strong>/2020-11-02/bin/windows/amd64/kubectl.exe</a></figcaption></figure><p>Place kubelet and kube-proxy under the same location ,<strong>c:\k\. </strong>Since we are using AWS optimised AMI for EKS , we can find those binaries under <strong>C:\Program Files\Kubernetes.</strong></p><p>Copy kubeconfig file and kubelet-config (used by kubelet) from <strong>c:\ProgramData\kubernetes</strong> to each Windows node to the file, <strong>c:\k\config and c:\k\kubelet-config.json</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*cfLXqnC0lRczZkCyBdP3DQ.png" /><figcaption>Copy-Item C:\ProgramData\kubernetes\kubeconfig c:\k\config</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NbyATMF0l-j-BJ_0i4vDyA.png" /><figcaption>Copy-Item C:\ProgramData\kubernetes\kubelet-config.json c:\k\kubelet-config.json</figcaption></figure><p>Download and run Calico for Windows installation scripts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZG5RfSAAhulv1dxa7yt-rQ.png" /><figcaption>Invoke-WebRequest <a href="https://docs.projectcalico.org/scripts/install-calico-windows.ps1">https://docs.projectcalico.org/scripts/install-calico-windows.ps1</a> -OutFile c:\install-calico-windows.ps1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JEV3tpjxyTnpJ2binQ5qAQ.png" /><figcaption>c:\install-calico-windows.ps1 -DownloadOnly yes -KubeVersion<strong> 1.18.9</strong></figcaption></figure><p>Update the highlighted environment variables inside the calico config file located inside <strong>c:\CalicoWindows\config.ps1 </strong>as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9fCMBM8oL9dTAwRCyVpNBw.png" /></figure><p>Run the installer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*p7HUNoMsDdbWuXuaM_-64w.png" /></figure><p>EKS optimised AMI has pre configured kubelet and kube-proxy services which configured to work with VPC CNI. Let’s remove it using the scripts provided in the Calico package.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cRKxTXQFHKVbNRd6jynfUA.png" /><figcaption>C:\CalicoWindows\kubernetes\uninstall-kube-services.ps1</figcaption></figure><p>It is observed after initialising Calico for Windows, AWS metadata server is no longer reachable. To fix that follow the below steps.</p><pre># View existing routes</pre><pre><strong><em>Get-NetRoute</em></strong></pre><pre># Retrieve interface index for primary routes (assuming node&#39;s subnet is 192.168.64.0/19)</pre><pre><strong><em>$PvtIpIfaceIndex = (Get-NetRoute -DestinationPrefix 192.168.64.* | select -First 1).InterfaceIndex</em></strong></pre><pre># add AWS metadata route</pre><pre><strong><em>New-NetRoute -DestinationPrefix 169.254.169.254/32 -InterfaceIndex $PvtIpIfaceIndex</em></strong></pre><pre>#Check metadata</pre><pre>I<strong><em>nvoke-RestMethod -uri http://169.254.169.254/latest/meta-data/</em></strong></pre><p>Update the <strong>pod-infra-container-image</strong> argument inside the <strong><em>C:\CalicoWindows\kubernetes\kubelet-service.ps1 </em></strong><em>as </em><strong><em>amazonaws.com/eks/pause-windows:latest.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IR0j3_UF5oyqDwBWZZBtGQ.png" /></figure><p>Update the <strong>config</strong> argument inside the <strong><em>C:\CalicoWindows\kubernetes\kubelet-service.ps1 </em></strong><em>as </em><strong>c:\k\kubelet-config.json</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*Vq8xwQ-ZWUYUmRjy7rBUVA.png" /></figure><p>Install the kubelet and kube-proxy service using quickstart script provided in the Calico package , <strong><em>C:\CalicoWindows\kubernetes\install-kube-services.ps1</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YOxNVhTzimWvswbvV7g7ig.png" /></figure><p>Now start the kubelet and kube-proxy services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*oLhjKofLHpkNmUXE5Tw0VA.png" /></figure><p>Verify the service status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*Y1KPe74DEqqSUNu0a6oIGA.png" /><figcaption>Get-Service -Name Calico*, kube*</figcaption></figure><p>Now check the node status and verify all nodes are able to join the cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vpfe-r8atD7P99XYD8xU1Q.png" /></figure><p>Now try deploying a sample application and verify pods are getting IP from Calico pool.</p><pre>---<br>apiVersion: apps/v1<br>kind: Deployment<br>metadata:<br>    name: windows-server-iis<br>spec:<br>    selector:<br>        matchLabels:<br>            app: windows-server-iis<br>    replicas: 1<br>    template:<br>        metadata:<br>            labels:<br>                app: windows-server-iis<br>        spec:<br>            containers:<br>            - name: windows-server-iis<br>              image: mcr.microsoft.com/windows/servercore:1809<br>              imagePullPolicy: IfNotPresent<br>              command:<br>              - powershell.exe<br>              - -command<br>              - &quot;Add-WindowsFeature Web-Server; Invoke-WebRequest -UseBasicParsing -Uri &#39;https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.6/ServiceMonitor.exe&#39; -OutFile &#39;C:\\ServiceMonitor.exe&#39;; echo &#39;&lt;html&gt;&lt;body&gt;&lt;br/&gt;&lt;br/&gt;&lt;marquee&gt;&lt;H1&gt;Hello EKS!!!&lt;H1&gt;&lt;marquee&gt;&lt;/body&gt;&lt;html&gt;&#39; &gt; C:\\inetpub\\wwwroot\\default.html; C:\\ServiceMonitor.exe &#39;w3svc&#39;; &quot;<br>            nodeSelector:<br>              kubernetes.io/os: windows<br>            <br>---<br>apiVersion: apps/v1<br>kind: Deployment<br>metadata:<br>    name: nginx-deployment<br>spec:<br>    selector:<br>        matchLabels:<br>            app: nginx<br>    replicas: 1<br>    template:<br>        metadata:<br>            labels:<br>                app: nginx<br>        spec:<br>            containers:<br>            - name: nginx<br>              image: nginx:1.7.9<br>              securityContext:<br>                privileged: true<br>            nodeSelector:<br>                beta.kubernetes.io/os: linux</pre><p>Validate the pod status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sEqnvSs_S8VuFN9wjHn3qg.png" /></figure><h3>Conclusion</h3><p>That is it! You have configured your Windows/Linux worker nodes with Open source Calico networking.</p><p><em>Reference:</em></p><ul><li><a href="https://docs.projectcalico.org/getting-started/windows-calico/kubernetes/standard">Install Calico for Windows</a></li><li><a href="https://aws.amazon.com/blogs/containers/open-source-calico-for-windows-containers-on-amazon-eks/">Open Source Calico for Windows Containers on Amazon EKS | Amazon Web Services</a></li><li><a href="https://github.com/tigera-solutions/install-calico-for-windows/tree/master/cluster/aws">tigera-solutions/install-calico-for-windows</a></li></ul><p><em>More content at </em><a href="http://plainenglish.io/"><strong><em>plainenglish.io</em></strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb741918f1e9" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/aws-eks-calico-for-windows-networking-eb741918f1e9">AWS EKS: Calico for Windows networking</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>