<?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 Anant Wakchoure on Medium]]></title>
        <description><![CDATA[Stories by Anant Wakchoure on Medium]]></description>
        <link>https://medium.com/@wanant0312?source=rss-3882e16b957a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*RaeegT05A9KBjY-RK89eZA.jpeg</url>
            <title>Stories by Anant Wakchoure on Medium</title>
            <link>https://medium.com/@wanant0312?source=rss-3882e16b957a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 22:36:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wanant0312/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[Modernizing Legacy Applications: From Monolith to Cloud-Native Architecture]]></title>
            <link>https://medium.com/@wanant0312/modernizing-legacy-applications-from-monolith-to-cloud-native-architecture-e35f0f1cb687?source=rss-3882e16b957a------2</link>
            <guid isPermaLink="false">https://medium.com/p/e35f0f1cb687</guid>
            <category><![CDATA[legacy-modernization]]></category>
            <category><![CDATA[modernization]]></category>
            <category><![CDATA[togaf]]></category>
            <dc:creator><![CDATA[Anant Wakchoure]]></dc:creator>
            <pubDate>Sun, 30 Aug 2026 09:52:28 GMT</pubDate>
            <atom:updated>2026-08-30T09:52:28.874Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Modernization is no longer just a technology upgrade; it is a business imperative.</em></strong></p><p>As organizations strive for greater agility, scalability, and operational efficiency, many continue to face a common challenge: business critical applications running on modern cloud platforms while still constrained by legacy monolithic architectures.</p><p>During a recent engagement with an automotive application, hosted on AWS, I had the opportunity to help define and execute a modernization strategy aimed at overcoming these limitations. The journey reinforced an important reality: successful modernization is not simply about migrating workloads, but about rethinking architecture, improving resilience, and enabling future innovation.</p><p>In this article, I’ll walk you through the main steps we followed, highlight the obstacles we encountered, and share the key lessons that helped us achieve a smooth and successful modernization.</p><h4><strong>Problem Statement:</strong></h4><p>The application had already been migrated to AWS through a lift-and-shift approach. However, several architectural challenges remained:</p><p>✅ Tightly coupled frontend and backend components</p><p>✅ Monolithic deployment model hosted on EC2/JBoss</p><p>✅ Growing complexity due to multiple dependent systems</p><p>✅ More than 1000 APIs creating governance and security challenges</p><p>✅ Non-scalable file handling mechanisms</p><p>✅ Limited adoption of cloud-native capabilities</p><p>✅ An older Java version (Java 8)</p><p>The application was running on AWS but was still dependent on a monolithic architecture and Java 8, resulting in technical debt, slower release cycles, limited scalability, and challenges in adopting modern cloud-native capabilities.</p><p>As business demands increased, it became clear that scalability, governance, security, and operational efficiency required a different architectural direction.</p><blockquote><strong>Modernization Approach:</strong></blockquote><p>Our modernization strategy was guided by enterprise architecture principles aligned with the <strong>TOGAF framework</strong>. Rather than focusing solely on technology replacement, we evaluated every architectural decision against business goals, operational needs, scalability requirements, and long-term maintainability.</p><p><strong>Key TOGAF-aligned principles applied during modernization:</strong></p><p><strong>1.</strong> <strong>Business Continuity First</strong></p><p>The application supported critical business processes, making uninterrupted service a primary objective. A phased modernization approach was selected instead of a complete rewrite, allowing legacy and modernized services to coexist during the transition.</p><p><strong>2.</strong> <strong>Maximize Reuse Before Replacement</strong></p><p>Existing business capabilities and proven application components were preserved wherever possible. Only areas creating technical debt, scalability challenges, or operational inefficiencies were modernized.</p><p><strong>3.</strong> <strong>Service Oriented Architecture</strong></p><p>API Gateway was introduced as a centralized service access layer, promoting standardized integration, improved governance, and future microservices enablement.</p><p><strong>4.</strong> <strong>Technology Independence</strong></p><p>Decoupling frontend, backend, and integration layers reduced dependency on specific technologies and enabled future modernization without impacting core business functionality.</p><p><strong>5.</strong> <strong>Security by Design</strong></p><p>Security controls were embedded as architectural requirements rather than post-implementation enhancements, including OAuth/OIDC, WAF, encryption, secrets management, and private network deployment.</p><p><strong>6.</strong> <strong>Data is an Enterprise Asset</strong></p><p>Application data was protected through controlled access patterns, encryption, database security controls, and centralized audit capabilities, ensuring integrity and regulatory compliance.</p><p><strong>7.</strong> <strong>Scalability and Operational Excellence</strong></p><p>Cloud-native services such as ECS Fargate, Redis, AWS Batch, and API Gateway were introduced to improve scalability, resilience, observability, and operational efficiency.</p><p>Rather than pursuing a high-risk “big bang” rewrite, we adopted a phased modernization strategy guided by cloud-native architecture principles and <strong>TOGAF enterprise architecture best practices</strong>. The objective was to preserve business continuity while systematically reducing technical debt, improving governance, strengthening security, and enabling future business capabilities.</p><p>The introduction of Amazon API Gateway supported multiple enterprise architecture objectives:</p><p>· <strong>Common Use Applications Principle</strong> through centralized API management</p><p>· <strong>Service Orientation Principle</strong> through standardized API access</p><p>· <strong>Control Technical Diversity Principle</strong> by reducing integration complexity</p><p>· <strong>Interoperability Principle</strong> through consistent communication patterns</p><p>· <strong>Security Principle</strong> via centralized authentication and authorization</p><p>The <strong>architecture</strong> enables <strong>legacy and modernized services to coexist</strong>, allowing incremental migration without disrupting business operations.</p><blockquote><strong>Evolution of Architecture:</strong></blockquote><p><strong>The original architecture reflected a traditional monolithic deployment model:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*SrcB7PAfJ5_ue7AC9yXKaQ.png" /></figure><ul><li>Application workloads hosted on EC2</li><li>Coupled presentation and business layers</li><li>Direct integration patterns</li><li>Limited scalability and operational flexibility</li></ul><p><strong>Target architecture introduces a modern, scalable platform:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*xBn-pBQTX611dZX8849k0g.png" /></figure><ul><li>API Gateway for secure API governance</li><li>ECS-Fargate based containerized workloads</li><li>Private VPC deployment model</li><li>AWS Batch for background processing</li><li>Redis for performance optimization</li><li>Managed integrations with enterprise platforms</li><li>Enhanced monitoring and observability</li></ul><p>This approach not only improves scalability and maintainability but also establishes a clear path toward future microservices adoption.</p><blockquote><strong>Security by Design</strong></blockquote><p>🔒 OIDC/OAuth 2.0 based authentication via SecureAuth</p><p>🔒 AWS WAF protection for UI and API endpoints</p><p>🔒 Secure API access through API Gateway</p><p>🔒 Private subnet deployment with no direct internet exposure</p><p>🔒 API Gateway → VPC Link → Load Balancer → Application access pattern</p><p>🔒 End-to-end TLS 1.2+ encryption</p><p>🔒 Secrets management using AWS Secrets Manager and AWS KMS</p><p>🔒 Restricted access to Oracle RDS databases</p><p>🔒 Centralized auditing, logging, and tracing through CloudTrail and X-Ray</p><p>This security-first architecture helps improve compliance, resiliency, and operational confidence across the platform.</p><blockquote><strong>Architecture Governance Perspective:</strong></blockquote><p>A key success factor was maintaining architecture governance throughout the modernization journey.</p><p>The modernization roadmap was driven by the following considerations:</p><ul><li>Business value realization</li><li>Risk reduction</li><li>Incremental delivery</li><li>Technology standardization</li><li>Security and compliance</li><li>Operational sustainability</li></ul><p>This governance-led approach ensured that modernization activities remained aligned with both immediate business priorities and long-term enterprise objectives.</p><blockquote><strong>Key Takeaway</strong></blockquote><p>From an enterprise architecture perspective, successful modernization is not about replacing technology. It is about aligning business strategy, application architecture, data management, security, and operational capabilities through a governed transformation roadmap.</p><p>Following <strong>TOGAF-inspired architecture principles</strong> helped ensure that every modernization decision contributed to measurable business outcomes while establishing a scalable foundation for future innovation.</p><ul><li>Balance business continuity with innovation</li><li>Reduce technical debt incrementally</li><li>Strengthen governance and security</li><li>Enable scalability and operational excellence</li><li>Create a foundation for future digital transformation</li></ul><p>By introducing API governance, containerization, cloud-native services, and security-driven architecture, organizations can transform legacy applications into platforms ready for the next decade of growth.</p><p>#AWS #CloudModernization #SolutionArchitecture #DigitalTransformation #APIManagement #Microservices #EnterpriseArchitecture #SecurityArchitecture #Containerization #CloudNative #ECS #APIGateway #SoftwareArchitecture #TechnologyLeadership #Innovation #AWSCloud #ModernizationJourney</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e35f0f1cb687" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon Bedrock AgentCore Building Enterprise-Grade AI Agents at Scale!!]]></title>
            <link>https://medium.com/@wanant0312/amazon-bedrock-agentcore-building-enterprise-grade-ai-agents-at-scale-e062ff0d77de?source=rss-3882e16b957a------2</link>
            <guid isPermaLink="false">https://medium.com/p/e062ff0d77de</guid>
            <category><![CDATA[aws-bedrock-agentcore]]></category>
            <dc:creator><![CDATA[Anant Wakchoure]]></dc:creator>
            <pubDate>Sun, 16 Aug 2026 12:56:34 GMT</pubDate>
            <atom:updated>2026-08-16T12:56:34.058Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*tU4XtdV8qVRgRcmD2R8tkA.png" /></figure><h4><strong>AgentCore provides:</strong></h4><p>✅Advanced tools to enhance agent capabilities<br> ✅Secure, purpose-built infrastructure for enterprise-scale deployments<br> ✅Governance and operational controls for trustworthy AI<br> ✅Compatibility with any model and popular open-source frameworks</p><p>This flexibility allows organizations to leverage open source innovation while benefiting from enterprise grade security and reliability. It’s exciting to see Amazon Bedrock AgentCore as the strategic technology foundation for developing agentic applications on AWS.</p><p>Built for flexibility, <strong>Amazon Bedrock AgentCore</strong> provides a set of modular services that can be used independently or integrated together to accelerate the development of enterprise grade agentic applications.</p><p>🔹<strong>Runtime</strong><br> A secure, serverless environment for hosting AI agents and tools. AgentCore Runtime enables teams to rapidly experiment, scale successful solutions, and accelerate time to market for AI applications.</p><p>🔹 <strong>Identity</strong><br> Simplifies agent authentication and authorization by integrating with AWS services and leading identity providers, including Microsoft Entra ID, Okta, Amazon Cognito, Slack, and Zoom.</p><p>🔹 <strong>Memory</strong><br> Provides managed infrastructure that enables agents to retain and recall context, allowing for more personalized, intelligent, and context-aware interactions.</p><p>🔹 <strong>Tools</strong><br> Extend agent capabilities with built-in services such as:</p><p>• <strong>Code Interpreter</strong> for secure code execution and advanced problem-solving.</p><p>• <strong>Browser Tool</strong> for navigating websites, completing forms, and interacting with web applications in a secure sandbox environment.</p><p>🔹 <strong>Gateway</strong><br> Seamlessly connects agents to APIs, AWS Lambda functions, and enterprise services, eliminating the complexity of custom integrations.</p><p>🔹 <strong>Observability</strong><br> Offers comprehensive monitoring, tracing, and metrics through Open Telemetry-powered dashboards, helping teams optimize performance and maintain reliability at scale.</p><h4><strong>AgentCore Runtime: The Foundation of Every Agent:</strong></h4><p>At the core of AgentCore is the <strong>Runtime</strong>, a containerized execution environment that hosts agent and tool workloads. It enables agents to:</p><p>✅ Process user requests<br>✅ Maintain conversational context<br>✅ Execute actions and workflows using AI capabilities</p><p>For example, a customer support agent can answer product inquiries, process returns, and intelligently escalate complex cases to human representatives, all within a secure and scalable environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*pqf85p5AdM3OkONXeECtvg.png" /></figure><p>When using <strong>AgentCore</strong>, developers can build agentic applications using their own code and leverage various <strong>decorators</strong> to seamlessly add features and functionality. Once the implementation is complete, the agent or tool can be deployed with just a few lines of code.</p><p><strong>AgentCore</strong> automatically packages the application into a Docker image, pushes it to an <strong>Amazon ECR (Elastic Container Registry)</strong> repository, and deploys it to a <strong>serverless runtime environment</strong>. This managed environment automatically scales based on demand, ensuring optimal performance and efficiency. Each deployed agent is provided with a dedicated <strong>endpoint</strong>, making it easy for consumers and applications to invoke and interact with it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*G355oJhPaNz_ZOC2ZzM8Qw.png" /></figure><p><strong>Amazon Bedrock AgentCore Runtime</strong> hosts agents and tools using a serverless execution model similar to <strong>AWS Lambda</strong>. When a request arrives, AgentCore provisions a lightweight <strong>microVM</strong>, loads the pre-built Docker image, and executes the request handler.</p><p>The microVM stays active for the duration of the session, enabling faster interactions throughout the conversation. When the session ends or demand decreases, AgentCore automatically scales down and releases resources, ensuring efficient and cost-effective operation.</p><blockquote><strong>How AgentCore Runtime Handles Consumer Requests:</strong></blockquote><ul><li><strong>On-demand provisioning:</strong> Compute resources are provisioned dynamically when an agent is invoked.</li><li><strong>Isolated execution:</strong> Each request runs in a dedicated microVM for enhanced security and reliability.</li><li><strong>Automatic scaling:</strong> The runtime scales seamlessly based on request volume and workload demands.</li><li><strong>Cost optimization:</strong> By utilizing spot instances, AgentCore delivers efficient performance while optimizing infrastructure costs.</li></ul><blockquote><strong>Deploying an “AI Agent” with Bedrock AgentCore Runtime:</strong></blockquote><p>Usually, deploying an Agent in the cloud is a multi-stage, complicated operation with a lot of requirements. AgentCore Runtime allows you to host your agent with a very simple approach, with minimum requirements of code.</p><p>The following example demonstrates how to create an agent with an LLM model hosted on Bedrock:</p><p>from strands import Agent, tool<br> from strands_tools import calculator # Import the calculator tool<br> import argparse<br> import json<br> from bedrock_agentcore.runtime import BedrockAgentCoreApp<br> from strands.models import BedrockModel</p><p>app = BedrockAgentCoreApp()</p><p># Create a custom tool <br> @tool<br> def weather():<br> “”” Get weather “”” # Dummy implementation<br> return “sunny”</p><p>model_id = “us.anthropic.claude-3–7-sonnet-20250219-v1:0”<br> model = BedrockModel(<br> model_id=model_id,<br> )<br> agent = Agent(<br> model=model,<br> tools=[calculator, weather],<br> system_prompt=”You’re a helpful assistant. You can do simple math calculation, and tell the weather.”<br> )</p><p>@app.entrypoint<br> def strands_agent_bedrock(payload):<br> “””<br> Invoke the agent with a payload<br> “””<br> user_input = payload.get(“prompt”)<br> print(“User input:”, user_input)<br> response = agent(user_input)<br> return response.message[‘content’][0][‘text’]</p><p>if __name__ == “__main__”:<br> app.run()</p><p>has context menu</p><p>The <strong>Amazon Bedrock AgentCore Python SDK</strong> simplifies agent deployment by providing a lightweight interface that automatically exposes your agent as an Amazon Bedrock-compatible HTTP service. This allows developers to focus on business logic rather than managing server infrastructure.</p><p>Simply decorate your function with <strong>@app.entrypoint</strong> and use the SDK’s <strong>configure()</strong> and <strong>launch()</strong> capabilities. AgentCore then handles packaging, deployment, and runtime provisioning, automatically creating the underlying infrastructure required to run your agent at scale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*k_KM8PFfWE6zKcXTtpG94A.png" /></figure><blockquote><strong>What happens behind the scenes?</strong></blockquote><p>When you use <strong>BedrockAgentCoreApp</strong> it automatically:</p><ul><li>Creates an HTTP server that listens on port 8080</li><li>Implements the required /invocations endpoint for processing the agent’s requirements</li><li>Implements the /ping endpoint for health checks (very important for asynchronous agents)</li><li>Handles proper content types and response formats</li><li>Manages error handling according to the AWS standards</li></ul><p><strong>1) /invocations — POST</strong></p><p>This is the primary agent interaction endpoint with JSON input and JSON/SSE output. The endpoint receives incoming requests from users or applications and processes them through the agent’s business logic.</p><p>The /invocations endpoint serves several key purposes:</p><ul><li>Direct user interactions and conversations</li><li>API integrations with external systems</li><li>Batch processing of multiple requests</li></ul><p>Real-time streaming responses for long-running operations</p><p><strong>Example request format:</strong></p><p>Content-Type: application/json</p><p>{</p><p>“prompt”: “What’s the weather today?”</p><p>}</p><p>The agent can respond using either of the following formats, depending on the use case:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*UnqiI86eZGdezGv8zbHz1w.png" /></figure><p><strong>JSON response (non-streaming)</strong><br>Provides complete responses for requests that can be processed quickly. JSON responses are ideal for:</p><ul><li>Simple question-answering scenarios</li><li>Deterministic computations</li><li>Quick data lookups</li><li>Status confirmations</li></ul><p>Content-Type: application/json</p><p>{</p><p>“response”: “Your agent’s response here”,</p><p>“status”: “success”</p><p>}</p><p><strong>SSE response (streaming)</strong><br> Server-sent events (SSE) let you deliver real-time streaming responses. It enables incremental response delivery for long-running operations and improved user experience. SSE responses are ideal for:</p><ul><li>Real-time conversational experiences</li><li>Progressive content generation</li><li>Long-running computations with intermediate results</li><li>Live data feeds and updates</li></ul><p>Content-Type: text/event-stream</p><p>data: {“event”: “partial response 1”}</p><p>data: {“event”: “partial response 2”}</p><p>data: {“event”: “final response”}</p><p><strong>2) /ping — GET</strong></p><p>Verifies that your agent is operational and ready to handle requests</p><p>The /ping endpoint serves several key purposes:</p><ul><li>Service monitoring to detect and remediate issues</li><li>Automated recovery through AWS’s managed infrastructure</li></ul><p>If your agent needs to process background tasks, you can indicate it with the /ping status. If the ping status is HealthyBusy the runtime session is considered active and can not accept new requests.</p><p>{ “status”: “&lt;status_value&gt;”,</p><p>“time_of_last_update”: &lt;unix_timestamp&gt;</p><p>}</p><p>status is either one of those values:</p><ul><li>Healthy — System is ready to accept new work</li><li>HealthyBusy — System is operational but currently busy with async tasks</li></ul><blockquote><strong>Deploying an “MCP Server” with Bedrock AgentCore Runtime:</strong></blockquote><p>Bedrock AgentCore Runtime lets you deploy and run Model Context Protocol (MCP) servers in the AgentCore Runtime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*9B5lCwTgGcfcG32J2zjYQw.png" /></figure><p>Similar to defining an AI agent, the AWS Python SDK provides a lightweight <strong>@mcp.tool</strong> decorator that makes it easy to register and expose functions as tools for your MCP server. This allows developers to quickly define reusable capabilities while focusing on the tool’s core logic rather than the underlying integration details.</p><p>MCP is a protocol that allows AI models to securely access external data and tools. Key concepts:</p><ul><li><strong>Tools</strong>: Functions that the AI can call to perform actions</li><li><strong>Streamable HTTP</strong>: Transport protocol used by AgentCore Runtime</li><li><strong>Session Isolation</strong>: Each client gets isolated sessions via Mcp-Session-Id header</li><li><strong>Stateless Operation</strong>: Servers must support stateless operation for scalability</li></ul><h4><strong>Key Takeaways: Amazon Bedrock AgentCore:</strong></h4><ul><li>🚀 <strong>Accelerates AI Agent Development</strong> with modular services for runtime, memory, identity, tools, observability, and integrations.</li><li>🔒 <strong>Enterprise-Ready by Design</strong> with secure execution, governance controls, and isolated workloads.</li><li>⚡ <strong>Serverless Runtime</strong> automatically packages, deploys, scales, and manages AI agents without infrastructure overhead.</li><li>🧠 <strong>Built-In Memory</strong> enables agents to retain context and deliver more personalized interactions.</li><li>🔗 <strong>Seamless Integration</strong> with AWS services, enterprise APIs, identity providers, and external applications.</li><li>🛠️ <strong>Extensible Tooling</strong> through Code Interpreter, Browser Tool, custom tools, and MCP servers.</li><li>📈 <strong>Observability &amp; Monitoring</strong> powered by OpenTelemetry for tracing, metrics, and performance optimization.</li><li>🤖 <strong>Model-Agnostic Architecture</strong> supports Amazon Bedrock models as well as popular open-source frameworks.</li><li>🌐 <strong>MCP Support</strong> enables secure access to external tools and data through standardized interfaces.</li><li>🔄 <strong>Automatic Scaling &amp; Cost Optimization</strong> using on-demand provisioning and efficient resource management.</li></ul><h4><strong>MCP in a Nutshell:</strong></h4><ul><li><strong>Tools</strong>: Expose functions that AI agents can invoke to perform actions.</li><li><strong>Streamable HTTP</strong>: Enables efficient communication and real-time streaming responses.</li><li><strong>Session Isolation</strong>: Uses Mcp-Session-Id to keep client sessions secure and independent.</li><li><strong>Stateless Design</strong>: Supports scalable and resilient deployments without maintaining server-side session state.</li></ul><p><strong>Bottom line:</strong> Amazon Bedrock AgentCore simplifies the journey from prototype to production, enabling organizations to build secure, scalable, and intelligent agentic applications with minimal operational complexity. 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e062ff0d77de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Migrating on-premises Applications to AWS]]></title>
            <link>https://medium.com/@wanant0312/migrating-on-premises-applications-to-aws-71e2cd859dc0?source=rss-3882e16b957a------2</link>
            <guid isPermaLink="false">https://medium.com/p/71e2cd859dc0</guid>
            <category><![CDATA[aws-migration]]></category>
            <category><![CDATA[aws-migration-services]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Anant Wakchoure]]></dc:creator>
            <pubDate>Sun, 21 Sep 2025 09:43:37 GMT</pubDate>
            <atom:updated>2025-09-21T09:43:37.429Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gai7-x-Fp4QuT7gMVunkzA.png" /></figure><p>I’d like to share my experience of migrating 300 machines from our data center to AWS Cloud, which we completed in several well-planned phases. Throughout this journey, we faced a variety of challenges and learned some important lessons. In this article, I’ll walk you through the main steps we followed, highlight the obstacles we encountered, and share the key lessons that helped us achieve a smooth and successful migration.</p><h4>SITUATION</h4><p>Our organization was running critical business applications on aging on-premise infrastructure. Frequent downtime, scalability issues during peak loads, End of Life support and high maintenance costs were the key issues. We decided to explore migration to AWS Cloud to improve reliability, scalability, and cost efficiency as part of “Cloud first approach” organizations strategy.</p><p><strong>Applications running on 300 physical machines with various services like:</strong></p><p>· <strong>Database Services</strong>: Oracle, PostgreSQL, MySQL etc.</p><p>· <strong>Web &amp; Application Servers</strong>: Nginx, Apache, Tomcat, LAMP stack etc.</p><p>· <strong>DNS Services</strong>: Internal DNS (e.g., BIND, Windows DNS) etc.</p><p>· <strong>Monitoring &amp; Logging</strong>: Prometheus, Grafana, ELK Stack etc.</p><p>· <strong>Authentication &amp; Identity</strong>: LDAP, Active Directory etc.</p><p>· <strong>CI/CD &amp; Automation</strong>: Jenkins, GitLab Runners, Cron Jobs etc.</p><p><strong>To manage all these machines and services, we needed:</strong></p><p>· <strong>Multiple Teams:</strong></p><p>Operations involve various teams like Virtualization, DC Ops, Monitoring, and Sys Admins working round-the-clock.</p><p>· <strong>Complex Management:</strong></p><p>Coordinating services, servers, and teams was highly complex and time-consuming.</p><p>· <strong>Scaling Difficulties:</strong></p><p>Scaling up or down is frequent but complicated, often requiring manual intervention.</p><p>· <strong>High Costs:</strong></p><p>Significant upfront capital (CapEx) for hardware and ongoing operational expenses (OpEx) for maintenance.</p><p>· <strong>Manual Processes:</strong></p><p>Most tasks are manual, making automation difficult and error-prone.</p><p>· <strong>Limited Automation:</strong></p><p>While virtualization helps, automating and maintaining processes across layers is still challenging.</p><p>· <strong>Time-Consuming Operations:</strong></p><p>Routine tasks like provisioning, patching, and monitoring consume a lot of time and effort.</p><h4>SOLUTION<strong><em>:</em></strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*DyW3QShF1cc05wkuFD3Zfg.png" /></figure><p><strong><em>Given the urgency — most of our infrastructure and applications were approaching end-of-life (EOL) support, and the legacy team responsible for these systems had already left the organization — migrating to AWS Cloud became a top priority</em>.</strong></p><h4>TASK</h4><p>As the Solution Architect, I was responsible for designing and guiding the AWS migration project. My key objectives were to:</p><ul><li><strong>Evaluate</strong> the existing on-premise infrastructure and application landscape to identify migration candidates and dependencies.</li><li><strong>Explore</strong> the 7 R migration strategies (Rehost, Replatform, Repurchase, Refactor, Retire, Retain, Relocate) to determine the most suitable approach for each workload.</li><li><strong>Design</strong> a robust, scalable, and secure AWS architecture aligned with business requirements and best practices.</li><li><strong>Develop</strong> a detailed migration roadmap, selecting appropriate AWS services and migration tools to ensure minimal business disruption.</li><li><strong>Establish</strong> security, compliance, and governance frameworks for the new cloud environment.</li></ul><p><strong>Collaborate</strong> with cross-functional teams to ensure knowledge transfer and a smooth transition to AWS.</p><h4><em>ACTION</em></h4><ul><li><strong>Assessment &amp; Planning:</strong><br>Conducted a comprehensive assessment of all on-premise workloads, mapping dependencies and identifying risks. Evaluated each application against the 7 R migration strategies. Given the urgency and resource constraints, we opted for the <strong>Rehosting (Lift and Shift)</strong> approach for most workloads to accelerate the migration and minimize business disruption.</li><li><strong>Architecture Design:</strong><br>Designed a scalable and secure AWS architecture, leveraging services such as EC2, RDS, S3, and VPC. Incorporated high availability, disaster recovery, and security best practices into the design.</li><li><strong>Migration Execution:</strong><br>Developed a phased migration plan, utilizing AWS Migration tools like AWS Application Migration Service (MGN) and Database Migration Service (DMS) to move workloads with minimal downtime. Established a hybrid environment to support a seamless transition.</li><li><strong>Security &amp; Compliance:</strong><br>Implemented robust security controls, including IAM, encryption, and network segmentation. Ensured compliance with organizational and regulatory requirements.</li></ul><p><strong>Knowledge Transfer:</strong><br>Facilitated training sessions and documentation for IT and support teams to manage the new AWS environment effectively.</p><h4>RESULT</h4><ul><li>Successfully migrated 95% of workloads to AWS within the planned 6-month timeline, despite the urgency and resource constraints.</li><li>Achieved a 30% reduction in infrastructure costs and improved application uptime to 99.9%.</li><li>Enhanced scalability and agility, enabling the business to respond quickly to changing demands.</li></ul><p>Received positive feedback from leadership and business users for improved performance, reliability, and future-readiness.</p><h3>Challenges Faced During Migration</h3><h3>Using AWS Application Migration Service (MGN)</h3><ul><li><strong>Agent Installation at Scale:</strong><br>Installing the MGN agent on 300 VMs required coordination across multiple teams and environments.</li><li><strong>Network Bandwidth Constraints:</strong><br>Continuous replication of large volumes of data impacted network performance during peak hours.</li><li><strong>Cutover Planning:</strong><br>Coordinating cutover windows with application owners was complex, especially for high-availability systems.</li><li><strong>Legacy OS Compatibility:</strong><br>Some older VMs had unsupported OS versions, requiring manual intervention or alternate migration paths.</li><li><strong>Security Group &amp; IAM Misconfigurations:</strong><br>Initial misconfigurations led to failed test launches and required multiple iterations to fix.</li></ul><h3>Using AWS Database Migration Service (DMS)</h3><ul><li><strong>Schema Conversion Issues:</strong><br>Migrating from Oracle to PostgreSQL required schema conversion using AWS SCT, which introduced compatibility issues.</li><li><strong>Replication Lag:</strong><br>During peak usage, Change Data Capture (CDC) replication lagged, delaying final cutover.</li><li><strong>Data Validation Complexity:</strong><br>Ensuring data consistency between source and target databases was time-consuming and required custom scripts.</li><li><strong>Firewall &amp; Connectivity:</strong><br>Ensuring secure and stable connectivity between on-prem DBs and AWS DMS replication instances was a challenge.</li></ul><h3>General Migration Challenges</h3><ul><li><strong>Dependency Mapping:</strong><br>Identifying hidden dependencies between services (e.g., app ↔ DB ↔ DNS) took longer than expected.</li><li><strong>Downtime Coordination:</strong><br>Aligning downtime windows across global teams and business units was logistically difficult.</li><li><strong>Change Management:<br></strong>Communicating changes and training teams on AWS tools and processes required extra effort.</li></ul><h3>Key Lessons Learned from Our AWS Migration</h3><h3>1. Start with a Clear Strategy</h3><ul><li>Evaluating the 7 R’s of migration helped us choose the right path — Rehost (Lift-and-Shift) — which minimized complexity and accelerated the migration timeline.</li></ul><h3>2. Discovery is Critical</h3><ul><li>Investing time in dependency mapping and workload grouping upfront avoided surprises during cutover.</li><li>Tools like AWS Migration Evaluator and Application Discovery Service were invaluable.</li></ul><h3>3. Pilot First, Scale Later</h3><ul><li>Running pilot migrations for a few VMs helped us validate the process, fine-tune configurations, and build team confidence before scaling to all 300 VMs.</li></ul><h3>4. Automate Wherever Possible</h3><ul><li>Leveraging AWS MGN and DMS allowed us to automate replication and cutover, reducing manual effort and human error.</li><li>Post-migration, tools like Auto Scaling, CloudWatch, and Systems Manager helped automate operations.</li></ul><h3>5. Plan for Downtime and Communication</h3><ul><li>Even with minimal-downtime tools, cutover planning required coordination across teams.</li><li>Clear communication with stakeholders was essential to avoid disruptions.</li></ul><h3>6. Security and Governance Shouldn’t Be an Afterthought</h3><ul><li>Setting up IAM roles, security groups, and CloudTrail early helped us maintain control and visibility throughout the migration.</li></ul><h3>7. Optimize After Migration</h3><ul><li>Post-migration, we used Compute Optimizer and Savings Plans to right-size instances and reduce costs.</li><li>Continuous monitoring helped us fine-tune performance and resource usage.</li></ul><h3>8. Expect the Unexpected</h3><ul><li>Some legacy systems required special handling or alternate tools.</li><li>Having a rollback plan and flexible timelines helped us manage risks.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71e2cd859dc0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generative AI: Shaping the Future of Work and Innovation]]></title>
            <link>https://medium.com/@wanant0312/generative-ai-shaping-the-future-of-work-and-innovation-016a2903f465?source=rss-3882e16b957a------2</link>
            <guid isPermaLink="false">https://medium.com/p/016a2903f465</guid>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[gen-ai-for-business]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[Anant Wakchoure]]></dc:creator>
            <pubDate>Sat, 16 Aug 2025 11:23:04 GMT</pubDate>
            <atom:updated>2025-08-16T11:23:04.071Z</atom:updated>
            <content:encoded><![CDATA[<p>Generative AI (Gen AI) is rapidly transforming the way professionals operate, create, and innovate. Far beyond a passing tech trend, Gen AI is becoming a strategic enabler for organizations aiming to stay competitive and future-ready.</p><h4>Understanding Generative AI</h4><p>Generative AI refers to machine learning models that can produce original content — text, images, audio, and more — by learning patterns from existing data. Unlike traditional AI, which focuses on prediction and classification, Gen AI is built to generate. Leading models like OpenAI’s GPT, Google’s Gemini, and Meta’s LLaMA can craft human-like responses, realistic visuals, and synthetic voices with remarkable accuracy.</p><h4>Why It Matters to Today’s Professionals</h4><p>Gen AI is already driving measurable impact across various domains, with real-world applications such as:</p><h4>Aerospace and Defence</h4><p>Generative AI is playing a transformative role in the aerospace and defence sectors, enhancing operational efficiency, innovation, and strategic capabilities. Key applications include:</p><ul><li><strong>Mission Planning &amp; Simulation</strong></li><li><strong><em>Example</em></strong>: Lockheed Martin uses Gen AI to simulate complex mission scenarios, enabling faster and more accurate planning for air and space operations.</li><li><strong>Predictive Maintenance</strong></li><li><strong><em>Example</em></strong>: Boeing integrates Gen AI models to analyze aircraft sensor data and predict component failures, reducing downtime and improving safety.</li><li><strong>Autonomous Systems Development</strong></li><li><strong><em>Example</em></strong>: DARPA leverages Gen AI to accelerate the design and testing of autonomous drones and robotic systems for reconnaissance and logistics.</li><li><strong>Cybersecurity &amp; Threat Detection</strong></li><li><strong><em>Example</em></strong>: Northrop Grumman applies Gen AI to detect and respond to cyber threats in real time, enhancing digital defence infrastructure.</li><li><strong>Design Optimization</strong></li><li><strong><em>Example</em></strong>: Airbus uses generative design algorithms to create lightweight, fuel-efficient aircraft components, reducing material waste and improving performance.</li><li><strong>Natural Language Intelligence for Command Systems</strong></li><li><strong><em>Example</em></strong>: Defence agencies are deploying Gen AI-powered virtual assistants to interpret and respond to voice commands in tactical environments.</li></ul><h4>Marketing &amp; Communications</h4><ul><li><em>Jasper AI</em>: Generates blog posts, email campaigns, and SEO content.</li><li><em>Canva Magic Write</em>: Crafts social media captions and ad copy.</li><li><em>Copy.ai</em>: Automates product descriptions and brand messaging.</li></ul><h4>Software Development</h4><ul><li><em>GitHub Copilot</em>: Suggests code, completes functions, and identifies bugs.</li><li><em>Amazon CodeWhisperer</em>: Offers contextual code recommendations.</li><li><em>Replit Ghostwriter</em>: Assists in building and debugging applications.</li></ul><h4>Design &amp; Product Innovation</h4><ul><li><em>Adobe Firefly</em>: Creates images, logos, and mockups from text prompts.</li><li><em>Figma AI Plugins</em>: Auto-generates wireframes and UI components.</li><li><em>Runway ML</em>: Enables video editing and visual effects generation.</li></ul><h4>Customer Engagement</h4><ul><li><em>ChatGPT &amp; Bard</em>: Power conversational agents and virtual assistants.</li><li><em>Synthesia</em>: Produces AI-generated video avatars for onboarding and training.</li><li><em>LivePerson</em>: Enhances customer service with AI-driven chatbots.</li></ul><h4>Data &amp; Analytics</h4><ul><li><em>Microsoft Copilot in Excel</em>: Summarizes data, creates charts, and automates reports.</li><li><em>Tableau Pulse</em>: Delivers real-time insights and alerts.</li><li><em>Narrative Science</em>: Converts data into natural language summaries.</li></ul><h4>Healthcare</h4><ul><li><em>Glass AI</em>: Generates clinical documentation and patient summaries.</li><li><em>DeepMind’s AlphaFold</em>: Predicts protein structures for drug discovery.</li><li><em>Nuance DAX</em>: Automates medical note-taking during patient visits.</li></ul><h4>Finance</h4><ul><li><em>Kensho</em>: Generates financial reports and market insights.</li><li><em>BloombergGPT</em>: Assists analysts with financial data interpretation.</li><li><em>Personetics</em>: Creates personalized banking experiences using Gen AI.</li></ul><h4>Education</h4><ul><li><em>Khanmigo (by Khan Academy)</em>: Acts as a tutor and teaching assistant.</li><li><em>Socratic by Google</em>: Helps students understand homework problems.</li><li><em>Quizlet AI</em>: Generates practice questions and study guides.</li></ul><h4>Legal</h4><ul><li><em>Harvey AI</em>: Drafts legal documents and conducts case research.</li><li><em>Casetext CoCounsel</em>: Assists lawyers with contract analysis and litigation prep.</li><li><em>DoNotPay</em>: Automates legal claims and consumer rights processes.</li></ul><p>These tools not only enhance productivity but also unlock new levels of creativity, scalability, and personalization.</p><h3>Key Challenges to Address</h3><p>Despite its potential, Gen AI presents several challenges:</p><ul><li>Bias &amp; Ethics: Outputs may reflect biases inherent in training data.</li><li>Data Privacy: Safeguarding sensitive information is critical.</li><li>Skill Gaps: Effective use requires upskilling and training.</li><li>Regulatory Compliance: Evolving AI regulations must be closely monitored.</li></ul><h3>Preparing for What’s Next</h3><p>To harness Gen AI effectively, organizations should:</p><ul><li>Promote AI literacy and provide targeted training.</li><li>Develop ethical frameworks and governance models.</li><li>Foster collaboration between technical and business teams.</li><li>Stay informed about regulatory changes and compliance requirements.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=016a2903f465" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hasura GraphQL Engine]]></title>
            <link>https://medium.com/@wanant0312/hasura-graphql-engine-1b68f0587949?source=rss-3882e16b957a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b68f0587949</guid>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[hasura-cloud]]></category>
            <category><![CDATA[hasura]]></category>
            <dc:creator><![CDATA[Anant Wakchoure]]></dc:creator>
            <pubDate>Sun, 20 Jul 2025 05:57:24 GMT</pubDate>
            <atom:updated>2025-07-20T05:57:24.743Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/307/1*rAs-UxcwsT_2jrrS21teoQ.png" /></figure><p>The Hasura is an open source engine which supercharges the building of modern applications by providing access to data via a single, composable, secure API endpoint.</p><p>It provides <strong>instant GraphQL and REST APIs</strong> on top of new or existing <strong>PostgreSQL databases</strong>.</p><p><strong><em>How</em></strong><em> </em><strong><em>Hasura Works:</em></strong></p><p>· <strong>GraphQL Schema &amp; API Generation</strong></p><p>Hasura operates based on a dynamic configuration system known as <strong>“Metadata.”</strong></p><p>Once the Hasura service is up and running, you can configure this metadata in several ways:</p><ul><li>Through the <strong>Hasura Console (UI)</strong></li><li>Using <strong>API calls</strong></li><li>Or by managing it as <strong>code in a Git repository</strong>, enabling integration with CI/CD pipelines.</li></ul><p><strong><em>This metadata includes:</em></strong></p><ul><li>Connection details for upstream data sources</li><li>Relationships between database models</li><li>Authorization rules and access policies</li></ul><p>Using this metadata, Hasura automatically generates a <strong>GraphQL schema</strong> and exposes a <strong>GraphQL API</strong> that clients can consume.</p><p><strong><em>Request Handling</em></strong></p><p>When a GraphQL request is received over HTTP:</p><ul><li>Hasura compiles the request into a <strong>T-SQL query</strong></li><li>It applies <strong>authorization rules</strong> using <strong>predicate push-down</strong>, ensuring that only permitted data is accessed and returned.</li></ul><p><strong><em>How Hasura Handles Real-Time Updates</em></strong></p><p><strong>1</strong>.<strong> GraphQL Subscriptions</strong></p><ul><li>Hasura supports the subscription operation in GraphQL.</li><li>Clients can subscribe to specific queries, and whenever the underlying data changes, Hasura pushes the updated data to the client over a WebSocket connection.</li></ul><p><strong>2. Live Query Execution</strong></p><ul><li>Hasura continuously monitors the database for changes that match the subscription query.</li><li>When a relevant change occurs (e.g., insert, update, delete), Hasura re-evaluates the query and sends the new result to the client.</li></ul><p><strong>3. Efficient Change Detection</strong></p><ul><li>Hasura uses live query multiplexing to efficiently manage multiple subscriptions.</li><li>It groups similar queries and minimizes database load by sharing execution plans.</li></ul><p><strong>4. Authorization in Real-Time</strong></p><ul><li>Just like with regular queries, Hasura applies authorization rules to every subscription.</li><li>This ensures users only receive updates for data they are allowed to access.</li></ul><p><strong>5. WebSocket Protocol</strong></p><ul><li>Subscriptions use the GraphQL over WebSocket protocol, which keeps a persistent connection open between the client and Hasura</li></ul><p><strong><em>Features of GraphQL Engine</em></strong></p><p><strong>1. Fine-Grained Authorization</strong></p><ul><li>Role-based access control with dynamic rules.</li><li>Permissions can be set at table, row, and column levels using session variables.</li></ul><p><strong>2. Auto-Generated GraphQL APIs</strong></p><ul><li>Instantly generates queries, mutations, and subscriptions based on your database schema.</li><li>Supports filtering, pagination, sorting, and nested queries.</li></ul><p><strong>3. Real-Time Subscriptions</strong></p><ul><li>Enables live updates via GraphQL subscriptions using WebSockets.</li><li>Ideal for building real-time apps like dashboards, chats, and collaborative tools.</li></ul><p><strong>4. Remote Schemas</strong></p><ul><li>Integrate other GraphQL services into Hasura’s unified API.</li><li>Useful for microservices architecture or combining multiple data sources.</li></ul><p><strong>5. Actions</strong></p><ul><li>Define custom business logic via REST endpoints or serverless functions.</li><li>Extend the GraphQL schema with custom mutations and queries.</li></ul><p><strong>6. Event Triggers</strong></p><ul><li>Automatically trigger webhooks on database changes (insert/update/delete).</li><li>Great for background jobs, notifications, and integrations.</li></ul><p><strong>7. REST API Support</strong></p><ul><li>Convert GraphQL queries into REST endpoints for broader compatibility.</li></ul><p><strong>8. Metadata Management</strong></p><ul><li>Store and manage schema, permissions, and configurations as metadata.</li><li>Supports version control and CI/CD workflows.</li></ul><p><strong>9. Multi-Database Support</strong></p><ul><li>Connect multiple databases (PostgreSQL, MySQL, SQL Server, BigQuery, etc.) in one Hasura instance.</li></ul><p><strong>10. Performance &amp; Scalability</strong></p><ul><li>Efficient query execution and caching.</li><li>Suitable for high-load production environments.</li></ul><p><strong>11. Open Source &amp; Cloud Options</strong></p><ul><li>Free to use with community support.</li><li>Hasura Cloud offers managed hosting, monitoring, and scaling.</li></ul><p><strong><em>Authorization in Hasura :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*61ZMqHyeRYfuZqE2SrY1ng.png" /></figure><p>Hasura allows you to define <strong>authorization rules</strong> that control access to specific rows (entities) and columns (fields) in your data. These rules are based on a combination of:</p><ul><li><strong>Data properties</strong> (e.g., values in a table)</li><li><strong>Session properties</strong> (e.g., user ID from a JWT or webhook)</li></ul><p>Hasura can extract session variables from <strong>JWT claims</strong> or a <strong>webhook</strong>, enabling secure, direct API access for end users. Read the docs for more details.</p><p><strong><em>Examples of Authorization Rules</em></strong></p><p><strong>1. Row-Level Access Based on Session Variables</strong></p><p>Grant access to rows by comparing table data with session variables.</p><p><em>Access is allowed only if the track’s album belongs to the current user.</em></p><p><strong>2. Field-Level Access Based on Roles</strong></p><p>Create <strong>role-based schemas</strong> to control which fields are visible to different roles.</p><p><strong>3. Column-to-Column Comparison</strong></p><p>Use dynamic values from other tables to control access.</p><p><em>Useful for features like subscription tiers or dynamic ACLs.</em></p><p><strong>4. Role Inheritance</strong></p><p>Combine multiple roles to create flexible permission models.</p><p><em>Users can access all profiles with limited fields, and their own profile with full details.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bOfJf7iXlCOlXAlihw2FXA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b68f0587949" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DISASTER RECOVERY IN AWS]]></title>
            <link>https://medium.com/@wanant0312/disaster-recovery-in-aws-ef76e1cc10d9?source=rss-3882e16b957a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef76e1cc10d9</guid>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[disaster-recovery]]></category>
            <category><![CDATA[disaster]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Anant Wakchoure]]></dc:creator>
            <pubDate>Thu, 24 Oct 2024 16:36:03 GMT</pubDate>
            <atom:updated>2024-10-24T16:36:03.790Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dPLEF0KfQEuE5FqA.png" /></figure><p>In this blog, I am going to explain you Disaster Recovery (DR) options available in AWS.</p><blockquote><strong>DISASTER RECOVERY</strong></blockquote><p>It refers to the process of <strong>regaining access to data, applications, and infrastructure after a disaster or outage</strong>. It ensures business continuity and minimal downtime by leveraging cloud-based tools and services like AWS Backups, Replication, Failover Mechanisms / Multi AZ deployments and AWS Disaster Recovery.</p><p>In short, DR is all about “Recovering from Disaster” or “Preparing for Disaster”.</p><p>Let us understand first, what is “<strong>RTO</strong>” and “<strong>RPO</strong>”:</p><p>RTO and RPO are key concepts or benchmarks that must be set, before we set DR for any application that is planned for hosting on Cloud.</p><blockquote><strong>Recovery Time Objective (RTO)</strong></blockquote><p>RTO is the maximum acceptable amount of time that a system can be down after a disaster occurs. It defines how quickly you need to restore your operations to minimize downtime.</p><p><strong>Example</strong> — If your business has an RTO of 4 hours, this means that after a disruption, your systems should be up and running again within 4 hours to avoid significant impact on operations.</p><blockquote><strong>Recovery Point Objective (RPO)</strong></blockquote><p>RPO is maximum acceptable amount of data loss measured in time.</p><p><strong>Example</strong> — If your business has an RPO of 1 hour, this means that in the event of a disaster, you can afford to lose data that was created or modified in the last hour. Thus, you would need to back up data at least every hour to meet this objective.</p><blockquote><strong>Scenario</strong>:</blockquote><p>RPO is of 1 hour and disaster occurs at 7 AM IST, in this case system should recover the data before 6 AM IST.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*K6H-I_yq0QGMMOFvh4ijJw.png" /></figure><p>Firstly, we will see, AWS DR Strategies, which vary by recovery time and cost:</p><p><strong>1. Backup and Restore</strong></p><p>The simplest and most cost-effective DR strategy. It involves regularly backing up data to Amazon S3 or Amazon Glacier and restoring it when needed. While it’s cost-effective, the recovery time may be longer.</p><p><strong>2. Pilot Light</strong></p><p>Critical core systems are always running in a minimal state. In the event of a disaster, additional resources are started, enabling full system functionality quickly. This reduces costs while keeping essential services operational.</p><p><strong>3. Warm Standby</strong></p><p>A scaled-down version of your fully operational environment runs at all times. During a disaster, the standby environment is scaled up to handle production traffic. This offers faster recovery time but incurs higher costs compared to Pilot Light.</p><p><strong>4. Multi-Site Active / Active</strong></p><p>Systems run simultaneously in multiple locations (AWS Regions), providing real-time failover in the event of a disaster. This is the most expensive option but offers near-instantaneous recovery with minimal downtime.</p><h4><strong>AWS DR Services — Let us see which AWS service can be used in DR</strong></h4><blockquote><strong>AWS Backup</strong></blockquote><p>It is fully managed backup service that centralizes and automates data backups across AWS services like Amazon EBS, RDS, DynamoDB, etc</p><blockquote><strong>AWS RDS</strong></blockquote><p>RDS offers Multi AZ deployments, Cross region read replicas, Automated backup etc.</p><blockquote><strong>AWS S3</strong></blockquote><p>Often used for various backup storage due to it’s durability and availability. It’s cross region replication ensures data is replicated in different locations.</p><blockquote><strong>AWS Auto Scaling</strong></blockquote><p>Scales resources automatically, in case of disaster recovery event to handle increase load.</p><blockquote><strong>AWS DRS</strong></blockquote><p>It automates the failover and recovery process for critical applications</p><blockquote><strong>AWS Route 53</strong></blockquote><p>A global Doman Name Service (DNS) that supports DNS failover. It routes the traffic to healthy endpoints during outages, ensures business continuity.</p><h4><strong>AWS Regions and Availability Zones</strong></h4><p>Disaster recovery strategies often involve replicating resources across multiple AZs within a region or across regions. This helps to mitigate the outage impact in single data Centre.</p><p><strong>- Cross-Region Replication</strong></p><p>AWS services like Amazon S3, RDS, DynamoDB, and EFS can be configured for cross-region replication, ensuring data is available in another AWS region for quick recovery.</p><p><strong>- Global databases and global accelerator</strong></p><p>These services are designed for multi-region deployments and facilitate fast failover during a disaster.</p><h4><strong>IAC — Infrastructure as a Code</strong></h4><p>Terraform or AWS CloudFormation — we can define our Infra which helps to quickly recreate the environments in multi regions during DR.</p><blockquote><strong>Replication and Backup</strong></blockquote><ol><li><strong>AWS RDS Multi AZ and Read Replica</strong></li></ol><p>Enabling multi-AZ deployments ensures an automatic failure to a standby DB in case of failover. We can also set up read replicas in different regions.</p><p><strong>2. AWS DynamoDB global table</strong></p><p>With DynamoDB, we can have fully replicated tables across multiple AWS regions, which enables fast recovery &amp; minimal data loss</p><p><strong>3. AWS EBS Snapshot</strong></p><p>EBS snapshots can be regularly backed up and stored in AWS S3 bucket</p><p><strong>4. AWS S3 Bucket Versioning and replication</strong></p><p>We can have multiple versions of an object and replicated it across AWS Regions for redundancy.</p><blockquote><strong>Continuous monitoring and Improvement</strong></blockquote><p><strong>- AWS CloudWatch</strong></p><p>Helps monitoring system health, performance metrics and resource usage. In case of anomalies, CloudWatch can trigger automated notifications / actions using AWS SNS.</p><blockquote><strong>CONCLUSION</strong></blockquote><p>AWS provides a robust framework to design disaster recovery plans that can meet a wide range of business continuity requirements. The key to a successful DR strategy in AWS involves leveraging its global infrastructure, selecting the appropriate DR strategy based on business needs, using managed services for replication and backups, automating recovery processes, and regularly testing DR plans to ensure they are up to date.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef76e1cc10d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Kubernetes Installation with KOPS]]></title>
            <link>https://medium.com/@wanant0312/aws-kubernetes-installation-with-kops-d2136a1dc406?source=rss-3882e16b957a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2136a1dc406</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[kops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Anant Wakchoure]]></dc:creator>
            <pubDate>Mon, 21 Oct 2024 16:10:36 GMT</pubDate>
            <atom:updated>2024-10-21T16:10:36.581Z</atom:updated>
            <content:encoded><![CDATA[<p>KOPS, also known as Kubernetes operations, is an open-source project which helps you create, destroy, upgrade, and maintain a highly available production-grade Kubernetes cluster. Depending on the requirement, KOPS can also provision cloud infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*L_viXKtQh6MXCufeUotXvA.png" /></figure><blockquote><strong>PREREQUISITE</strong></blockquote><ol><li>AWS Account</li><li>Create a Linux EC2 Instance in AWS — we will use this as Client Machine</li><li>Install Kops Binary on Client Machine</li><li>Install Kubectl Binary on Binary Machine</li><li>IAM User with required permissions</li></ol><blockquote><strong>KOPS BINARY INSTALLATION</strong></blockquote><pre>curl -Lo kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d &#39;&quot;&#39; -f 4)/kops-linux-amd64<br>chmod +x ./kops<br>sudo mv ./kops /usr/local/bin/</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*4LuC4Q9QqIPWC32e880xYA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*A6ozRxSN9xNo_4qqQ6NuPA.png" /></figure><blockquote><strong>KUBECTL BINARY INSTALLATION</strong></blockquote><pre>curl -Lo kubectl https://dl.k8s.io/release/$(curl -s -L https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl<br>chmod +x ./kubectl<br>sudo mv ./kubectl /usr/local/bin/kubectl</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*Kk4FcGmGeQx95l6yQIkrEQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*DadmZdD4z85C3Avq_Z6xrQ.png" /></figure><blockquote><strong>SETUP IAM USER</strong></blockquote><p>In order to build cluster within AWS, we’ll create a dedicated IAM user for KOPS. This user requires API credentials in order to use kops. Create the user and credentials using AWS console.</p><p>The KOPS user will require the following IAM permissions to function properly.</p><ol><li>AmazonEC2FullAccess</li><li>AmazonRoute53FullAccess</li><li>AmazonS3FullAccess</li><li>IAMFullAccess</li><li>AmazonVPCFullAccess</li></ol><blockquote><strong>CONFIGURE THE AWS CLIENT TO USE IAM USER</strong></blockquote><p># aws configure (Use your new access key and secret key)</p><p># aws iam list-users</p><blockquote><strong>EXPORTING VARIABLES FOR KOPS TO USE</strong></blockquote><p>Because “aws configure” doesn’t export the variables, we export them now</p><p># export AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id)</p><p># export AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key)</p><blockquote><strong>CLUSTER STATS STORAGE — CREATE S3 BUCKET</strong></blockquote><p>In order to store the state of the cluster, we need to create a dedicated S3 bucket for KOPS to use. This bucket will become the source of truth for our cluster configuration.</p><p># aws s3api create-bucket — bucket awsanantbw</p><p># aws s3api put-bucket-versioning — bucket awsanantbw — versioning-configuration Status=Enabled</p><blockquote><strong>CREATE SSH KEY FOR NODE AUTHENTIFICATION</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*y0AXKsrOz2ODOZdUIoBgMQ.png" /></figure><p>SSH Key will be generated in .ssh/ folder</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*7aNWJDDEL0KxvWP4th29Dw.png" /></figure><blockquote><strong>CREATING KOPS CLUSTER</strong></blockquote><p>We’re ready now to start creating our first cluster! Let’s first set up a few environment variables to make this process easier.</p><p># export NAME=aws.anant.com</p><p># export KOPS_STATE_STORE=s3://awsanantbw</p><p># kops create cluster — zones us-east-1a ${NAME}</p><blockquote><strong>FOR MULTI AVAILABILITY ZONE CLUSER</strong></blockquote><p># kops create cluster — zones us-east-1a, us-east-1b $ {NAME}</p><blockquote><strong>LIST THE CLUSTER</strong></blockquote><p># kops get cluster</p><blockquote><strong>EDIT THE CLUSTER</strong></blockquote><p># kops edit cluster aws.anant.com</p><blockquote><strong>EDIT YOUR NODE INSTANCE GROUP</strong></blockquote><p># kops edit ig — name=aws.anant.com nodes -us-east-1a</p><blockquote><strong>EDIT YOUR CONTROL-PLANE INSTANCE GROUP</strong></blockquote><p># kops edit ig — name=aws.anant.com control-plane-us-east-1a</p><blockquote><strong>FINALLY CONFIGURE YOUR CLUSTER WITH</strong></blockquote><p># kops update cluster — name aws.anant.com — yes — admin</p><blockquote><strong>DELETE YOUR CLUSTER</strong></blockquote><p># kops delete cluster — name=aws.anant.com — state=s3://awsanantbw –yes</p><blockquote><strong>CONCLUSION</strong></blockquote><p>By following this guide, you should now have a fully functioning Kubernetes cluster running on AWS using KOPS. This powerful combination allows you to manage your containerized applications with ease, leveraging the scalability and flexibility of the cloud. Kubernetes is an essential tool for modern infrastructure, and learning to set it up on AWS gives you a valuable skill in cloud-native environments.</p><p>Feel free to reach out if you have any questions or need further assistance!</p><p>If you found this tutorial helpful, don’t forget to follow me on LinkedIn for more tips, updates, and insights on cloud technologies and Kubernetes. Let’s stay connected and keep growing in this exciting field!</p><p><a href="https://www.linkedin.com/in/anant-wakchoure/">https://www.linkedin.com/in/anant-wakchoure/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2136a1dc406" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>