<?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 Kashif Syed on Medium]]></title>
        <description><![CDATA[Stories by Kashif Syed on Medium]]></description>
        <link>https://medium.com/@kashifsayyad09?source=rss-e2a36ee3ecec------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ALl41A2kiBm105u5pvVwxQ.jpeg</url>
            <title>Stories by Kashif Syed on Medium</title>
            <link>https://medium.com/@kashifsayyad09?source=rss-e2a36ee3ecec------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:13:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kashifsayyad09/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[ANI → AGI → ASI: Understanding the Evolution of AI and What It Means for AWS & DevOps]]></title>
            <link>https://medium.com/@kashifsayyad09/ani-agi-asi-understanding-the-evolution-of-ai-and-what-it-means-for-aws-devops-7406fa7cf88b?source=rss-e2a36ee3ecec------2</link>
            <guid isPermaLink="false">https://medium.com/p/7406fa7cf88b</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ian]]></category>
            <category><![CDATA[agi]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[sia]]></category>
            <dc:creator><![CDATA[Kashif Syed]]></dc:creator>
            <pubDate>Wed, 23 Sep 2026 06:22:02 GMT</pubDate>
            <atom:updated>2026-09-23T06:22:02.986Z</atom:updated>
            <content:encoded><![CDATA[<p>Artificial Intelligence is evolving from systems designed for specific tasks toward increasingly general and autonomous capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NiOrfnffpONnirj7I_5NUg.png" /></figure><p>Three terms are often used to describe this progression:</p><p><strong>ANI → AGI → ASI</strong></p><ul><li><strong>ANI — Artificial Narrow Intelligence</strong></li><li><strong>AGI — Artificial General Intelligence</strong></li><li><strong>ASI — Artificial Superintelligence</strong></li></ul><p>For cloud and DevOps engineers, this evolution is more than an AI discussion. It has implications for infrastructure automation, application development, security, observability, CI/CD, and the way cloud platforms are operated.</p><h3>1. ANI — Artificial Narrow Intelligence</h3><p><strong>ANI is AI specialized for specific tasks.</strong></p><p>Most AI systems available today fall into this category.</p><p>An ANI system can perform a particular task extremely well, but it does not necessarily possess broad, human-like understanding across unrelated domains.</p><h3>Examples</h3><ul><li>AI coding assistants</li><li>Recommendation systems</li><li>Image-generation models</li><li>Speech recognition</li><li>Fraud detection</li><li>Chatbots</li><li>Predictive maintenance</li><li>Log anomaly detection</li><li>AI-powered security analysis</li></ul><p>In AWS environments, AI capabilities can be integrated into applications using services such as <strong>Amazon Bedrock</strong>, machine-learning services, monitoring systems, and automated cloud workflows.</p><h3>DevOps Example</h3><p>Imagine a monitoring system detecting:</p><pre>CPU Utilization: 92%<br>Memory: 87%<br>Error Rate: Increasing</pre><p>An AI system could analyze the metrics and identify a likely capacity or application issue.</p><p>It could then recommend:</p><pre>Possible cause:<br>Increased application traffic</pre><pre>Recommended action:<br>Scale the workload horizontally</pre><p>The AI is performing a defined task.</p><p>That’s <strong>ANI</strong>.</p><h3>2. AGI — Artificial General Intelligence</h3><p><strong>AGI refers to a hypothetical form of AI capable of performing a broad range of intellectual tasks with general-purpose reasoning and learning ability.</strong></p><p>Instead of building one AI system for monitoring, another for coding, and another for documentation, an AGI-oriented system would theoretically be able to work across these domains.</p><p>For example:</p><pre>Developer:<br>&quot;Deploy this application to AWS.&quot;</pre><pre>AI:<br>1. Understand the application<br>2. Analyze dependencies<br>3. Create infrastructure<br>4. Configure networking<br>5. Build the container<br>6. Push the image to Amazon ECR<br>7. Deploy to Amazon EKS<br>8. Configure monitoring<br>9. Run tests<br>10. Investigate failures<br>11. Recommend improvements</pre><p>The important difference is <strong>generality</strong>.</p><p>The system isn’t simply executing one predefined AI task.</p><p>It would need to understand the broader objective and adapt its reasoning across multiple technical domains.</p><h3>Important distinction</h3><p>AGI has <strong>not been conclusively demonstrated</strong>.</p><p>Today, AI systems can perform many sophisticated tasks, but broad capability should not automatically be equated with human-level general intelligence.</p><h3>3. ASI — Artificial Superintelligence</h3><p><strong>ASI is a hypothetical stage in which AI would substantially exceed human intellectual performance across essentially all cognitive domains.</strong></p><p>This goes beyond AGI.</p><p>A simplified model is:</p><pre>ANI<br>Specialized intelligence<br>        ↓<br>AGI<br>General-purpose intelligence<br>        ↓<br>ASI<br>Superhuman general intelligence</pre><p>An ASI system is hypothetical and has not been demonstrated.</p><p>Potentially, such a system could contribute to areas such as:</p><ul><li>Scientific research</li><li>Software engineering</li><li>Cybersecurity</li><li>Mathematics</li><li>Drug discovery</li><li>Climate modeling</li><li>Robotics</li><li>Infrastructure optimization</li><li>Autonomous research</li></ul><p>However, these are possibilities rather than established capabilities.</p><h3>4. ANI → AGI → ASI</h3><p>The easiest way to understand the concept is through the scope of capability.</p><h3>ANI</h3><blockquote><em>“I can perform this task.”</em></blockquote><h3>AGI</h3><blockquote><em>“I can learn and perform many different intellectual tasks.”</em></blockquote><h3>ASI</h3><blockquote><em>“I can outperform humans across virtually all intellectual tasks.”</em></blockquote><p>This progression is about <strong>generality and capability</strong>, not simply about making models larger.</p><h3>5. What Does This Mean for AWS?</h3><p>The evolution of AI is closely connected to cloud computing.</p><p>AI systems require:</p><ul><li>Compute</li><li>GPUs and accelerators</li><li>Storage</li><li>Networking</li><li>Data pipelines</li><li>APIs</li><li>Security</li><li>Observability</li><li>Scalable infrastructure</li></ul><p>Cloud platforms provide the infrastructure required to build and operate these systems.</p><p>AWS provides a broad ecosystem for AI and cloud-native workloads, including:</p><ul><li>Amazon Bedrock</li><li>Amazon SageMaker</li><li>Amazon EC2</li><li>Amazon EKS</li><li>Amazon S3</li><li>AWS Lambda</li><li>Amazon RDS</li><li>Amazon CloudWatch</li><li>AWS IAM</li><li>AWS CloudFormation</li><li>AWS CDK</li></ul><p>The exact architecture depends on the application and model requirements.</p><h3>6. AI + DevOps</h3><p>AI is also changing the DevOps lifecycle.</p><p>Traditional workflow:</p><pre>Developer<br>    ↓<br>Git<br>    ↓<br>CI<br>    ↓<br>Build<br>    ↓<br>Test<br>    ↓<br>Container<br>    ↓<br>Deploy<br>    ↓<br>Monitor</pre><p>An AI-assisted workflow can add intelligence throughout the lifecycle:</p><pre>Developer<br>    ↓<br>AI Coding Assistant<br>    ↓<br>Git<br>    ↓<br>AI-assisted CI Analysis<br>    ↓<br>Build<br>    ↓<br>Automated Testing<br>    ↓<br>Security Analysis<br>    ↓<br>Container<br>    ↓<br>Amazon ECR<br>    ↓<br>Amazon EKS<br>    ↓<br>Observability<br>    ↓<br>AI-assisted Incident Analysis</pre><p>The goal is not simply to replace DevOps engineers.</p><p>The bigger opportunity is to <strong>augment engineers with intelligent automation</strong>.</p><h3>7. AI Agents and Cloud Operations</h3><p>One of the important developments beyond traditional chatbots is the concept of <strong>AI agents</strong>.</p><p>An agent can potentially:</p><ol><li>Understand a goal</li><li>Plan actions</li><li>Use tools</li><li>Execute operations</li><li>Observe results</li><li>Adjust its approach</li></ol><p>For example:</p><pre>Goal:<br>&quot;Investigate why my application is returning HTTP 500 errors.&quot;</pre><pre>Agent<br>   ↓<br>Check CloudWatch logs<br>   ↓<br>Analyze application errors<br>   ↓<br>Check EKS pods<br>   ↓<br>Inspect deployment status<br>   ↓<br>Check database connectivity<br>   ↓<br>Identify probable cause<br>   ↓<br>Recommend remediation</pre><p>With appropriate permissions and safeguards, some workflows can potentially become automated.</p><p>But cloud automation must always be designed with strong security boundaries.</p><h3>8. Security Becomes More Important</h3><p>As AI systems become more capable, the importance of security increases.</p><p>An AI system connected to AWS resources should not automatically receive unrestricted permissions.</p><p>A safer architecture follows the principle of:</p><p><strong>Least Privilege</strong></p><p>For example:</p><pre>AI Agent<br>   ↓<br>IAM Role<br>   ↓<br>Limited Permissions<br>   ↓<br>Specific AWS Resources</pre><p>Instead of:</p><pre>AI Agent<br>   ↓<br>AdministratorAccess<br>   ↓<br>Entire AWS Account</pre><p>The second architecture creates unnecessary risk.</p><p>Important security controls include:</p><ul><li>AWS IAM</li><li>Least-privilege permissions</li><li>IAM roles</li><li>Temporary credentials</li><li>Encryption</li><li>Network isolation</li><li>Logging</li><li>Monitoring</li><li>Approval workflows</li><li>Audit trails</li><li>Human oversight</li></ul><h3>9. Human-in-the-Loop AI</h3><p>Fully autonomous infrastructure changes should be approached carefully.</p><p>A practical architecture can use:</p><pre>AI<br> ↓<br>Analyze<br> ↓<br>Recommend<br> ↓<br>Human Approval<br> ↓<br>Automation<br> ↓<br>AWS Infrastructure</pre><p>For example:</p><pre>AI detects abnormal workload</pre><pre>        ↓</pre><pre>AI recommends scaling</pre><pre>        ↓</pre><pre>Engineer reviews recommendation</pre><pre>        ↓</pre><pre>Approval</pre><pre>        ↓</pre><pre>CI/CD pipeline executes change</pre><pre>        ↓</pre><pre>AWS infrastructure updated</pre><p>This provides a balance between automation and control.</p><h3>10. AI + Infrastructure as Code</h3><p>Infrastructure as Code is another area where AI can assist engineers.</p><p>For example, an engineer could describe:</p><pre>Create an AWS VPC with:</pre><pre>2 public subnets<br>2 private subnets<br>NAT gateways<br>Application Load Balancer<br>EKS cluster<br>RDS MySQL</pre><p>An AI assistant could help generate:</p><ul><li>Terraform</li><li>CloudFormation</li><li>AWS CDK</li><li>Kubernetes manifests</li><li>IAM policies</li><li>CI/CD workflows</li></ul><p>But generated infrastructure should still be:</p><p><strong>Reviewed → Tested → Secured → Approved → Deployed</strong></p><p>AI-generated code should not automatically be treated as production-ready.</p><h3>11. Practical AWS Project Idea</h3><p>A practical project to explore the ANI → AGI direction is an:</p><h3>AI-Powered DevOps Assistant</h3><h3>Architecture</h3><pre>Developer<br>    │<br>    ▼<br>AI DevOps Assistant<br>    │<br>    ├── Amazon Bedrock<br>    │<br>    ├── CloudWatch<br>    │<br>    ├── AWS APIs<br>    │<br>    ├── GitHub<br>    │<br>    └── Kubernetes<br>          │<br>          ▼<br>       Amazon EKS<br>          │<br>          ▼<br>      Application</pre><p>The assistant could help with:</p><ul><li>Deployment analysis</li><li>Log analysis</li><li>Kubernetes troubleshooting</li><li>CI/CD failure analysis</li><li>Infrastructure recommendations</li><li>Cloud cost analysis</li><li>Security recommendations</li><li>Incident summaries</li></ul><p>A production implementation should use controlled permissions and approval workflows.</p><h3>12. The Future DevOps Engineer</h3><p>The DevOps engineer of the future may spend less time performing repetitive commands manually.</p><p>Instead of:</p><pre>kubectl get pods<br>kubectl logs<br>kubectl describe pod<br>terraform plan<br>terraform apply</pre><p>the engineer may increasingly interact with intelligent systems through higher-level goals:</p><pre>&quot;Investigate the production deployment failure<br>and prepare a remediation plan.&quot;</pre><p>The engineer’s role can shift toward:</p><ul><li>Architecture</li><li>Security</li><li>Reliability</li><li>Governance</li><li>Automation</li><li>System design</li><li>AI orchestration</li><li>Cost optimization</li><li>Risk management</li></ul><p>The fundamental cloud knowledge remains important.</p><p>AI does not remove the need to understand the infrastructure.</p><p>It can make that knowledge more powerful.</p><h3>13. Key Takeaway</h3><p>The journey from:</p><p><strong>ANI → AGI → ASI</strong></p><p>is a useful framework for thinking about how AI capabilities might evolve.</p><p>Today:</p><p><strong>ANI is real and widely deployed.</strong></p><p>Tomorrow:</p><p><strong>AGI remains a research goal and open question.</strong></p><p>Beyond that:</p><p><strong>ASI remains hypothetical.</strong></p><p>For AWS and DevOps engineers, the practical opportunity today is not to wait for AGI or ASI.</p><p>It is to learn how AI can be responsibly integrated with:</p><p><strong>Cloud + DevOps + Security + Automation + Observability</strong></p><p>The future cloud engineer may not simply operate infrastructure.</p><p>They may <strong>design intelligent systems that operate infrastructure under carefully defined controls.</strong></p><h3>Final Architecture</h3><pre>AI Evolution<br>                     │<br>          ┌──────────┼──────────┐<br>          ▼          ▼          ▼<br>         ANI        AGI        ASI<br>      Specialized  General   Superhuman<br>          │          │          │<br>          └──────────┼──────────┘<br>                     ▼<br>              Cloud &amp; AI<br>                     │<br>        ┌────────────┼────────────┐<br>        ▼            ▼            ▼<br>       AWS         DevOps      Security<br>        │            │            │<br>        └────────────┼────────────┘<br>                     ▼<br>             Intelligent Cloud<br>                     │<br>                     ▼<br>          Human + AI Collaboration</pre><h3>Key Takeaway for AWS Community Builders</h3><p><strong>AI evolution is not only about bigger models. It is about expanding what machines can understand, reason about, and accomplish.</strong></p><p>For cloud engineers, the opportunity is to combine AI capabilities with strong foundations in:</p><p><strong>AWS + Kubernetes + Terraform + CI/CD + Security + Observability</strong></p><p>The future will likely belong to engineers who understand both <strong>cloud infrastructure and intelligent systems</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7406fa7cf88b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon DynamoDB Vector Search: Building Serverless RAG Applications Without a Separate Vector…]]></title>
            <link>https://medium.com/@kashifsayyad09/amazon-dynamodb-vector-search-building-serverless-rag-applications-without-a-separate-vector-72cc9e9d43f0?source=rss-e2a36ee3ecec------2</link>
            <guid isPermaLink="false">https://medium.com/p/72cc9e9d43f0</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[medium]]></category>
            <category><![CDATA[dynamodb]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[rags]]></category>
            <dc:creator><![CDATA[Kashif Syed]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 04:49:36 GMT</pubDate>
            <atom:updated>2026-09-21T04:49:36.351Z</atom:updated>
            <content:encoded><![CDATA[<h3>Amazon DynamoDB Vector Search: Building Serverless RAG Applications Without a Separate Vector Database</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UxTES3YGRn4284-UGNaMlw.png" /></figure><h3>Introduction</h3><p>Generative AI applications increasingly need more than traditional keyword-based search.</p><p>When building applications such as <strong>RAG systems, AI agents, semantic search engines, recommendation systems, and intelligent chatbots</strong>, applications need to find information based on <strong>meaning and similarity</strong>, not just exact words.</p><p>Traditionally, this meant storing application data in Amazon DynamoDB while maintaining embeddings in a separate vector database such as a vector-enabled search service.</p><p>Amazon DynamoDB now provides <strong>native vector search through vector indexes</strong>, allowing applications to store vector embeddings alongside operational data and perform similarity searches directly within DynamoDB. AWS announced this capability on <strong>August 5, 2026</strong>.</p><p>This creates an interesting architecture for AWS-native GenAI applications:</p><p><strong>DynamoDB + Amazon Bedrock + Vector Search + RAG</strong></p><h3>What Changed?</h3><p>Amazon DynamoDB now supports <strong>vector indexes</strong>.</p><p>A vector index enables similarity searches over vector embeddings stored in DynamoDB items.</p><p>Instead of maintaining:</p><pre>Application Data<br>       │<br>       ▼<br>DynamoDB<br>       <br>Embeddings<br>       │<br>       ▼<br>Separate Vector Database</pre><p>you can now build:</p><pre>Application Data<br>       │<br>       ▼<br>Amazon DynamoDB<br> ┌───────────────────────┐<br> │ ID                    │<br> │ Content               │<br> │ Metadata              │<br> │ Embedding             │<br> └───────────────────────┘<br>       │<br>       ▼<br>   Vector Index<br>       │<br>       ▼<br> SearchVectors API</pre><p>AWS documentation states that vector indexes use <strong>approximate nearest neighbor (ANN)</strong> search to find items whose vectors are most similar to a supplied query vector.</p><h3>Why Does Vector Search Matter?</h3><p>Traditional search might look for:</p><pre>&quot;Amazon EKS Kubernetes&quot;</pre><p>and return documents containing those exact keywords.</p><p>Semantic search works differently.</p><p>A user might ask:</p><pre>&quot;How does AWS manage containers?&quot;</pre><p>The system converts the question into an embedding.</p><p>The embedding represents the <strong>semantic meaning</strong> of the question.</p><p>The system then searches for stored vectors that are mathematically close to the query vector.</p><p>This means a document containing:</p><pre>&quot;Amazon EKS is a managed Kubernetes service...&quot;</pre><p>can be retrieved even if the user’s query does not contain the exact same words.</p><h3>DynamoDB Vector Search Architecture</h3><p>A simple RAG architecture can look like this:</p><pre>User<br>                   │<br>                   ▼<br>             Application<br>                   │<br>                   ▼<br>            Query Embedding<br>                   │<br>                   ▼<br>          Amazon DynamoDB<br>          Vector Search<br>                   │<br>             Top-K Results<br>                   │<br>                   ▼<br>            Retrieved Context<br>                   │<br>                   ▼<br>             Amazon Bedrock<br>                   │<br>                   ▼<br>             Generated Answer</pre><p>For document ingestion:</p><pre>Documents<br>    │<br>    ▼<br>Amazon S3<br>    │<br>    ▼<br>Chunk Documents<br>    │<br>    ▼<br>Amazon Bedrock Embedding Model<br>    │<br>    ▼<br>Vector Embeddings<br>    │<br>    ▼<br>Amazon DynamoDB<br>    │<br>    ▼<br>Vector Index</pre><p>This architecture can significantly simplify applications where the operational data and vector data naturally belong together.</p><h3>How DynamoDB Vector Search Works</h3><p>The basic workflow consists of four steps.</p><h3>1. Generate an Embedding</h3><p>An embedding model converts text into a numerical vector.</p><p>For example:</p><pre>&quot;Amazon EKS is a managed Kubernetes service&quot;</pre><p>could become:</p><pre>[<br>  0.021,<br> -0.183,<br>  0.742,<br>  0.091,<br>  ...<br>]</pre><p>The actual dimensionality depends on the embedding model and configuration.</p><h3>2. Store the Vector in DynamoDB</h3><p>A DynamoDB item can contain both application data and its embedding:</p><pre>{<br>  &quot;DocumentId&quot;: &quot;doc-001&quot;,<br>  &quot;Title&quot;: &quot;Amazon EKS Guide&quot;,<br>  &quot;Content&quot;: &quot;Amazon EKS is a managed Kubernetes service...&quot;,<br>  &quot;Category&quot;: &quot;AWS&quot;,<br>  &quot;Embedding&quot;: [<br>    0.021,<br>    -0.183,<br>    0.742,<br>    0.091<br>  ]<br>}</pre><p>The important idea is that the embedding lives alongside the application data.</p><h3>3. Create a Vector Index</h3><p>DynamoDB provides vector indexes specifically for similarity search.</p><p>A vector index can define:</p><ul><li>Vector attribute</li><li>Vector dimensions</li><li>Distance function</li><li>Search schema</li><li>Projection</li></ul><p>AWS currently supports three distance functions:</p><h3>COSINE</h3><p>Measures the cosine distance between vectors.</p><p>Lower scores indicate greater similarity.</p><p>This is particularly useful for semantic text search and RAG workloads. AWS documentation describes cosine as a safe default when you are unsure which distance function to use.</p><h3>DOT_PRODUCT</h3><p>Higher scores indicate greater similarity.</p><h3>EUCLIDEAN</h3><p>Measures the straight-line distance between vectors.</p><p>Lower scores indicate greater similarity.</p><h3>4. Search Using SearchVectors</h3><p>When a user asks a question:</p><pre>&quot;How does EKS manage containers?&quot;</pre><p>the application generates a query embedding.</p><p>That vector is sent to DynamoDB through the:</p><pre>SearchVectors</pre><p>API.</p><p>The API returns the most similar items ranked by similarity score. TopK can request between <strong>1 and 100 results</strong>.</p><p>Conceptually:</p><pre>User Question<br>     │<br>     ▼<br>Embedding Model<br>     │<br>     ▼<br>Query Vector<br>     │<br>     ▼<br>SearchVectors<br>     │<br>     ▼<br>Top-K Similar Documents<br>     │<br>     ▼<br>Amazon Bedrock<br>     │<br>     ▼<br>Final Answer</pre><h3>DynamoDB Vector Search for RAG</h3><p>One of the most interesting applications is <strong>Retrieval-Augmented Generation (RAG)</strong>.</p><p>Without RAG:</p><pre>User<br> │<br> ▼<br>LLM<br> │<br> ▼<br>Answer</pre><p>The model may not have access to your private company documentation.</p><p>With RAG:</p><pre>User Question<br>      │<br>      ▼<br>Generate Query Embedding<br>      │<br>      ▼<br>DynamoDB Vector Search<br>      │<br>      ▼<br>Relevant Documents<br>      │<br>      ▼<br>Prompt + Retrieved Context<br>      │<br>      ▼<br>Amazon Bedrock<br>      │<br>      ▼<br>Grounded Answer</pre><p>This allows an application to retrieve relevant information from its own data before asking the foundation model to generate the response.</p><p>AWS explicitly identifies RAG, semantic search, recommendation systems, AI agent memory, and anomaly/fraud detection as use cases for DynamoDB vector indexes.</p><h3>Multi-Tenant AI Applications</h3><p>Another interesting capability is the ability to define a partition key in the vector index search schema.</p><p>For example:</p><pre>TenantId</pre><p>could be used to scope vector searches.</p><p>The architecture could become:</p><pre>Tenant A<br>   │<br>   ├── Documents<br>   └── Embeddings</pre><pre>Tenant B<br>   │<br>   ├── Documents<br>   └── Embeddings</pre><pre>Tenant C<br>   │<br>   ├── Documents<br>   └── Embeddings</pre><p>A search can then be scoped to a specific tenant.</p><p>AWS documentation notes that vector index partition keys can be useful for workloads such as <strong>multi-tenant RAG</strong> and <strong>per-user AI-agent memory</strong>.</p><h3>AI Agent Memory</h3><p>Vector search isn’t limited to documents.</p><p>It can also be used for AI-agent memory.</p><p>Imagine an AI agent interacting with a user:</p><pre>User:<br>I prefer AWS examples.</pre><pre>Agent:<br>I&#39;ll remember that.</pre><p>The application can generate an embedding for the relevant memory and store it in DynamoDB.</p><p>Later:</p><pre>User:<br>Show me a cloud deployment example.</pre><p>The agent can search previous memories using vector similarity and retrieve relevant context.</p><p>Architecture:</p><pre>Conversation<br>     │<br>     ▼<br>Embedding Model<br>     │<br>     ▼<br>DynamoDB<br>     │<br>     ▼<br>Vector Index<br>     │<br>     ▼<br>Relevant Memories<br>     │<br>     ▼<br>AI Agent</pre><p>This makes DynamoDB particularly interesting for applications where <strong>operational data and AI memory need to coexist</strong>.</p><h3>Why This Architecture Is Interesting</h3><p>Before native vector search, an architecture might look like:</p><pre>Application<br>                 /       \<br>                /         \<br>               ▼           ▼<br>          DynamoDB     Vector DB<br>               │           │<br>               └─────┬─────┘<br>                     │<br>              Synchronization</pre><p>This introduces another system to operate and potentially requires synchronization between operational records and embeddings.</p><p>With native vector search:</p><pre>Application<br>                   │<br>                   ▼<br>              DynamoDB<br>          ┌────────┴────────┐<br>          │                 │<br> Operational Data      Vector Index<br>          │                 │<br>          └────────┬────────┘<br>                   │<br>             SearchVectors</pre><p>AWS specifically highlights that storing embeddings alongside operational data can eliminate the need for a separate vector database and replication pipeline.</p><h3>Important Design Considerations</h3><p>Native vector search does not mean every workload should automatically move all vector data into DynamoDB.</p><p>There are several architectural considerations.</p><h3>1. Choose the Right Embedding Dimensions</h3><p>Vector storage increases with the number of dimensions.</p><p>AWS notes that vector values are stored as 32-bit floating-point values and that a 1,536-dimensional vector uses roughly four times the vector storage of a 384-dimensional vector.</p><p>Therefore:</p><pre>Higher Dimensions<br>       ↓<br>More Storage<br>       ↓<br>Potentially Higher Cost</pre><p>Choose dimensions appropriate for your embedding model and relevance requirements.</p><h3>2. Choose the Right Distance Function</h3><p>For semantic text search:</p><pre>COSINE</pre><p>is often a natural choice.</p><p>For other workloads, DOT_PRODUCT or EUCLIDEAN may be more appropriate.</p><p>The correct choice depends on the characteristics of your embeddings and application.</p><h3>3. Think About Projections</h3><p>Vector indexes support projections.</p><p>You can use:</p><pre>KEYS_ONLY</pre><pre>INCLUDE</pre><p>or:</p><pre>ALL</pre><p>Projection controls which attributes are available directly from vector search results.</p><p>AWS recommends projecting only the attributes your application needs to retrieve directly from the vector index to control index storage.</p><h3>4. Capacity Mode</h3><p>Vector indexes currently require <strong>DynamoDB on-demand capacity mode</strong>.</p><p>The table also needs to use on-demand capacity.</p><p>This is an important consideration when designing production workloads.</p><h3>Security and IAM</h3><p>Applications should follow least-privilege IAM practices.</p><p>AWS provides a specific:</p><pre>dynamodb:SearchVectors</pre><p>permission for vector search operations.</p><p>For example, access can be granted to a specific vector index rather than broadly granting access to every DynamoDB resource.</p><p>A simplified permission concept is:</p><pre>{<br>  &quot;Effect&quot;: &quot;Allow&quot;,<br>  &quot;Action&quot;: [<br>    &quot;dynamodb:SearchVectors&quot;<br>  ],<br>  &quot;Resource&quot;: &quot;arn:aws:dynamodb:REGION:ACCOUNT_ID:table/TABLE_NAME/index/INDEX_NAME&quot;<br>}</pre><p>In production, combine this with appropriate IAM roles, encryption, network architecture, logging, and application-level authorization.</p><h3>DynamoDB Vector Search + Amazon Bedrock</h3><p>A powerful AWS-native GenAI architecture is:</p><pre>User<br>                  │<br>                  ▼<br>             Application<br>                  │<br>        ┌─────────┴─────────┐<br>        │                   │<br>        ▼                   ▼<br> Amazon Bedrock       DynamoDB<br> Embeddings           Vector Search<br>        │                   │<br>        └─────────┬─────────┘<br>                  │<br>             Relevant Data<br>                  │<br>                  ▼<br>             Amazon Bedrock<br>             Foundation Model<br>                  │<br>                  ▼<br>               Answer</pre><p>This architecture keeps the application within the AWS ecosystem while combining:</p><ul><li>Amazon DynamoDB</li><li>DynamoDB Vector Search</li><li>Amazon Bedrock</li><li>Embedding models</li><li>Foundation models</li><li>RAG</li><li>AI agent memory</li></ul><h3>Practical Project Idea</h3><p>A great hands-on project would be:</p><h3>“AWS DevOps Knowledge Assistant”</h3><p>Build a RAG application that answers questions about:</p><pre>AWS<br>Kubernetes<br>EKS<br>Terraform<br>Docker<br>GitHub Actions<br>CI/CD<br>Linux<br>DevOps</pre><p>Architecture:</p><pre>React UI<br>                       │<br>                       ▼<br>                 API / Backend<br>                       │<br>             ┌─────────┴─────────┐<br>             │                   │<br>             ▼                   ▼<br>       Amazon Bedrock      DynamoDB<br>       Embeddings          Vector Search<br>             │                   │<br>             └─────────┬─────────┘<br>                       │<br>                  Top-K Context<br>                       │<br>                       ▼<br>                Amazon Bedrock<br>                  LLM / FM<br>                       │<br>                       ▼<br>                 Final Answer</pre><p>Infrastructure could be deployed using:</p><pre>Terraform<br>   │<br>   ├── DynamoDB<br>   ├── IAM<br>   ├── S3<br>   ├── EKS / ECS<br>   └── Application infrastructure</pre><p>And CI/CD could use:</p><pre>GitHub<br>   │<br>   ▼<br>GitHub Actions<br>   │<br>   ├── Build<br>   ├── Test<br>   ├── Security Scan<br>   └── Deploy</pre><p>This creates a practical end-to-end project combining <strong>DevOps + AWS + GenAI + RAG + Vector Search</strong>.</p><h3>Key Takeaways</h3><p>Amazon DynamoDB vector search changes the architecture options for AI applications.</p><p>The key points are:</p><p>✅ Native vector search inside DynamoDB</p><p>✅ Store operational data and embeddings together</p><p>✅ Similarity search using SearchVectors</p><p>✅ ANN-based vector search</p><p>✅ Support for COSINE, DOT_PRODUCT, and EUCLIDEAN distance functions</p><p>✅ Useful for RAG applications</p><p>✅ Useful for semantic search</p><p>✅ Useful for AI-agent memory</p><p>✅ Supports vector index partition keys for scalable search patterns</p><p>✅ Integrates naturally with Amazon Bedrock</p><p>✅ Removes the need for a separate vector database in suitable architectures</p><p>DynamoDB vector indexes therefore provide another AWS-native building block for building <strong>serverless GenAI applications, RAG systems, and AI agents</strong>.</p><h3>Final Thought</h3><p>The interesting part isn’t simply that DynamoDB can now store vectors.</p><p>The bigger architectural shift is that <strong>application data and AI retrieval data can live together in the same managed database</strong>.</p><p>For developers building AWS-native AI applications, this can simplify the architecture:</p><pre>DynamoDB<br>   +<br>Vector Search<br>   +<br>Amazon Bedrock<br>   +<br>RAG<br>   +<br>AI Agents</pre><p>That’s a powerful combination for the next generation of serverless AI applications.</p><h3>References</h3><ul><li>Amazon DynamoDB — Using vector indexes</li><li>Amazon DynamoDB — SearchVectors API</li><li>AWS News Blog — DynamoDB native vector search announcement</li><li>Amazon DynamoDB — Generative AI and vector search</li></ul><p>#aws #dynamodb #rag</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72cc9e9d43f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Elastic Beanstalk Cluster Mode: From Source Code to Production Without Managing the Compute…]]></title>
            <link>https://medium.com/@kashifsayyad09/aws-elastic-beanstalk-cluster-mode-from-source-code-to-production-without-managing-the-compute-d0155011ffa0?source=rss-e2a36ee3ecec------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0155011ffa0</guid>
            <category><![CDATA[ek]]></category>
            <category><![CDATA[clustering]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[elastic-beanstalk]]></category>
            <dc:creator><![CDATA[Kashif Syed]]></dc:creator>
            <pubDate>Sat, 19 Sep 2026 05:25:05 GMT</pubDate>
            <atom:updated>2026-09-19T05:25:05.765Z</atom:updated>
            <content:encoded><![CDATA[<h3>AWS Elastic Beanstalk Cluster Mode: From Source Code to Production Without Managing the Compute Layer</h3><p>AWS Elastic Beanstalk has introduced **Cluster Mode**, a new deployment model that changes how teams can run multiple applications on AWS.</p><p>Announced on **September 17, 2026**, Cluster Mode allows developers to provide source code, a Dockerfile, or a container image while Elastic Beanstalk takes responsibility for provisioning and operating the underlying application environment. Under the hood, Cluster Mode uses **Amazon EKS**, with **Amazon EKS Auto Mode** providing node capacity.</p><p>For DevOps engineers, this is an interesting evolution: you still get the familiar Elastic Beanstalk deployment experience, but the underlying application platform moves from dedicated EC2-based environments toward a managed, containerized architecture.</p><p>— -</p><p>## 🚀 What Changed?</p><p>Traditionally, Elastic Beanstalk Standard Mode runs applications on **Amazon EC2 instances** inside an Auto Scaling group.</p><p>With the new Cluster Mode:</p><p>```text<br>Developer<br> │<br> │ Source Code / Dockerfile / Container Image<br> ▼<br>AWS Elastic Beanstalk<br> │<br> ├── Deployment<br> ├── Scaling<br> ├── Health Monitoring<br> ├── Rolling Updates<br> ├── Networking<br> └── Infrastructure Operations<br> │<br> ▼<br>Amazon EKS<br> │<br> ▼<br>Amazon EKS Auto Mode<br> │<br> ▼<br>Application Containers<br>```</p><p>Elastic Beanstalk creates and operates the EKS infrastructure required for the applications.</p><p>You don’t create the Kubernetes cluster yourself, select its Kubernetes version, or manually schedule workloads onto nodes. Elastic Beanstalk manages the application environment on your behalf.</p><p>— -</p><p># ☁️ Why Is This Important?</p><p>Running containers on Kubernetes normally introduces another operational layer.</p><p>A traditional Kubernetes deployment might require you to manage:</p><p>* EKS cluster creation<br>* Node groups<br>* Kubernetes versions<br>* Deployments<br>* Services<br>* Autoscaling<br>* Load balancers<br>* Observability<br>* Cluster add-ons<br>* Patching<br>* Infrastructure upgrades</p><p>Cluster Mode abstracts much of this operational responsibility.</p><p>Instead, the developer focuses primarily on:</p><p>```text<br>Application<br> +<br>Container<br> +<br>CPU / Memory<br> +<br>Replica configuration<br> +<br>Health check<br>```</p><p>Elastic Beanstalk handles the infrastructure underneath.</p><p>This makes the model particularly interesting for organizations running **multiple applications** that can share underlying infrastructure.</p><p>— -</p><p># 🏗️ Cluster Mode Architecture</p><p>The architecture is different from traditional Elastic Beanstalk.</p><p>### Standard Mode</p><p>```text<br>Elastic Beanstalk<br> │<br> ▼<br>EC2 Auto Scaling Group<br> │<br> ┌─────┼─────┐<br> ▼ ▼ ▼<br>App App App<br>```</p><p>Each environment has its own EC2-based infrastructure.</p><p>### Cluster Mode</p><p>```text<br> Elastic Beanstalk<br> │<br> ┌─────────────┼─────────────┐<br> │ │ │<br> App A App B App C<br> │ │ │<br> └─────────────┼─────────────┘<br> ▼<br> Amazon EKS<br> │<br> EKS Auto Mode<br> │<br> Managed Node Capacity<br>```</p><p>Multiple Elastic Beanstalk Cluster environments can share an EKS cluster when they use the appropriate shared infrastructure configuration. Elastic Beanstalk isolates the application environments while managing the underlying cluster.</p><p>— -</p><p># 🐳 How Do You Deploy an Application?</p><p>Cluster Mode supports three main application input patterns:</p><p>### 1. Source Code</p><p>You provide your application source code.</p><p>Elastic Beanstalk can build it into a container image using Cloud Native Buildpacks.</p><p>For example:</p><p>```text<br>Python Flask Application<br> │<br> ▼<br>Elastic Beanstalk<br> │<br> ▼<br>Container Image<br> │<br> ▼<br>Amazon EKS<br> │<br> ▼<br>Running Application<br>```</p><p>### 2. Dockerfile</p><p>You can provide your own Dockerfile.</p><p>```dockerfile<br>FROM python:3.12-slim</p><p>WORKDIR /app</p><p>COPY requirements.txt .</p><p>RUN pip install — no-cache-dir -r requirements.txt</p><p>COPY . .</p><p>CMD [“python”, “app.py”]<br>```</p><p>Elastic Beanstalk can use this container definition as part of the deployment process.</p><p>### 3. Existing Container Image</p><p>You can bring an existing image, including an image stored in **Amazon ECR**.</p><p>```text<br>GitHub<br> │<br> ▼<br>GitHub Actions<br> │<br> ▼<br>Docker Build<br> │<br> ▼<br>Amazon ECR<br> │<br> ▼<br>Elastic Beanstalk Cluster<br> │<br> ▼<br>Amazon EKS<br>```</p><p>This is particularly interesting for teams that already have container-based CI/CD pipelines.</p><p>AWS also provides a GitHub Action for deploying applications directly from repositories.</p><p>— -</p><p># 📈 Scaling Is Different</p><p>One of the biggest differences between Standard Mode and Cluster Mode is scaling.</p><p>### Standard Mode</p><p>Scaling primarily means adding or removing EC2 instances.</p><p>```text<br>EC2<br>EC2<br>EC2<br> ↓<br>Auto Scaling Group<br>```</p><p>### Cluster Mode</p><p>Scaling happens at the **application replica** level.</p><p>```text<br>Application</p><p>Replica 1<br>Replica 2<br>Replica 3<br> ↓<br>Replica 4<br>Replica 5<br>```</p><p>You configure minimum and maximum replicas.</p><p>For example:</p><p>```text<br>min-replica = 2<br>max-replica = 10<br>```</p><p>Elastic Beanstalk adjusts the number of application replicas based on configured scaling triggers.</p><p>EKS Auto Mode then provides the underlying node capacity required for those containers.</p><p>This is an important conceptual shift:</p><p>&gt; Instead of thinking primarily about how many servers you need, you think about how many application replicas you need.</p><p>— -</p><p># 🔭 Observability</p><p>Modern DevOps isn’t only about deployment and scaling.</p><p>You also need visibility into:</p><p>* Application health<br>* Logs<br>* Metrics<br>* Traces<br>* Deployment behavior<br>* Infrastructure events</p><p>Cluster Mode includes **OpenTelemetry-based observability**, with integration into Amazon CloudWatch and other observability backends.</p><p>A simplified observability flow looks like:</p><p>```text<br>Application<br> │<br> ▼<br>OpenTelemetry<br> │<br> ┌───┴───────────┐<br> ▼ ▼<br>CloudWatch Other Backend<br>```</p><p>This can make it easier to standardize observability across multiple applications.</p><p>— -</p><p># 🔐 Security</p><p>Security is another important part of the new architecture.</p><p>Cluster Mode integrates with AWS services such as:</p><p>### AWS Secrets Manager</p><p>Application secrets can be managed through Secrets Manager rather than hardcoding credentials into:</p><p>```text<br>Source Code<br>Dockerfile<br>GitHub Repository<br>Environment Configuration<br>```</p><p>### AWS Certificate Manager</p><p>HTTPS is supported through AWS Certificate Manager.</p><p>### IAM</p><p>Cluster Mode requires IAM roles for the EKS cluster and its nodes. Elastic Beanstalk creates and operates the EKS environment using the roles you provide.</p><p>A simplified security architecture:</p><p>```text<br>Developer<br> │<br> ▼<br>CI/CD<br> │<br> ▼<br>Elastic Beanstalk<br> │<br> ├── IAM<br> ├── Secrets Manager<br> ├── ACM<br> └── EKS<br> │<br> ▼<br> Application<br>```</p><p>— -</p><p># 🔄 Deployment Strategies</p><p>Cluster Mode supports production-oriented deployment approaches including:</p><p>* All-at-once<br>* Rolling<br>* Immutable<br>* Traffic splitting<br>* Automatic rollback</p><p>This means deployment doesn’t have to be simply:</p><p>```text<br>Old Version → New Version<br>```</p><p>You can introduce controlled deployment strategies:</p><p>```text<br> Application<br> │<br> ┌────────┴────────┐<br> │ │<br> Version A Version B<br> 90% traffic 10% traffic<br> │ │<br> └────────┬────────┘<br> │<br> Health Check<br> │<br> ┌────────┴────────┐<br> ▼ ▼<br> Healthy Failure<br> │ │<br> ▼ ▼<br> Increase Rollback<br> Traffic<br>```</p><p>This is especially useful for teams practicing safer CI/CD deployments.</p><p>— -</p><p># 🆚 Elastic Beanstalk Standard vs Cluster Mode</p><p>| Feature | Standard Mode | Cluster Mode |<br>| — — — — — — — — — — — | — — — — — — — — — — — — — — — — — — | — — — — — — — — — — — — — — — — — — |<br>| Compute | EC2 | EKS |<br>| Containerized workload | Supported | Core deployment model |<br>| Infrastructure | Environment-specific | Shared managed cluster possible |<br>| Scaling | EC2 instances | Application replicas |<br>| Node management | EC2/ASG based | EKS Auto Mode |<br>| Kubernetes management | Not applicable | AWS-managed |<br>| OpenTelemetry | Available through newer capabilities | Built into Cluster architecture |<br>| Best suited for | Individual applications | Multiple containerized applications |<br>| Infrastructure control | More direct | More abstracted |</p><p>AWS states that **Standard Mode remains supported** and both deployment modes can operate side by side.</p><p>— -</p><p># 💰 What About Cost?</p><p>Cluster Mode itself has **no additional Elastic Beanstalk charge**.</p><p>However, you pay for the AWS resources consumed by the environment, including services such as:</p><p>* Amazon EKS control plane<br>* EKS Auto Mode infrastructure<br>* Amazon ECR<br>* Amazon CloudWatch</p><p>AWS notes that Cluster Mode is **not AWS Free Tier eligible**.</p><p>This is important when evaluating whether Cluster Mode makes sense for a small application.</p><p>For a single low-cost application, the additional EKS-related infrastructure costs may not necessarily make Cluster Mode the appropriate choice. AWS specifically identifies Standard Mode as a fit for workloads where those costs aren’t justified.</p><p>— -</p><p># 🧑‍💻 A Practical DevOps Project</p><p>Here’s a project idea I would recommend for learning this feature.</p><p>## Project: Multi-App DevOps Platform with Elastic Beanstalk Cluster Mode</p><p>Deploy three applications:</p><p>```text<br> GitHub<br> │<br> ▼<br> GitHub Actions<br> │<br> ┌───────┴────────┐<br> ▼ ▼<br> Frontend Backend<br> │ │<br> └───────┬────────┘<br> ▼<br> Elastic Beanstalk<br> Cluster Mode<br> │<br> ▼<br> Amazon EKS<br> │<br> ┌───────┼────────┐<br> ▼ ▼ ▼<br> Frontend Backend API<br> │ │ │<br> └───────┼────────┘<br> ▼<br> Database<br>```</p><p>### CI/CD pipeline</p><p>```text<br>git push<br> │<br> ▼<br>GitHub Actions<br> │<br> ├── Test<br> ├── Security Scan<br> ├── Build<br> ├── Docker Build<br> └── Push to ECR<br> │<br> ▼<br> Elastic Beanstalk<br> │<br> ▼<br> EKS Cluster<br> │<br> ▼<br> Deployment<br> │<br> ▼<br> Health Verification<br> │<br> ┌─────┴─────┐<br> ▼ ▼<br> Success Failure<br> │ │<br> ▼ ▼<br> Production Rollback<br>```</p><p>This project lets you combine:</p><p>**GitHub → GitHub Actions → Docker → ECR → Elastic Beanstalk → EKS → Observability**</p><p>into a single practical DevOps workflow.</p><p>— -</p><p># ⚠️ Important Considerations</p><p>Cluster Mode is not simply “Elastic Beanstalk + Kubernetes.”</p><p>There are architectural differences that DevOps engineers should understand.</p><p>Your application needs to work well as a **containerized, horizontally scalable workload**.</p><p>For example, applications that depend on persistent local disk storage need additional architectural consideration because local storage is ephemeral. Stateless APIs and web applications are a more natural fit.</p><p>Instead of storing application state locally:</p><p>```text<br>Container<br> │<br> └── Local Disk ❌<br>```</p><p>prefer external services where appropriate:</p><p>```text<br>Application<br> │<br> ├── Amazon S3<br> ├── Amazon RDS<br> ├── DynamoDB<br> └── ElastiCache<br>```</p><p>This follows the broader cloud-native principle of keeping application compute as disposable and scalable as possible.</p><p>— -</p><p># 🧠 What Does This Mean for DevOps Engineers?</p><p>The interesting part isn’t just the new Elastic Beanstalk feature.</p><p>It’s the direction of cloud infrastructure.</p><p>We are increasingly moving from:</p><p>```text<br>Manage Servers<br> ↓<br>Manage Clusters<br> ↓<br>Manage Containers<br> ↓<br>Manage Applications<br>```</p><p>toward:</p><p>```text<br>Developer<br> │<br> ▼<br>Application<br> │<br> ▼<br>Managed Platform<br> │<br> ▼<br>Cloud Provider Operates Infrastructure<br>```</p><p>This doesn’t eliminate DevOps.</p><p>Instead, it changes where DevOps engineers spend their time.</p><p>Less time can be spent on:</p><p>* Server provisioning<br>* Node management<br>* Cluster patching<br>* Infrastructure maintenance</p><p>And more time can be spent on:</p><p>* CI/CD<br>* Security<br>* Observability<br>* Reliability<br>* Cost optimization<br>* Infrastructure as Code<br>* Application architecture<br>* Developer experience</p><p>— -</p><p># 🔥 Key Takeaway</p><p>**AWS Elastic Beanstalk Cluster Mode brings a more managed, container-oriented deployment model to Elastic Beanstalk.**</p><p>You provide:</p><p>```text<br>Source Code<br> OR<br>Dockerfile<br> OR<br>Container Image<br>```</p><p>Elastic Beanstalk manages:</p><p>```text<br>Deployment<br>Scaling<br>Application Health<br>Infrastructure Operations<br>EKS Environment<br>Node Capacity<br>Updates<br>Observability<br>```</p><p>Under the hood:</p><p>```text<br>Elastic Beanstalk<br> ↓<br>Amazon EKS<br> ↓<br>EKS Auto Mode<br> ↓<br>Application Containers<br>```</p><p>For teams running multiple containerized applications, this provides another option between the simplicity of a traditional PaaS and the operational control of managing Kubernetes directly.</p><p>The important lesson for DevOps engineers is not simply **”AWS is managing Kubernetes for us.”**</p><p>It is:</p><p>&gt; **The abstraction layer is moving upward — from infrastructure management toward application management.**</p><p>Understanding what happens underneath that abstraction remains essential for designing secure, scalable, observable, and cost-effective cloud platforms.</p><p>— -</p><p>## 📚 Official AWS Resources</p><p>* AWS News Blog — Elastic Beanstalk Cluster Mode<br>* AWS Elastic Beanstalk Cluster Mode documentation<br>* AWS Elastic Beanstalk Cluster Architecture<br>* AWS Elastic Beanstalk Cluster Scaling documentation</p><p>AWS announced Cluster Mode as generally available on **September 17, 2026**, across commercial AWS Regions where Elastic Beanstalk is available.</p><p># Final Thought</p><p>As DevOps engineers, we should continuously ask:</p><p>**”What infrastructure do I still need to manage myself — and what can the cloud platform manage for me?”**</p><p>That question is becoming increasingly important as AWS continues moving toward higher-level managed services.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0155011ffa0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes Troubleshooting: Common Issues, Bugs & How to Find the Root Cause]]></title>
            <link>https://medium.com/@kashifsayyad09/kubernetes-troubleshooting-common-issues-bugs-how-to-find-the-root-cause-5b141e473e56?source=rss-e2a36ee3ecec------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b141e473e56</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[realtime]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[kubernetes-cluster]]></category>
            <dc:creator><![CDATA[Kashif Syed]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 17:14:40 GMT</pubDate>
            <atom:updated>2026-09-08T17:14:40.781Z</atom:updated>
            <content:encoded><![CDATA[<p>Kubernetes Troubleshooting: Common Issues, Bugs &amp; How to Find the Root Cause</p><p>Your Kubernetes application is down.</p><p>You run:</p><p>kubectl get pods</p><p>And you see:</p><p>CrashLoopBackOff</p><p>You restart the Pod.</p><p>It crashes again.</p><p>You restart it again.</p><p>Same result. 😅</p><p>Sound familiar?</p><p>This is where Kubernetes troubleshooting really begins.</p><p>The goal isn’t to restart Pods until something works.</p><p>The goal is to answer one question:</p><p><strong>Why is it failing?</strong></p><p>In this article, we’ll look at common Kubernetes problems and a systematic way to find their root causes.</p><p>THE GOLDEN RULE OF KUBERNETES TROUBLESHOOTING</p><p>Don’t guess.</p><p>Don’t immediately delete the Pod.</p><p>Don’t restart everything.</p><p>Start with:</p><p><strong>Observe → Investigate → Identify → Fix → Verify</strong></p><p>A simple troubleshooting flow:</p><p>Problem<br> ↓<br> kubectl get<br> ↓<br> kubectl describe<br> ↓<br> kubectl logs<br> ↓<br> Check Events<br> ↓<br> Check Dependencies<br> ↓<br> Find Root Cause<br> ↓<br> Fix<br> ↓<br> Verify</p><p>COMMON KUBERNETES PROBLEMS</p><ol><li>POD STUCK IN PENDING</li></ol><p>You deploy your application:</p><p>kubectl get pods</p><p>And see:</p><p>my-app 0/1 Pending</p><p>The Pod hasn’t even started.</p><p>Start with:</p><p>kubectl describe pod my-app</p><p>Look at the Events section.</p><p>You might see:</p><p>0/3 nodes are available: Insufficient cpu.</p><p>Or:</p><p>0/3 nodes are available: Insufficient memory.</p><p>Common causes:</p><p>• Not enough CPU<br> • Not enough memory<br> • NodeSelector mismatch<br> • Taints and tolerations<br> • Affinity rules<br> • PersistentVolume problems</p><p>Check your nodes:</p><p>kubectl get nodes</p><p>Check resource usage:</p><p>kubectl top nodes</p><p>The important question is:</p><p><strong>Why can’t Kubernetes schedule this Pod?</strong></p><ol><li>CRASHLOOPBACKOFF</li></ol><p>This is one of the most common Kubernetes problems.</p><p>kubectl get pods</p><p>Result:</p><p>my-app 0/1 CrashLoopBackOff</p><p>The container starts.</p><p>Then it crashes.</p><p>Kubernetes starts it again.</p><p>It crashes again.</p><p>First check:</p><p>kubectl logs my-app</p><p>You might discover:</p><p>DATABASE_URL environment variable is missing</p><p>Or:</p><p>Connection refused</p><p>Or:</p><p>Permission denied</p><p>Check the previous container:</p><p>kubectl logs my-app --previous</p><p>Then:</p><p>kubectl describe pod my-app</p><p>Look at:</p><p>• Last State<br> • Exit Code<br> • Reason<br> • Events<br> • Restart Count</p><p>Common causes include:</p><p>• Application bugs<br> • Missing environment variables<br> • Incorrect configuration<br> • Database unavailable<br> • Incorrect entrypoint<br> • Permission problems<br> • Missing Secrets<br> • Missing ConfigMaps<br> • Failed probes</p><p>Don’t try to fix CrashLoopBackOff itself.</p><p><strong>Find out why the application is crashing.</strong></p><ol><li>IMAGEPULLBACKOFF</li></ol><p>You deploy a new version.</p><p>Instead of Running:</p><p>my-app 0/1 ImagePullBackOff</p><p>Start with:</p><p>kubectl describe pod my-app</p><p>Check the Events section.</p><p>Possible causes:</p><p>• Incorrect image name<br> • Image tag doesn’t exist<br> • Private registry authentication failed<br> • Registry unavailable<br> • Architecture mismatch</p><p>Check your deployment:</p><p>kubectl get deployment my-app -o yaml</p><p>Look at the image:</p><p>image: myapp:v2</p><p>Make sure that image actually exists.</p><ol><li>POD IS RUNNING BUT APPLICATION DOESN’T WORK</li></ol><p>This is an important Kubernetes lesson:</p><p><strong>Running does NOT always mean healthy.</strong></p><p>You might see:</p><p>my-app 1/1 Running</p><p>But users still can’t access the application.</p><p>First:</p><p>kubectl logs my-app</p><p>Then enter the container:</p><p>kubectl exec -it my-app -- sh</p><p>Test the application:</p><p>curl localhost:8080</p><p>If the application works inside the Pod but doesn’t work from outside, investigate:</p><p>• Service<br> • Ingress<br> • Load Balancer<br> • NetworkPolicy<br> • DNS<br> • Port configuration</p><p>The problem may not be the application.</p><ol><li>SERVICE HAS NO ENDPOINTS</li></ol><p>Your Pods are Running.</p><p>Your Service exists.</p><p>But traffic isn’t reaching the application.</p><p>Check:</p><p>kubectl get svc</p><p>Then:</p><p>kubectl get endpoints my-app</p><p>If you see:</p><p>ENDPOINTS: &lt;none&gt;</p><p>you have an important clue.</p><p>Check the Service:</p><p>kubectl describe svc my-app</p><p>Suppose the selector is:</p><p>app=frontend</p><p>Now check your Pod labels:</p><p>kubectl get pods --show-labels</p><p>And you discover:</p><p>app=backend</p><p>There is the problem.</p><p>The Service is looking for:</p><p>app=frontend</p><p>But the Pod has:</p><p>app=backend</p><p><strong>The application wasn’t broken. The Service selector was wrong.</strong></p><ol><li>SERVICE PORT VS TARGETPORT</li></ol><p>Another very common issue.</p><p>Your Service contains:</p><p>port: 80<br> targetPort: 8080</p><p>The traffic flow is:</p><p>Client<br> ↓<br> Service :80<br> ↓<br> Pod :8080</p><p>But what if your application is actually listening on port 3000?</p><p>The Service won’t reach it.</p><p>Check inside the Pod:</p><p>kubectl exec -it my-app -- sh</p><p>Then:</p><p>ss -lntp</p><p>Verify which port the application is actually listening on.</p><p><strong>Don’t assume. Verify.</strong></p><ol><li>READINESS PROBE FAILED</li></ol><p>Your Pod is running:</p><p>STATUS: Running</p><p>But:</p><p>READY: 0/1</p><p>Check:</p><p>kubectl describe pod my-app</p><p>You may see:</p><p>Readiness probe failed</p><p>For example, your application might have:</p><p>path: /health<br> port: 8080</p><p>Kubernetes expects the health endpoint to respond successfully.</p><p>Test it:</p><p>kubectl exec -it my-app -- curl localhost:8080/health</p><p>If it fails, investigate the application or probe configuration.</p><p>Remember:</p><p><strong>Readiness determines whether the Pod should receive traffic.</strong></p><ol><li>LIVENESS PROBE CAUSING RESTARTS</li></ol><p>Imagine your application takes 60 seconds to start.</p><p>But your liveness probe starts checking after only 5 seconds.</p><p>Kubernetes may decide:</p><p>“Application is unhealthy.”</p><p>And restart it.</p><p>The application starts again.</p><p>The probe fails again.</p><p>The cycle continues.</p><p>Eventually:</p><p>CrashLoopBackOff</p><p>Check:</p><p>kubectl describe pod my-app</p><p>Look for:</p><p>Liveness probe failed</p><p>For slow-starting applications, consider using a:</p><p><strong>startupProbe</strong></p><p>A startup probe gives the application time to initialize before liveness checks become active.</p><ol><li>DNS PROBLEMS</li></ol><p>Your application can’t connect to another Kubernetes Service.</p><p>For example:</p><p>Connection to database failed</p><p>Test DNS from inside the Pod:</p><p>kubectl exec -it my-app -- nslookup database</p><p>You can also check:</p><p>kubectl get pods -n kube-system</p><p>Look for CoreDNS Pods.</p><p>Then:</p><p>kubectl logs -n kube-system -l k8s-app=kube-dns</p><p>Also verify:</p><p>• Service name<br> • Namespace<br> • CoreDNS<br> • NetworkPolicy<br> • Cluster networking</p><p>A Service in another namespace can be referenced as:</p><p>service-name.namespace</p><ol><li>NODE IS NOTREADY</li></ol><p>Sometimes the application isn’t the problem.</p><p>The node is.</p><p>Run:</p><p>kubectl get nodes</p><p>You might see:</p><p>node-01 NotReady</p><p>Now:</p><p>kubectl describe node node-01</p><p>Look for:</p><p>• MemoryPressure<br> • DiskPressure<br> • PIDPressure<br> • Ready</p><p>Also check:</p><p>kubectl top nodes</p><p>Possible causes include:</p><p>• High memory usage<br> • Disk pressure<br> • CPU exhaustion<br> • Kubelet problems<br> • Container runtime problems<br> • Network problems</p><p>Before debugging the application, make sure the infrastructure running it is healthy.</p><p>KUBERNETES EVENTS: YOUR BEST FRIEND</p><p>When something strange happens, check Events:</p><p>kubectl get events --sort-by=.lastTimestamp</p><p>Events can reveal:</p><p>• Scheduling failures<br> • Image pull errors<br> • Probe failures<br> • Mount problems<br> • Node issues<br> • Permission problems</p><p>When troubleshooting Kubernetes:</p><p><strong>Check Events early.</strong></p><p>A REAL KUBERNETES TROUBLESHOOTING SCENARIO</p><p>Imagine users report:</p><p><strong>“The application is returning 502.”</strong></p><p>Don’t restart everything.</p><p>Start here:</p><p>kubectl get pods</p><p>Pods:</p><p>Running</p><p>Good.</p><p>Next:</p><p>kubectl get svc</p><p>Service exists.</p><p>Next:</p><p>kubectl get endpoints my-app</p><p>Result:</p><p>ENDPOINTS: &lt;none&gt;</p><p>Now inspect:</p><p>kubectl describe svc my-app</p><p>Selector:</p><p>app=frontend</p><p>Check the Pods:</p><p>kubectl get pods --show-labels</p><p>Pod label:</p><p>app=backend</p><p>Found it.</p><p>The application wasn’t broken.</p><p><strong>The Service selector was wrong.</strong></p><p>One label caused the outage.</p><p>This is why Kubernetes troubleshooting should always follow the evidence.</p><p>THE KUBERNETES TROUBLESHOOTING MINDSET</p><p>When something breaks, ask:</p><p>Is the Pod running?</p><p>Why isn’t the Pod running?</p><p>What do the logs say?</p><p>Did the previous container crash?</p><p>What do Kubernetes Events say?</p><p>Does the Service have endpoints?</p><p>Are the health probes working?</p><p>Is DNS working?</p><p>Are the nodes healthy?</p><p>Is there a NetworkPolicy blocking traffic?</p><p>The goal is to move from:</p><p><strong>“Something is broken.”</strong></p><p>to:</p><p><strong>“I know exactly where the problem is.”</strong></p><p>FINAL THOUGHTS</p><p>Kubernetes troubleshooting isn’t about memorizing hundreds of commands.</p><p>It’s about knowing <strong>what question to ask next.</strong></p><p>Pod Pending?</p><p>Ask:</p><p><strong>Why can’t Kubernetes schedule it?</strong></p><p>CrashLoopBackOff?</p><p>Ask:</p><p><strong>Why is the application process exiting?</strong></p><p>Service not working?</p><p>Ask:</p><p><strong>Does the Service have endpoints?</strong></p><p>502 error?</p><p>Ask:</p><p><strong>Where is the request failing?</strong></p><p>Node NotReady?</p><p>Ask:</p><p><strong>Is the infrastructure healthy?</strong></p><p>The mindset is simple:</p><p><strong>Observe → Investigate → Identify → Fix → Verify</strong></p><p>Don’t just restart.</p><p>Don’t just delete.</p><p>Don’t guess.</p><p><strong>Follow the evidence.</strong></p><p>That’s how you move from simply deploying Kubernetes applications to actually operating Kubernetes in production.</p><p><strong>Learn Kubernetes. Break Kubernetes. Troubleshoot Kubernetes. 🚀</strong></p><p>#Kubernetes #DevOps #AWS #EKS #CloudComputing #Docker #KubernetesTroubleshooting #SRE #PlatformEngineering #DevSecOps #CloudNative</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b141e473e56" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynatrace for DevOps: From Monitoring to AI-Powered Observability]]></title>
            <link>https://medium.com/@kashifsayyad09/dynatrace-for-devops-from-monitoring-to-ai-powered-observability-5d0a846beb2a?source=rss-e2a36ee3ecec------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d0a846beb2a</guid>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[dynatrace]]></category>
            <category><![CDATA[aws-eks]]></category>
            <dc:creator><![CDATA[Kashif Syed]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 17:07:19 GMT</pubDate>
            <atom:updated>2026-09-08T17:07:19.596Z</atom:updated>
            <content:encoded><![CDATA[<p>Modern applications are no longer running on a single server.</p><p>Today, a typical application might involve:</p><p>Users<br> ↓<br>Load Balancer<br> ↓<br>Kubernetes / EKS<br> ↓<br>Microservices<br> ↓<br>Databases<br> ↓<br>AWS Services<br> ↓<br>External APIs</p><p>When something goes wrong, the difficult part isn’t always fixing the problem.</p><p>The difficult part is finding out:</p><p>“What actually caused it?”</p><p>This is where observability becomes important.</p><p>## What is Dynatrace?</p><p>Dynatrace is an observability and application monitoring platform that helps teams understand the health and performance of their applications, infrastructure and user experience.</p><p>Instead of looking at different monitoring tools separately, Dynatrace can bring metrics, logs, traces and application information together.</p><p>## Monitoring vs Observability</p><p>Monitoring usually tells you:</p><p>“Something is wrong.”</p><p>Observability helps answer:</p><p>“Why is it wrong?”</p><p>For example:</p><p>CPU usage increased<br> ↓<br>Application latency increased<br> ↓<br>A specific microservice became slow<br> ↓<br>Database queries increased<br> ↓<br>One deployment introduced the problem</p><p>This context is what makes observability powerful.</p><p>## The Three Pillars</p><p>Observability is commonly associated with:</p><p>### Metrics</p><p>Metrics tell us what is happening.</p><p>Examples:</p><p>- CPU utilization<br>- Memory usage<br>- Request rate<br>- Error rate<br>- Response time</p><p>### Logs</p><p>Logs tell us what happened.</p><p>For example:</p><p>ERROR: Database connection timeout</p><p>### Traces</p><p>Traces help us understand how a request travels through the system.</p><p>User<br> ↓<br>API<br> ↓<br>Service A<br> ↓<br>Service B<br> ↓<br>Database</p><p>If Service B takes 3 seconds to respond, tracing can help identify it as the bottleneck.</p><p>## Dynatrace in AWS</p><p>A typical AWS environment could look like:</p><p>Users<br> ↓<br>CloudFront<br> ↓<br>Application Load Balancer<br> ↓<br>Amazon EKS<br> ↓<br>Microservices<br> ↓<br>Amazon RDS<br> ↓<br>Other AWS Services</p><p>Dynatrace can provide visibility across these layers.</p><p>This is especially useful in distributed systems where a single user request can pass through multiple services.</p><p>## Dynatrace + Kubernetes</p><p>Kubernetes environments can become difficult to troubleshoot because there are many moving parts:</p><p>- Pods<br>- Nodes<br>- Deployments<br>- Services<br>- Ingress<br>- Containers<br>- Microservices</p><p>When an application becomes slow, simply checking CPU and memory isn’t always enough.</p><p>You need to understand the relationship between infrastructure and application behavior.</p><p>This is where observability becomes extremely valuable.</p><p>## AI-Powered Observability</p><p>One of the interesting directions in observability is AI.</p><p>Instead of engineers manually searching through hundreds of metrics and logs, AI can help identify patterns and potential root causes.</p><p>The evolution looks something like:</p><p>Monitoring<br> ↓<br>Observability<br> ↓<br>AI-assisted analysis<br> ↓<br>Automated root-cause analysis<br> ↓<br>AI-powered operations</p><p>This is where tools such as Dynatrace’s Davis AI become interesting.</p><p>The goal isn’t simply to show more dashboards.</p><p>The goal is to reduce the time required to understand and resolve incidents.</p><p>## Example: Production Incident</p><p>Imagine your application suddenly becomes slow.</p><p>Without strong observability:</p><p>Check CPU<br> ↓<br>Check memory<br> ↓<br>Check logs<br> ↓<br>Check database<br> ↓<br>Check Kubernetes<br> ↓<br>Check recent deployments<br> ↓<br>Try to identify the problem</p><p>This can take a significant amount of time.</p><p>With an observability platform:</p><p>Application latency increases<br> ↓<br>Affected service identified<br> ↓<br>Related dependency identified<br> ↓<br>Error pattern detected<br> ↓<br>Potential root cause highlighted</p><p>The engineer can then validate the finding and take action.</p><p>## Where DevOps Is Going</p><p>DevOps is evolving.</p><p>Earlier:</p><p>“Keep the servers running.”</p><p>Then:</p><p>“Automate infrastructure and deployments.”</p><p>Now:</p><p>“Build reliable systems and understand them.”</p><p>And the future is moving toward:</p><p>“Build systems that can detect, explain and respond to problems automatically.”</p><p>That doesn’t mean engineers become unnecessary.</p><p>It means the engineer’s role moves toward:</p><p>- Architecture<br>- Reliability<br>- Security<br>- Automation<br>- Incident leadership<br>- System design<br>- Business impact</p><p>## Skills to Learn</p><p>If you’re starting in DevOps, I would learn:</p><p>Linux<br> ↓<br>AWS<br> ↓<br>Docker<br> ↓<br>Kubernetes<br> ↓<br>Terraform<br> ↓<br>CI/CD<br> ↓<br>Monitoring<br> ↓<br>Observability<br> ↓<br>AI for DevOps</p><p>Don’t just learn how to create infrastructure.</p><p>Learn how to understand what happens after the infrastructure goes live.</p><p>## Final Thoughts</p><p>Infrastructure without observability is like driving a car without a dashboard.</p><p>You may be moving, but you don’t really know what’s happening.</p><p>Dynatrace is one example of how modern observability is moving beyond simple monitoring toward intelligent analysis and automated operations.</p><p>The future of DevOps isn’t only about deploying applications faster.</p><p>It’s about building systems that are:</p><p>Reliable.<br>Observable.<br>Secure.<br>Automated.<br>Intelligent.</p><p>And that’s where observability becomes a core DevOps skill.</p><p>#DevOps #Dynatrace #AWS #Observability #CloudComputing #Kubernetes #EKS #SRE #DevSecOps #AI</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d0a846beb2a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Analyst Jobs in the Age of AGI: What Should We Prepare For?]]></title>
            <link>https://medium.com/@kashifsayyad09/data-analyst-jobs-in-the-age-of-agi-what-should-we-prepare-for-2869db3aad6d?source=rss-e2a36ee3ecec------2</link>
            <guid isPermaLink="false">https://medium.com/p/2869db3aad6d</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[agi]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[gpt-6-astra]]></category>
            <dc:creator><![CDATA[Kashif Syed]]></dc:creator>
            <pubDate>Sun, 06 Sep 2026 16:33:25 GMT</pubDate>
            <atom:updated>2026-09-06T16:33:25.004Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data Analyst Jobs in the Age of AGI: What Should We Actually Worry About?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hDFB2W6vrpFJ7dzF7tY6Yg.png" /></figure><p>AI is changing the way we work.</p><p>For years, a Data Analyst’s workflow looked something like:</p><p>Collect data → Clean it → Write SQL → Build dashboards → Find insights → Create reports → Present recommendations.</p><p>Today, AI can already help with many of these steps.</p><p>But the bigger question is:</p><p><strong>What happens when AI moves from assisting with tasks to owning outcomes?</strong></p><p>That is where the conversation around AGI becomes interesting.</p><h3>The AI Progression</h3><p>I think about AI adoption in four stages.</p><h3>1. Traditional Tools</h3><p>Tools such as Excel, SQL, Power BI, Tableau and cloud analytics platforms gave analysts the ability to perform their work.</p><p>The analyst still decided what needed to be done.</p><h3>2. AI as a Thinking Partner</h3><p>Tools such as ChatGPT and Claude changed the workflow.</p><p>AI can now help analysts:</p><ul><li>Generate SQL</li><li>Explain datasets</li><li>Find patterns</li><li>Suggest visualizations</li><li>Summarize results</li><li>Brainstorm hypotheses</li></ul><p>But the human still decides what happens next.</p><h3>3. AI Agents</h3><p>AI is increasingly moving from generating answers to taking actions.</p><p>An agent could potentially:</p><p>Query a database → Analyze results → Create a dashboard → Investigate anomalies → Generate a report → Trigger an approved workflow.</p><p>Technologies such as APIs, MCP and cloud services make this kind of workflow increasingly possible.</p><h3>4. AGI-Like Systems</h3><p>The biggest conceptual shift could be moving from:</p><p><strong>“Tell me what task to perform.”</strong></p><p>to:</p><p><strong>“Tell me what outcome you want.”</strong></p><p>For example:</p><p>Traditional:</p><p>“Create a report showing why revenue dropped.”</p><p>Agentic:</p><p>“Investigate the revenue decline and identify the most likely causes.”</p><p>AGI direction:</p><p>“Improve revenue while staying within these business constraints.”</p><p>The system would need to determine what analysis, tools and actions are required.</p><h3>Are Data Analyst Jobs at Risk?</h3><p>Yes, but the risk is not equal across every type of work.</p><h3>Higher Automation Risk</h3><ul><li>Basic Excel reporting</li><li>Recurring KPI reports</li><li>Dashboard generation</li><li>Basic SQL queries</li><li>Data cleaning</li><li>Standard visualizations</li><li>Routine business summaries</li><li>Repetitive ad-hoc analysis</li></ul><p>These tasks have clear inputs and outputs, which makes them easier to automate.</p><p>But data analysis is much more than producing charts.</p><h3>What Becomes More Valuable?</h3><p>As AI handles more execution, human value moves upward.</p><h3>Business Judgment</h3><p>Knowing which question actually matters.</p><h3>Statistical Reasoning</h3><p>Understanding whether a pattern is actually meaningful.</p><h3>Problem Framing</h3><p>Turning a vague business problem into something measurable.</p><h3>Strategy</h3><p>Deciding what the organization should do with the information.</p><h3>Domain Knowledge</h3><p>Understanding customers, products, markets and business constraints.</p><h3>Outcome Ownership</h3><p>Being responsible for whether the decision actually produces results.</p><h3>What Does This Mean for AWS?</h3><p>This is where cloud and AI engineering become especially interesting.</p><p>Modern analytics can involve multiple layers:</p><p>Data → Storage → Processing → Analytics → AI → Automation</p><p>AWS provides services across these layers, including:</p><ul><li>Amazon S3</li><li>AWS Glue</li><li>Amazon Athena</li><li>Amazon Redshift</li><li>Amazon QuickSight</li><li>Amazon SageMaker</li><li>Amazon Bedrock</li></ul><p>The future analyst may not simply query a database.</p><p>They may work with AI-powered systems that continuously analyze data, detect changes and recommend or execute actions.</p><p>That requires understanding both data and infrastructure.</p><h3>The New Skill Stack</h3><p>If I were starting as a Data Analyst today, I wouldn’t stop at:</p><p><strong>Excel + SQL + Power BI</strong></p><p>I would build toward:</p><p>SQL<br>↓<br>Python<br>↓<br>Statistics<br>↓<br>Data Engineering<br>↓<br>AWS / Cloud<br>↓<br>AI / LLMs<br>↓<br>AI Agents + MCP<br>↓<br>Business &amp; Domain Expertise</p><p>The goal isn’t to compete with AI at writing SQL faster.</p><p>The goal is to understand how to build, supervise and use AI systems that turn data into decisions.</p><h3>The Bigger Lesson</h3><p>AGI doesn’t necessarily mean:</p><p><strong>“Data Analyst jobs disappear.”</strong></p><p>A more useful way to think about it is:</p><p><strong>One analyst + powerful AI may eventually accomplish what previously required a much larger team.</strong></p><p>That changes the economics of the role.</p><p>The analysts who remain valuable will increasingly be those who can:</p><p>Ask better questions → Understand the data → Use AI effectively → Validate the results → Make better decisions → Own the outcome.</p><p>The same pattern is happening across software engineering, DevOps, marketing, finance and many other knowledge-work roles.</p><p>The job may not disappear.</p><p><strong>The definition of the job will change.</strong></p><h3>Final Thought</h3><p>Don’t ask:</p><p><strong>“Will AI replace Data Analysts?”</strong></p><p>Ask:</p><p><strong>“Which parts of Data Analytics can AI replace, and what should I learn that moves me higher up the value chain?”</strong></p><p>That question is much more useful.</p><p>AI won’t just change the tools we use.</p><p><strong>It will change what it means to be valuable.</strong></p><p>#AWS #AWSCommunityBuilders #DataAnalytics #GenerativeAI #AIAgents #AGI #AWS #CloudComputing #DataEngineering #ArtificialIntelligence #FutureOfWork #MCP</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2869db3aad6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 10: DevSecOps Pipeline]]></title>
            <link>https://medium.com/@kashifsayyad09/day-10-devsecops-pipeline-36a8d1da98f3?source=rss-e2a36ee3ecec------2</link>
            <guid isPermaLink="false">https://medium.com/p/36a8d1da98f3</guid>
            <category><![CDATA[devsecops-solutions]]></category>
            <category><![CDATA[aws-codepipeline]]></category>
            <category><![CDATA[aws-devops]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ek]]></category>
            <dc:creator><![CDATA[Kashif Syed]]></dc:creator>
            <pubDate>Tue, 01 Sep 2026 05:31:13 GMT</pubDate>
            <atom:updated>2026-09-01T05:31:13.289Z</atom:updated>
            <content:encoded><![CDATA[<p>As part of my AWS DevOps Community Builders learning journey, Day 10 focused on integrating security into the CI/CD pipeline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5LtiuwhIpZin9_irNE61_Q.png" /></figure><p>Today’s main focus was:</p><p>Code → Quality Check → Security Scan → Build → Container Scan → Deploy</p><p>DevSecOps is about making security a continuous part of software delivery instead of checking security only at the end.</p><p>## What I Learned</p><p>- DevSecOps fundamentals<br>- Shift-left security<br>- SonarQube<br>- Static Application Security Testing (SAST)<br>- Code quality analysis<br>- Quality gates<br>- Dependency scanning<br>- Vulnerability scanning<br>- Container image scanning<br>- Docker security<br>- Secrets detection<br>- GitLab CI/CD security<br>- Security gates<br>- Secure Amazon ECR images<br>- Secure Amazon EKS deployments</p><p>## 1. What is DevSecOps?</p><p>DevSecOps combines:</p><p>Development + Security + Operations</p><p>Traditional approach:</p><p>Developer<br>↓<br>Build<br>↓<br>Test<br>↓<br>Deploy<br>↓<br>Security Check</p><p>DevSecOps approach:</p><p>Developer<br>↓<br>Security<br>↓<br>Build<br>↓<br>Test<br>↓<br>Security<br>↓<br>Deploy<br>↓<br>Monitor</p><p>Security becomes part of every stage of the development and deployment lifecycle.</p><p>## 2. Why Shift Security Left?</p><p>Finding a vulnerability after production deployment can be expensive and risky.</p><p>For example:</p><p>Developer writes code<br>↓<br>Application is deployed<br>↓<br>Security issue discovered<br>↓<br>Production rollback<br>↓<br>Emergency fix</p><p>With DevSecOps:</p><p>Developer writes code<br>↓<br>Security scan<br>↓<br>Issue detected<br>↓<br>Fix before deployment<br>↓<br>Secure application deployed</p><p>The earlier we detect a problem, the easier it is to fix.</p><p>## 3. DevSecOps Pipeline</p><p>A typical pipeline can look like:</p><p>Developer<br>↓<br>GitLab<br>↓<br>Code Quality Scan<br>↓<br>Security Scan<br>↓<br>Dependency Scan<br>↓<br>Docker Build<br>↓<br>Container Scan<br>↓<br>Amazon ECR<br>↓<br>Amazon EKS</p><p>Every stage acts as a security and quality checkpoint.</p><p>## 4. SonarQube</p><p>SonarQube can analyze source code to identify code quality and security issues.</p><p>It can help detect:</p><p>- Bugs<br>- Code smells<br>- Security issues<br>- Duplicated code<br>- Maintainability problems</p><p>A simplified workflow is:</p><p>Developer<br>↓<br>Git Push<br>↓<br>GitLab CI/CD<br>↓<br>SonarQube<br>↓<br>Analysis<br>↓<br>Quality Gate<br>↓<br>Continue or Stop Pipeline</p><p>## 5. Quality Gates</p><p>A quality gate defines whether code is good enough to move to the next stage.</p><p>For example:</p><p>Code<br>↓<br>SonarQube<br>↓<br>Quality Gate</p><p>If the quality gate passes:</p><p>PASS<br>↓<br>Continue Pipeline</p><p>If the quality gate fails:</p><p>FAIL<br>↓<br>Stop Pipeline</p><p>This prevents poor-quality code from automatically moving toward production.</p><p>## 6. Static Application Security Testing</p><p>SAST analyzes source code to identify potential security vulnerabilities.</p><p>For example:</p><p>Source Code<br>↓<br>SAST Scanner<br>↓<br>Security Findings<br>↓<br>Developer Fix<br>↓<br>Scan Again</p><p>Common issues that security scanning may help identify include:</p><p>- Injection vulnerabilities<br>- Hardcoded credentials<br>- Unsafe coding patterns<br>- Insecure functions<br>- Authentication issues</p><p>The exact vulnerabilities detected depend on the scanning tool and language.</p><p>## 7. Dependency Scanning</p><p>Modern applications often depend on external libraries.</p><p>For example:</p><p>Application<br>↓<br>Node.js<br>↓<br>npm packages</p><p>or:</p><p>Application<br>↓<br>Python<br>↓<br>pip packages</p><p>A vulnerable dependency can introduce security risk into an otherwise secure application.</p><p>The workflow is:</p><p>Application<br>↓<br>Dependencies<br>↓<br>Dependency Scanner<br>↓<br>Vulnerability Database<br>↓<br>Security Report</p><p>If a critical vulnerable dependency is detected, the pipeline can be configured to stop.</p><p>## 8. Secret Detection</p><p>Secrets should never be committed directly into source code.</p><p>Examples of secrets include:</p><p>- AWS access keys<br>- API tokens<br>- Database passwords<br>- Private keys<br>- Authentication tokens</p><p>Bad practice:</p><p>AWS_ACCESS_KEY_ID=”xxxx”<br>AWS_SECRET_ACCESS_KEY=”xxxx”</p><p>inside application source code.</p><p>Better approach:</p><p>GitLab CI/CD Variables<br>↓<br>Secrets Management<br>↓<br>Temporary Credentials<br>↓<br>Application / Pipeline</p><p>Day 4 focused on OIDC authentication, which helps avoid storing long-lived AWS access keys in GitLab CI/CD.</p><p>## 9. Docker Image Security</p><p>After building a Docker image, we should also scan the image for vulnerabilities.</p><p>The flow becomes:</p><p>Source Code<br>↓<br>Dockerfile<br>↓<br>Docker Build<br>↓<br>Docker Image<br>↓<br>Container Security Scan<br>↓<br>PASS / FAIL<br>↓<br>Amazon ECR</p><p>Example:</p><p>docker build -t myapp:1.0 .</p><p>Then the image can be scanned before being pushed or deployed, depending on the security workflow.</p><p>## 10. Container Vulnerability Scanning</p><p>A Docker image contains:</p><p>- Application code<br>- Operating system packages<br>- Libraries<br>- Dependencies</p><p>Any vulnerable component can introduce risk.</p><p>For example:</p><p>Docker Image<br>↓<br>OS Packages<br>↓<br>Libraries<br>↓<br>Application Dependencies<br>↓<br>Vulnerability Scanner<br>↓<br>Security Report</p><p>The pipeline can be configured to block images containing vulnerabilities above an agreed severity threshold.</p><p>## 11. Amazon ECR</p><p>Amazon ECR is the container registry used to store Docker images.</p><p>A secure workflow can look like:</p><p>GitLab<br>↓<br>Docker Build<br>↓<br>Container Scan<br>↓<br>Amazon ECR<br>↓<br>Amazon EKS</p><p>ECR can also provide image scanning capabilities depending on the configured scanning approach.</p><p>## 12. Security Gates</p><p>Security gates prevent vulnerable code or images from automatically progressing through the pipeline.</p><p>For example:</p><p>Code<br>↓<br>SAST<br>↓<br>Dependency Scan<br>↓<br>Quality Gate<br>↓<br>Docker Build<br>↓<br>Container Scan<br>↓<br>Security Gate<br>↓<br>ECR<br>↓<br>EKS</p><p>If a security gate fails:</p><p>Pipeline<br>↓<br>STOP<br>↓<br>Developer Fixes Issue<br>↓<br>Scan Again</p><p>This provides an automated security checkpoint.</p><p>## 13. GitLab CI/CD DevSecOps Pipeline</p><p>A simplified GitLab pipeline can look like:</p><p>stages:<br> — quality<br> — security<br> — build<br> — scan<br> — deploy</p><p>Example flow:</p><p>Quality<br>↓<br>SonarQube</p><p>Security<br>↓<br>SAST<br>↓<br>Dependency Scan<br>↓<br>Secret Detection</p><p>Build<br>↓<br>Docker</p><p>Scan<br>↓<br>Container Vulnerability Scan</p><p>Deploy<br>↓<br>Amazon ECR<br>↓<br>Amazon EKS</p><p>The exact GitLab configuration depends on the project and security tools being used.</p><p>## 14. Complete DevSecOps Architecture</p><p>Developer<br>↓<br>GitLab<br>↓<br>GitLab CI/CD<br>↓<br>SonarQube<br>↓<br>SAST<br>↓<br>Dependency Scan<br>↓<br>Secret Detection<br>↓<br>Docker Build<br>↓<br>Container Scan<br>↓<br>Amazon ECR<br>↓<br>Amazon EKS<br>↓<br>Application</p><p>This creates security checkpoints throughout the delivery process.</p><p>## 15. DevSecOps with AWS</p><p>The concepts from previous days now start connecting.</p><p>Day 3:</p><p>Terraform<br>↓<br>AWS Infrastructure</p><p>Day 4:</p><p>OIDC<br>↓<br>IAM<br>↓<br>Secure AWS Authentication</p><p>Day 5:</p><p>Docker<br>↓<br>ECR<br>↓<br>EKS</p><p>Day 6:</p><p>Kubernetes Networking<br>↓<br>Service<br>↓<br>Ingress<br>↓<br>Load Balancer</p><p>Day 7:</p><p>Stateful / Stateless<br>↓<br>EBS / RDS</p><p>Day 8:</p><p>Production EKS Architecture<br>↓<br>VPC<br>↓<br>ALB<br>↓<br>EKS<br>↓<br>RDS</p><p>Day 9:</p><p>Monitoring<br>↓<br>CloudWatch<br>↓<br>Prometheus<br>↓<br>Grafana</p><p>Day 10:</p><p>Security<br>↓<br>SonarQube<br>↓<br>Vulnerability Scanning<br>↓<br>Security Gates</p><p>Each layer is now becoming part of one complete DevOps platform.</p><p>## 16. Example DevSecOps Pipeline</p><p>A complete workflow could be:</p><p>Developer<br>↓<br>Git Push<br>↓<br>GitLab<br>↓<br>Code Quality<br>↓<br>SonarQube<br>↓<br>SAST<br>↓<br>Dependency Scan<br>↓<br>Secret Detection<br>↓<br>Docker Build<br>↓<br>Container Scan<br>↓<br>Security Gate<br>↓<br>Amazon ECR<br>↓<br>Amazon EKS<br>↓<br>Application</p><p>If any critical security issue is detected:</p><p>Security Scan<br>↓<br>FAIL<br>↓<br>Pipeline Stops<br>↓<br>Developer Fixes Issue<br>↓<br>Pipeline Runs Again</p><p>This prevents known issues from automatically reaching production.</p><p>## 17. Why Security Gates Matter</p><p>Without security gates:</p><p>Code<br>↓<br>Build<br>↓<br>Deploy<br>↓<br>Production<br>↓<br>Security Issue</p><p>With security gates:</p><p>Code<br>↓<br>Scan<br>↓<br>Security Gate<br>↓<br>PASS<br>↓<br>Build<br>↓<br>Deploy</p><p>The goal is to prevent known security problems from moving further through the delivery pipeline.</p><p>## 18. DevSecOps Best Practices</p><p>Some important practices I learned today:</p><p>- Scan code early<br>- Scan dependencies<br>- Detect secrets<br>- Scan container images<br>- Use quality gates<br>- Use security gates<br>- Avoid hardcoded credentials<br>- Use IAM roles<br>- Prefer short-lived credentials<br>- Keep dependencies updated<br>- Use minimal Docker images<br>- Keep containers patched<br>- Monitor production workloads<br>- Automate security checks</p><p>Security should be automated wherever possible.</p><p>## 19. Security vs Speed</p><p>One important lesson is that security should not become a completely separate manual process.</p><p>Instead:</p><p>Developer<br>↓<br>Write Code</p><p>CI/CD<br>↓<br>Automatically Test</p><p>Security<br>↓<br>Automatically Scan</p><p>Infrastructure<br>↓<br>Automatically Validate</p><p>Deployment<br>↓<br>Automatically Release</p><p>This allows teams to maintain both delivery speed and security.</p><p>## 20. Production DevSecOps Flow</p><p>A more complete architecture is:</p><p>Developer<br> |<br> ↓<br> GitLab<br> |<br> ↓<br> GitLab CI/CD<br> |<br> + — — — — — — — + — — — — — — — +<br> | | |<br> ↓ ↓ ↓<br> SonarQube SAST Dependency Scan<br> | | |<br> + — — — — — — — + — — — — — — — +<br> |<br> ↓<br> Security Gate<br> |<br> PASS<br> |<br> ↓<br> Docker Build<br> |<br> ↓<br> Container Scan<br> |<br> ↓<br> Security Gate<br> |<br> PASS<br> |<br> ↓<br> Amazon ECR<br> |<br> ↓<br> Amazon EKS<br> |<br> ↓<br> Application</p><p>This is the kind of automated security flow I want to understand and implement in real-world DevOps environments.</p><p>## 21. Key Takeaway</p><p>The biggest lesson from Day 10 is:</p><p>Security should not be something we check only after deployment.</p><p>It should be part of the entire software delivery lifecycle.</p><p>The DevSecOps mindset is:</p><p>Code Securely<br>↓<br>Test Automatically<br>↓<br>Scan Continuously<br>↓<br>Block Critical Issues<br>↓<br>Deploy Securely<br>↓<br>Monitor Continuously</p><p>The goal is not simply to add more security tools.</p><p>The goal is to build security into the process.</p><p>## My Day 10 Takeaway</p><p>Today helped me understand how DevOps and security work together.</p><p>A strong DevSecOps pipeline can automatically check:</p><p>Code Quality<br>↓<br>Code Security<br>↓<br>Dependencies<br>↓<br>Secrets<br>↓<br>Container Images<br>↓<br>Infrastructure<br>↓<br>Deployment</p><p>This creates a more secure and reliable path from developer code to production.</p><p>The mindset I am taking forward is:</p><p>“Build security into the pipeline, not around the pipeline.”</p><p>## What’s Next?</p><p>Day 11: GitLab CI/CD Production Pipeline</p><p>Topics:</p><p>- GitLab CI/CD<br>- Dev Environment<br>- QA Environment<br>- Production Environment<br>- Pipeline Stages<br>- Environment Variables<br>- Manual Approvals<br>- Deployment Gates<br>- Protected Environments<br>- Production Deployment<br>- Rollback Strategy<br>- GitLab Runner</p><p>The journey continues:</p><p>Learn → Build → Secure → Automate → Deploy → Monitor → Improve</p><p>#AWS #AWSCommunityBuilders #DevOps #DevSecOps #GitLab #CICD #SonarQube #Security #AmazonEKS #AmazonECR #Docker #Kubernetes #CloudComputing #DevOpsJourney #LearningInPublic</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36a8d1da98f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 9: Monitoring EKS]]></title>
            <link>https://medium.com/@kashifsayyad09/day-9-monitoring-eks-da864ef0a5af?source=rss-e2a36ee3ecec------2</link>
            <guid isPermaLink="false">https://medium.com/p/da864ef0a5af</guid>
            <category><![CDATA[prometheus]]></category>
            <category><![CDATA[helm]]></category>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[amazon-eks]]></category>
            <category><![CDATA[grafana]]></category>
            <dc:creator><![CDATA[Kashif Syed]]></dc:creator>
            <pubDate>Tue, 01 Sep 2026 05:24:47 GMT</pubDate>
            <atom:updated>2026-09-01T05:24:47.182Z</atom:updated>
            <content:encoded><![CDATA[<p>As part of my AWS DevOps Community Builders learning journey, Day 9 focused on monitoring Amazon EKS and understanding how observability helps us detect, troubleshoot, and respond to issues in Kubernetes environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T7S69khvXQkNcYw4XsSRPA.png" /></figure><p>Today’s main focus was:</p><p>CloudWatch → Prometheus → Grafana → Metrics → Logs → Alerts</p><p>Monitoring is not just about checking whether Pods are running.</p><p>It is about understanding what is happening across the entire application and infrastructure.</p><p>## What I Learned</p><p>- Amazon CloudWatch<br>- CloudWatch Logs<br>- CloudWatch Metrics<br>- Amazon Managed Service for Prometheus<br>- Amazon Managed Grafana<br>- Kubernetes metrics<br>- EKS monitoring<br>- Application monitoring<br>- Infrastructure monitoring<br>- Container logs<br>- CPU and memory utilization<br>- Pod health<br>- Node health<br>- Alerts<br>- Dashboards<br>- Observability<br>- Troubleshooting production workloads</p><p>## 1. Why Monitoring Matters</p><p>Imagine an application is running in EKS.</p><p>The Pods may show:</p><p>Running</p><p>But users might still experience:</p><p>- Slow response times<br>- Application errors<br>- High CPU usage<br>- High memory usage<br>- Network problems<br>- Database connection failures</p><p>This is why simply checking:</p><p>kubectl get pods</p><p>is not enough for a production environment.</p><p>We need visibility into:</p><p>Metrics<br>Logs<br>Traces<br>Events<br>Alerts</p><p>This is where observability becomes important.</p><p>## 2. What is Amazon CloudWatch?</p><p>Amazon CloudWatch provides monitoring and observability capabilities for AWS resources and applications.</p><p>It can help collect and visualize:</p><p>- Metrics<br>- Logs<br>- Events<br>- Alarms</p><p>For EKS environments, CloudWatch can help monitor cluster and workload behavior.</p><p>A simplified architecture is:</p><p>EKS<br>↓<br>CloudWatch<br>↓<br>Metrics + Logs<br>↓<br>Dashboard<br>↓<br>Alerts</p><p>## 3. EKS Monitoring</p><p>A production EKS environment can contain:</p><p>EKS Cluster<br>↓<br>Nodes<br>↓<br>Pods<br>↓<br>Containers<br>↓<br>Applications</p><p>Each layer can produce useful monitoring data.</p><p>For example:</p><p>Node<br>→ CPU<br>→ Memory<br>→ Disk</p><p>Pod<br>→ CPU<br>→ Memory<br>→ Restart Count</p><p>Application<br>→ Request Rate<br>→ Error Rate<br>→ Response Time</p><p>Database<br>→ Connections<br>→ CPU<br>→ Storage<br>→ Latency</p><p>Monitoring these layers gives us a better understanding of application health.</p><p>## 4. CloudWatch Logs</p><p>Application containers generate logs.</p><p>For example:</p><p>Application Started<br>Database Connected<br>Request Received<br>Request Failed<br>Application Error</p><p>These logs are valuable during troubleshooting.</p><p>A typical flow is:</p><p>Application Container<br>↓<br>Container Logs<br>↓<br>CloudWatch Logs<br>↓<br>Log Groups<br>↓<br>Search / Analysis<br>↓<br>Trououbleshooting</p><p>Instead of logging into individual nodes to inspect logs manually, centralized logging makes investigation easier.</p><p>## 5. Kubernetes Logs</p><p>We can also inspect Pod logs directly using kubectl.</p><p>Example:</p><p>kubectl logs &lt;pod-name&gt;</p><p>For a specific container:</p><p>kubectl logs &lt;pod-name&gt; -c &lt;container-name&gt;</p><p>Follow live logs:</p><p>kubectl logs -f &lt;pod-name&gt;</p><p>This is useful when troubleshooting application-level problems.</p><p>## 6. Metrics</p><p>Metrics provide numerical information about the health and performance of the system.</p><p>Examples include:</p><p>CPU Usage<br>Memory Usage<br>Pod Restart Count<br>Network Traffic<br>Request Count<br>Error Rate<br>Response Time</p><p>For example:</p><p>CPU Usage: 75%</p><p>Memory Usage: 82%</p><p>Request Rate: 1,200 requests/min</p><p>Error Rate: 2%</p><p>Response Time: 350 ms</p><p>These numbers help us understand whether the application is healthy.</p><p>## 7. Amazon Managed Service for Prometheus</p><p>Prometheus is widely used for collecting and querying metrics from Kubernetes environments.</p><p>Amazon Managed Service for Prometheus provides a managed Prometheus-compatible monitoring service.</p><p>A simplified flow is:</p><p>EKS<br>↓<br>Prometheus Metrics<br>↓<br>Amazon Managed Service for Prometheus<br>↓<br>Queries<br>↓<br>Dashboards / Alerts</p><p>This allows teams to collect Kubernetes and application metrics without managing the complete Prometheus infrastructure themselves.</p><p>## 8. Amazon Managed Grafana</p><p>Grafana provides dashboards for visualizing metrics.</p><p>A typical architecture can look like:</p><p>EKS<br>↓<br>Prometheus<br>↓<br>Amazon Managed Service for Prometheus<br>↓<br>Amazon Managed Grafana<br>↓<br>Dashboard</p><p>A dashboard can display:</p><p>- CPU usage<br>- Memory usage<br>- Pod count<br>- Node health<br>- Request rate<br>- Error rate<br>- Application latency</p><p>This gives engineers a visual overview of the environment.</p><p>## 9. CloudWatch vs Prometheus vs Grafana</p><p>Each tool has a different role.</p><p>CloudWatch:</p><p>AWS monitoring, metrics, logs, alarms, and observability.</p><p>Prometheus:</p><p>Metrics collection and querying, especially useful for Kubernetes and application metrics.</p><p>Grafana:</p><p>Visualization and dashboards.</p><p>A simple way to remember:</p><p>CloudWatch → Monitor AWS</p><p>Prometheus → Collect and query metrics</p><p>Grafana → Visualize metrics</p><p>## 10. Monitoring Architecture</p><p>A simplified EKS monitoring architecture is:</p><p>EKS CLUSTER<br> |<br> + — — — — — + — — — — — +<br> | |<br> ↓ ↓<br> Metrics Logs<br> | |<br> ↓ ↓<br> Prometheus CloudWatch<br> |<br> ↓<br> Managed Prometheus<br> |<br> ↓<br> Managed Grafana<br> |<br> ↓<br> Dashboards<br> |<br> ↓<br> Alerts</p><p>CloudWatch can also provide metrics, logs, alarms, and observability capabilities across AWS resources.</p><p>## 11. Monitoring Pods</p><p>Pod monitoring is important because application failures often start at the workload level.</p><p>Useful information includes:</p><p>- Pod status<br>- CPU usage<br>- Memory usage<br>- Restart count<br>- Container status<br>- Readiness<br>- Liveness<br>- Application logs</p><p>Useful command:</p><p>kubectl get pods</p><p>More detailed information:</p><p>kubectl describe pod &lt;pod-name&gt;</p><p>Logs:</p><p>kubectl logs &lt;pod-name&gt;</p><p>These commands are useful for first-level troubleshooting.</p><p>## 12. Monitoring Nodes</p><p>EKS nodes also need monitoring.</p><p>Important metrics include:</p><p>- CPU utilization<br>- Memory utilization<br>- Disk usage<br>- Network traffic<br>- Node status<br>- Pod capacity</p><p>Useful command:</p><p>kubectl get nodes</p><p>Detailed information:</p><p>kubectl describe node &lt;node-name&gt;</p><p>A node with high resource utilization can affect multiple Pods running on that node.</p><p>## 13. Application Monitoring</p><p>Infrastructure health does not always mean application health.</p><p>For example:</p><p>CPU: Normal</p><p>Memory: Normal</p><p>Pods: Running</p><p>But:</p><p>API Response Time: High</p><p>Error Rate: High</p><p>This means the application can still have a problem even though the infrastructure looks healthy.</p><p>Application-level metrics are therefore important.</p><p>Useful metrics include:</p><p>- Request rate<br>- Error rate<br>- Response time<br>- HTTP status codes<br>- Database latency<br>- External API latency</p><p>## 14. Alerts</p><p>Monitoring becomes much more useful when it can notify engineers about problems.</p><p>For example:</p><p>CPU &gt; 80%</p><p>Memory &gt; 85%</p><p>Pod restart count increases</p><p>Error rate &gt; 5%</p><p>Application latency increases</p><p>Database connections reach a critical level</p><p>The basic idea is:</p><p>Metric<br>↓<br>Threshold<br>↓<br>Alert<br>↓<br>Engineer<br>↓<br>Investigation<br>↓<br>Action</p><p>Alerts should be meaningful and actionable.</p><p>Too many unnecessary alerts can create alert fatigue.</p><p>## 15. Example Production Scenario</p><p>Imagine an application running on EKS suddenly becomes slow.</p><p>Users report:</p><p>“The website is taking too long to load.”</p><p>Instead of guessing, we can investigate systematically.</p><p>Step 1:</p><p>Check Pods.</p><p>kubectl get pods</p><p>Step 2:</p><p>Check Pod logs.</p><p>kubectl logs &lt;pod-name&gt;</p><p>Step 3:</p><p>Check resource usage.</p><p>kubectl top pods</p><p>Step 4:</p><p>Check nodes.</p><p>kubectl get nodes</p><p>Step 5:</p><p>Check CloudWatch metrics and logs.</p><p>Step 6:</p><p>Check application metrics in Prometheus.</p><p>Step 7:</p><p>Open Grafana dashboards.</p><p>Step 8:</p><p>Check error rate and response time.</p><p>This gives us a structured troubleshooting process.</p><p>## 16. Observability</p><p>Monitoring tells us what is happening.</p><p>Observability helps us understand why it is happening.</p><p>The three major pillars are:</p><p>Metrics<br>Logs<br>Traces</p><p>Metrics tell us:</p><p>“What is happening?”</p><p>Logs tell us:</p><p>“What happened?”</p><p>Traces help answer:</p><p>“Where did the request spend time?”</p><p>Together they provide better visibility into distributed applications.</p><p>## 17. EKS Production Observability</p><p>A production architecture can look like:</p><p>Users<br>↓<br>ALB<br>↓<br>EKS<br>↓<br>Application Pods<br>↓<br>Metrics + Logs<br>↓<br>CloudWatch + Prometheus<br>↓<br>Grafana<br>↓<br>Dashboards<br>↓<br>Alerts</p><p>This allows DevOps and platform teams to monitor the complete application environment.</p><p>## 18. Monitoring Stack</p><p>A possible AWS-based monitoring stack is:</p><p>Amazon EKS<br>↓<br>CloudWatch<br>+<br>Amazon Managed Service for Prometheus<br>↓<br>Amazon Managed Grafana<br>↓<br>Dashboards<br>↓<br>Alerts</p><p>Each service contributes to a different part of observability.</p><p>## 19. Important Kubernetes Commands</p><p>Check Pods:</p><p>kubectl get pods</p><p>Check all resources:</p><p>kubectl get all</p><p>Check Services:</p><p>kubectl get svc</p><p>Check Nodes:</p><p>kubectl get nodes</p><p>Check Pod details:</p><p>kubectl describe pod &lt;pod-name&gt;</p><p>Check logs:</p><p>kubectl logs &lt;pod-name&gt;</p><p>Follow logs:</p><p>kubectl logs -f &lt;pod-name&gt;</p><p>Check resource usage:</p><p>kubectl top pods</p><p>Check node resource usage:</p><p>kubectl top nodes</p><p>These commands are useful for day-to-day EKS troubleshooting.</p><p>## 20. Monitoring Checklist</p><p>For a production EKS environment, I would monitor:</p><p>☑ Cluster health</p><p>☑ Node health</p><p>☑ Pod health</p><p>☑ CPU utilization</p><p>☑ Memory utilization</p><p>☑ Disk utilization</p><p>☑ Network traffic</p><p>☑ Pod restarts</p><p>☑ Application errors</p><p>☑ Request rate</p><p>☑ Response time</p><p>☑ Database performance</p><p>☑ Logs</p><p>☑ Alerts</p><p>☑ Availability</p><p>☑ Security events</p><p>## 21. Key Takeaway</p><p>The biggest lesson from Day 9 is:</p><p>Running an application is only the beginning.</p><p>We also need to know:</p><p>Is it healthy?</p><p>Is it performing well?</p><p>Are users experiencing errors?</p><p>Are resources being exhausted?</p><p>What changed?</p><p>Where is the problem?</p><p>Why did it happen?</p><p>Monitoring and observability help answer these questions.</p><p>A simplified flow is:</p><p>EKS<br>↓<br>Metrics + Logs<br>↓<br>CloudWatch + Prometheus<br>↓<br>Grafana<br>↓<br>Dashboards<br>↓<br>Alerts<br>↓<br>Troubleshooting<br>↓<br>Action</p><p>## Connecting Day 8 and Day 9</p><p>Day 8 focused on production architecture:</p><p>Route 53<br>↓<br>ALB<br>↓<br>Ingress<br>↓<br>EKS<br>↓<br>Application Pods<br>↓<br>RDS</p><p>Day 9 adds observability:</p><p>EKS<br>↓<br>Metrics<br>↓<br>Logs<br>↓<br>CloudWatch<br>↓<br>Prometheus<br>↓<br>Grafana<br>↓<br>Alerts</p><p>Now the architecture is not only designed to run the application, but also to help us understand its health and behavior.</p><p>## My Day 9 Takeaway</p><p>Today I learned that a production-ready EKS environment needs more than deployment and networking.</p><p>It also needs visibility.</p><p>CloudWatch helps monitor AWS resources and collect logs and metrics.</p><p>Prometheus helps collect and query Kubernetes and application metrics.</p><p>Grafana helps visualize those metrics through dashboards.</p><p>Alerts help teams respond when important thresholds or conditions are reached.</p><p>The ultimate goal is:</p><p>Monitor → Detect → Investigate → Respond → Improve</p><p>## What’s Next?</p><p>Day 10: DevSecOps Pipeline</p><p>Topics:</p><p>- SonarQube<br>- Code Quality<br>- Vulnerability Scanning<br>- Container Security<br>- Dependency Scanning<br>- Security Gates<br>- Quality Gates<br>- GitLab CI/CD<br>- Secure Docker Images<br>- Secure EKS Deployments</p><p>The journey continues:</p><p>Learn → Build → Secure → Automate → Deploy → Monitor → Improve</p><p>#AWS #AWSCommunityBuilders #DevOps #AmazonEKS #CloudWatch #Prometheus #Grafana #Kubernetes #Observability #Monitoring #DevSecOps #CloudComputing #DevOpsJourney #LearningInPublic</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da864ef0a5af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 8: EKS Production Architecture]]></title>
            <link>https://medium.com/@kashifsayyad09/day-8-eks-production-architecture-79317f03193f?source=rss-e2a36ee3ecec------2</link>
            <guid isPermaLink="false">https://medium.com/p/79317f03193f</guid>
            <category><![CDATA[test]]></category>
            <category><![CDATA[production]]></category>
            <category><![CDATA[aws-eks]]></category>
            <category><![CDATA[dev]]></category>
            <category><![CDATA[ek]]></category>
            <dc:creator><![CDATA[Kashif Syed]]></dc:creator>
            <pubDate>Sun, 30 Aug 2026 15:31:45 GMT</pubDate>
            <atom:updated>2026-08-30T15:31:45.614Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-gTkQDP1xszmFKi1AQvh7A.png" /><figcaption>Day 8: EKS Production Architecture</figcaption></figure><p>As part of my AWS DevOps Community Builders learning journey, Day 8 focused on understanding how to design a production-ready Amazon EKS architecture using AWS networking, security, scalability, and high-availability principles.</p><p>Today’s main focus was:</p><p>ALB → EKS → RDS → VPC → Private Subnets</p><p>The goal was not just to run an application on EKS, but to understand how the different AWS and Kubernetes components work together in a real production environment.</p><p>## What I Learned</p><p>- Amazon EKS production architecture<br>- AWS VPC<br>- Public and private subnets<br>- Application Load Balancer (ALB)<br>- AWS Load Balancer Controller<br>- Kubernetes Ingress<br>- Kubernetes Services<br>- EKS worker nodes<br>- Application Pods<br>- Amazon RDS<br>- Security Groups<br>- NAT Gateway<br>- Internet Gateway<br>- Multi-AZ architecture<br>- High availability<br>- Private application workloads<br>- Secure database connectivity<br>- Network isolation</p><p>## 1. What Does a Production EKS Architecture Look Like?</p><p>A basic EKS setup might simply run:</p><p>User<br>↓<br>EKS<br>↓<br>Pods</p><p>But a production architecture requires much more.</p><p>A simplified production architecture looks like:</p><p>Internet<br>↓<br>Route 53<br>↓<br>Application Load Balancer<br>↓<br>Kubernetes Ingress<br>↓<br>Kubernetes Service<br>↓<br>EKS Application Pods<br>↓<br>Amazon RDS</p><p>The infrastructure supporting this architecture is:</p><p>AWS VPC<br>↓<br>Public Subnets<br>↓<br>Private Subnets<br>↓<br>EKS<br>↓<br>RDS</p><p>## 2. AWS VPC</p><p>Amazon VPC provides the networking foundation for the application.</p><p>Inside the VPC, we can create multiple subnets across different Availability Zones.</p><p>A simplified design is:</p><p>AWS VPC<br>|<br>+ — Availability Zone A<br>| |<br>| + — Public Subnet<br>| + — Private Subnet<br>|<br>+ — Availability Zone B<br> |<br> + — Public Subnet<br> + — Private Subnet</p><p>This allows us to separate internet-facing resources from internal workloads.</p><p>## 3. Public vs Private Subnets</p><p>One of the important concepts I focused on today was the difference between public and private subnets.</p><p>Public subnets can contain resources that need controlled internet-facing access.</p><p>Private subnets are commonly used for internal workloads such as:</p><p>- EKS worker nodes<br>- Application Pods<br>- Internal services<br>- Databases</p><p>A common production pattern is:</p><p>Internet<br>↓<br>Public ALB<br>↓<br>Private EKS Pods<br>↓<br>Private RDS</p><p>This helps reduce the public attack surface.</p><p>## 4. Application Load Balancer</p><p>The Application Load Balancer provides an entry point for HTTP/HTTPS application traffic.</p><p>The basic flow is:</p><p>User<br>↓<br>ALB<br>↓<br>EKS<br>↓<br>Application</p><p>The ALB can route traffic based on host or path rules.</p><p>For example:</p><p>example.com/<br>↓<br>Frontend</p><p>example.com/api<br>↓<br>Backend</p><p>This makes ALB useful for modern web applications and microservices.</p><p>## 5. AWS Load Balancer Controller</p><p>The AWS Load Balancer Controller connects Kubernetes resources with AWS load balancing services.</p><p>For example:</p><p>Kubernetes Ingress<br>↓<br>AWS Load Balancer Controller<br>↓<br>Application Load Balancer<br>↓<br>EKS Pods</p><p>This allows Kubernetes applications to use AWS-native load balancing capabilities.</p><p>## 6. Kubernetes Ingress</p><p>Ingress defines how HTTP and HTTPS traffic should be routed to different Services.</p><p>For example:</p><p>User<br>↓<br>ALB<br>↓<br>Ingress<br>|<br>+ — / → Frontend Service<br>|<br>+ — /api → Backend Service<br>|<br>+ — /admin → Admin Service</p><p>This allows multiple applications or services to be exposed through a controlled entry point.</p><p>## 7. Kubernetes Service</p><p>The Kubernetes Service provides stable networking for Pods.</p><p>Pods are dynamic.</p><p>They can be:</p><p>- Created<br>- Deleted<br>- Restarted<br>- Rescheduled</p><p>Therefore, applications should not depend directly on individual Pod IP addresses.</p><p>Instead:</p><p>Ingress<br>↓<br>Service<br>↓<br>Pods</p><p>The Service provides a stable endpoint and routes traffic to the appropriate Pods.</p><p>## 8. EKS Application Layer</p><p>Inside the private subnets, EKS worker nodes run application workloads.</p><p>A simplified architecture is:</p><p>Private Subnet<br>|<br>+ — EKS Node<br>| |<br>| + — Frontend Pod<br>| + — Backend Pod<br>|<br>+ — EKS Node<br> |<br> + — Frontend Pod<br> + — Backend Pod</p><p>Running Pods across multiple nodes and Availability Zones helps improve availability.</p><p>## 9. Amazon RDS</p><p>For applications that require a relational database, Amazon RDS can be used instead of managing the database directly inside Kubernetes.</p><p>For example:</p><p>EKS Application Pods<br>↓<br>Private Network<br>↓<br>Amazon RDS</p><p>This separates the application layer from the database layer.</p><p>EKS manages the application workloads.</p><p>Amazon RDS provides the managed database service.</p><p>## 10. EKS + RDS Architecture</p><p>A common architecture is:</p><p>Internet<br>↓<br>Route 53<br>↓<br>Application Load Balancer<br>↓<br>Kubernetes Ingress<br>↓<br>Kubernetes Service<br>↓<br>EKS Application Pods<br>↓<br>Amazon RDS</p><p>The database can remain in private subnets and only accept connections from authorized application resources.</p><p>## 11. Security Groups</p><p>Security Groups provide an important network security layer.</p><p>For example:</p><p>Internet<br>↓<br>ALB Security Group<br>↓<br>EKS Application Security Controls<br>↓<br>RDS Security Group<br>↓<br>Amazon RDS</p><p>The goal is to allow only the traffic that is required.</p><p>For example:</p><p>ALB<br>→ EKS application</p><p>EKS application<br>→ RDS</p><p>But the database should not be directly accessible from the public internet.</p><p>## 12. NAT Gateway</p><p>Applications running in private subnets may still need outbound internet access.</p><p>For example, an application may need to:</p><p>- Download packages<br>- Access external APIs<br>- Pull updates<br>- Communicate with external services</p><p>A NAT Gateway can provide outbound internet connectivity for resources in private subnets.</p><p>A simplified flow is:</p><p>Private EKS Node<br>↓<br>NAT Gateway<br>↓<br>Internet Gateway<br>↓<br>Internet</p><p>The important point is that the private workload does not need to have a public IP address just to initiate outbound connections.</p><p>## 13. Internet Gateway</p><p>An Internet Gateway provides connectivity between the VPC and the internet for resources that are appropriately configured in public subnets.</p><p>A simplified architecture is:</p><p>Internet<br>↓<br>Internet Gateway<br>↓<br>Public Subnet<br>↓<br>ALB</p><p>For private workloads, outbound internet connectivity can be provided through a NAT Gateway when required.</p><p>## 14. Multi-AZ Architecture</p><p>Production applications should avoid depending on a single Availability Zone.</p><p>A Multi-AZ architecture distributes workloads across multiple Availability Zones.</p><p>For example:</p><p>AWS VPC<br>|<br>+ — AZ A<br>| |<br>| + — EKS Nodes<br>| + — Application Pods<br>|<br>+ — AZ B<br> |<br> + — EKS Nodes<br> + — Application Pods</p><p>The application can continue serving traffic even if one Availability Zone experiences a failure, assuming the application has been properly designed for redundancy.</p><p>## 15. High Availability</p><p>High availability means designing the application so that the failure of one component does not necessarily make the entire application unavailable.</p><p>Important components include:</p><p>- Multiple Availability Zones<br>- Multiple EKS nodes<br>- Multiple application replicas<br>- Load balancing<br>- Health checks<br>- Auto scaling<br>- Managed database services<br>- Backups<br>- Monitoring</p><p>A simplified architecture is:</p><p>ALB<br>|<br>+ — AZ A → EKS Pods<br>|<br>+ — AZ B → EKS Pods<br>|<br>+ — RDS</p><p>This provides redundancy across the infrastructure.</p><p>## 16. Complete Production Traffic Flow</p><p>The complete external traffic flow can look like:</p><p>User<br>↓<br>Route 53<br>↓<br>Application Load Balancer<br>↓<br>Kubernetes Ingress<br>↓<br>Kubernetes Service<br>↓<br>EKS Pods<br>↓<br>Application</p><p>When the application needs database access:</p><p>EKS Pods<br>↓<br>Private Network<br>↓<br>Security Group<br>↓<br>Amazon RDS</p><p>This creates a clear separation between the public entry point, application layer, and database layer.</p><p>## 17. Complete AWS Architecture</p><p>A simplified production architecture:</p><p>INTERNET<br> |<br> ↓<br> Route 53 / DNS<br> |<br> ↓<br> Application Load Balancer<br> |<br> ↓<br> Kubernetes Ingress<br> |<br> ↓<br> Kubernetes Service<br> |<br> + — — — — — + — — — — — +<br> | |<br> ↓ ↓<br> EKS Pod EKS Pod<br> | |<br> + — — — — — + — — — — — +<br> |<br> ↓<br> Amazon RDS<br> Private Subnet</p><p>AWS infrastructure:</p><p>AWS VPC<br>|<br>+ — Public Subnets<br>| |<br>| + — Application Load Balancer<br>| + — NAT Gateway<br>|<br>+ — Private Subnets<br> |<br> + — EKS Nodes<br> | |<br> | + — Application Pods<br> |<br> + — RDS</p><p>## 18. Why Keep EKS Workloads Private?</p><p>Keeping application workloads in private subnets provides an additional layer of network isolation.</p><p>Instead of:</p><p>Internet<br>↓<br>Application Pod</p><p>A common production design is:</p><p>Internet<br>↓<br>ALB<br>↓<br>Private EKS Pods</p><p>This means the application is accessed through a controlled entry point rather than exposing individual application Pods directly.</p><p>## 19. Why Keep RDS Private?</p><p>Databases normally should not be directly accessible from the public internet.</p><p>A common architecture is:</p><p>EKS Application<br>↓<br>Private Network<br>↓<br>RDS Security Group<br>↓<br>Amazon RDS</p><p>The RDS security rules should allow only the required application traffic.</p><p>For example:</p><p>EKS → RDS: Allowed</p><p>Internet → RDS: Not allowed</p><p>This creates a stronger security boundary around the database layer.</p><p>## 20. Production Architecture Layers</p><p>I found it useful to think about the architecture in layers.</p><p>Layer 1: DNS</p><p>Route 53</p><p>Layer 2: Load Balancing</p><p>Application Load Balancer</p><p>Layer 3: Kubernetes Routing</p><p>Ingress</p><p>Layer 4: Service Discovery</p><p>Kubernetes Service</p><p>Layer 5: Application</p><p>EKS Pods</p><p>Layer 6: Database</p><p>Amazon RDS</p><p>Layer 7: Networking</p><p>VPC + Subnets + Security Groups</p><p>Layer 8: Availability</p><p>Multiple AZs + Multiple Replicas</p><p>This layered approach makes the architecture easier to understand and troubleshoot.</p><p>## 21. Security Architecture</p><p>A production architecture should provide multiple security controls.</p><p>A simplified model is:</p><p>Internet<br>↓<br>Route 53<br>↓<br>ALB<br>↓<br>Security Group<br>↓<br>Ingress<br>↓<br>Kubernetes Service<br>↓<br>EKS Pods<br>↓<br>Private Network<br>↓<br>RDS Security Group<br>↓<br>Amazon RDS</p><p>Each layer has a specific responsibility.</p><p>## 22. Scalability</p><p>Production applications may receive changing amounts of traffic.</p><p>EKS allows applications to run multiple replicas.</p><p>For example:</p><p>Deployment<br>↓<br>Pod 1<br>Pod 2<br>Pod 3<br>Pod 4</p><p>If traffic increases, the application can be scaled based on the chosen Kubernetes and AWS scaling configuration.</p><p>This is one of the major advantages of container orchestration.</p><p>## 23. Reliability</p><p>A production architecture should also consider what happens when something fails.</p><p>Possible failures include:</p><p>- Pod failure<br>- Node failure<br>- Availability Zone failure<br>- Application failure<br>- Database failure<br>- Network failure</p><p>Kubernetes and AWS provide different mechanisms to help handle these scenarios.</p><p>For example:</p><p>Pod failure<br>↓<br>Kubernetes replaces Pod</p><p>Node failure<br>↓<br>Workloads can be rescheduled when capacity is available</p><p>Availability Zone issue<br>↓<br>Workloads in another AZ can continue serving traffic when properly distributed</p><p>Database issue<br>↓<br>Managed database availability and backup/recovery mechanisms can help reduce impact</p><p>The exact behavior depends on how the architecture is configured.</p><p>## 24. Production Checklist</p><p>Before calling an EKS architecture production-ready, I would consider:</p><p>☑ Multiple Availability Zones</p><p>☑ Private application subnets</p><p>☑ Private database subnets</p><p>☑ Application Load Balancer</p><p>☑ Kubernetes Ingress</p><p>☑ Kubernetes Services</p><p>☑ Multiple application replicas</p><p>☑ Security Groups</p><p>☑ IAM permissions</p><p>☑ Monitoring and logging</p><p>☑ Database backups</p><p>☑ Disaster recovery strategy</p><p>☑ Auto scaling</p><p>☑ Health checks</p><p>☑ Secure secrets management</p><p>☑ Infrastructure as Code</p><p>## 25. Key Takeaway</p><p>The biggest lesson from Day 8 is:</p><p>A production EKS architecture is not just about running Kubernetes Pods.</p><p>It is about designing the complete system around those Pods.</p><p>That includes:</p><p>Security</p><p>Networking</p><p>Scalability</p><p>High Availability</p><p>Reliability</p><p>Monitoring</p><p>Database architecture</p><p>Disaster recovery</p><p>A simplified production flow is:</p><p>Route 53<br>↓<br>ALB<br>↓<br>Ingress<br>↓<br>EKS Service<br>↓<br>Application Pods<br>↓<br>Amazon RDS</p><p>And the infrastructure foundation is:</p><p>VPC<br>↓<br>Public Subnets<br>↓<br>Private Subnets<br>↓<br>EKS<br>↓<br>RDS</p><p>## Connecting Day 7 and Day 8</p><p>Day 7 focused on Stateful vs Stateless workloads:</p><p>Deployment → Stateless</p><p>StatefulSet → Stateful</p><p>PVC → Persistent Storage</p><p>EBS → Block Storage</p><p>RDS → Managed Database</p><p>Day 8 takes these concepts into a broader production architecture:</p><p>Internet<br>↓<br>ALB<br>↓<br>EKS<br>↓<br>Application<br>↓<br>RDS</p><p>This connects Kubernetes workloads with AWS networking, security, and database services.</p><p>## My Day 8 Takeaway</p><p>Today helped me understand that designing production infrastructure is about more than choosing individual AWS services.</p><p>The real challenge is understanding how the services work together.</p><p>VPC provides the network.</p><p>Subnets provide isolation.</p><p>ALB provides controlled external access.</p><p>Ingress provides application routing.</p><p>EKS runs the workloads.</p><p>Services provide stable Kubernetes networking.</p><p>Security Groups control network access.</p><p>RDS provides the managed database layer.</p><p>Multi-AZ architecture improves availability.</p><p>Together, these components create a foundation for secure and scalable applications on AWS.</p><p>## What’s Next?</p><p>Day 9: Monitoring EKS</p><p>Topics:</p><p>- Amazon CloudWatch<br>- Prometheus<br>- Grafana<br>- Metrics<br>- Logs<br>- Alerts<br>- EKS monitoring<br>- Application monitoring<br>- Infrastructure monitoring<br>- Kubernetes observability</p><p>The journey continues:</p><p>Learn → Build → Secure → Automate → Deploy → Monitor → Improve</p><p>#AWS #AWSCommunityBuilders #DevOps #AmazonEKS #AWSVPC #AmazonRDS #Kubernetes #ALB #Ingress #CloudComputing #HighAvailability #DevOpsJourney #LearningInPublic</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79317f03193f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 7: EKS Stateful vs Stateless]]></title>
            <link>https://medium.com/@kashifsayyad09/day-7-eks-stateful-vs-stateless-f516f6d70c6e?source=rss-e2a36ee3ecec------2</link>
            <guid isPermaLink="false">https://medium.com/p/f516f6d70c6e</guid>
            <category><![CDATA[ek]]></category>
            <category><![CDATA[dbs]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[statefulsets]]></category>
            <category><![CDATA[aws-eks]]></category>
            <dc:creator><![CDATA[Kashif Syed]]></dc:creator>
            <pubDate>Sun, 30 Aug 2026 15:28:52 GMT</pubDate>
            <atom:updated>2026-08-30T15:28:52.351Z</atom:updated>
            <content:encoded><![CDATA[<p>As part of my AWS DevOps Community Builders learning journey, Day 7 focused on understanding the difference between Stateful and Stateless applications in Amazon EKS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AXvh43RG3L7M8rtkR65owQ.png" /><figcaption>EKS Stateful vs Stateless</figcaption></figure><p>The main focus was:</p><p>Deployment → StatefulSet → PVC → EBS → RDS</p><p>Understanding when to use stateless and stateful workloads is an important part of designing reliable Kubernetes applications.</p><p>## What I Learned</p><p>- Stateless applications<br>- Stateful applications<br>- Kubernetes Deployment<br>- Kubernetes StatefulSet<br>- Kubernetes Services<br>- Headless Services<br>- PersistentVolume (PV)<br>- PersistentVolumeClaim (PVC)<br>- AWS EBS<br>- Persistent storage<br>- MySQL on EKS<br>- MySQL on Amazon RDS<br>- EKS + RDS architecture</p><p>## 1. What is a Stateless Application?</p><p>A stateless application does not depend on data stored inside a specific Pod.</p><p>If a Pod fails, Kubernetes can create a replacement Pod without losing the application’s persistent state.</p><p>A typical architecture looks like:</p><p>User<br>↓<br>Load Balancer<br>↓<br>Kubernetes Service<br>↓<br>Deployment<br>↓<br>Pod<br>Pod<br>Pod</p><p>For example:</p><p>Frontend<br>Backend API<br>Web application</p><p>These workloads are commonly managed using Kubernetes Deployments.</p><p>## 2. Kubernetes Deployment</p><p>A Deployment manages a set of replicated Pods.</p><p>Example:</p><p>apiVersion: apps/v1<br>kind: Deployment<br>metadata:<br> name: web-app<br>spec:<br> replicas: 3<br> selector:<br> matchLabels:<br> app: web-app<br> template:<br> metadata:<br> labels:<br> app: web-app<br> spec:<br> containers:<br> — name: web-app<br> image: nginx:latest<br> ports:<br> — containerPort: 80</p><p>The Deployment maintains the desired number of Pods.</p><p>If one Pod fails:</p><p>Pod 1 → Running<br>Pod 2 → Running<br>Pod 3 → Failed</p><p>Kubernetes can create a replacement:</p><p>Pod 1 → Running<br>Pod 2 → Running<br>Pod 3 → New Pod</p><p>This is one of the major benefits of stateless workloads.</p><p>## 3. What is a Stateful Application?</p><p>A stateful application needs to maintain data or a stable identity.</p><p>Examples include:</p><p>- MySQL<br>- PostgreSQL<br>- MongoDB<br>- Redis<br>- Elasticsearch</p><p>These applications require persistent data.</p><p>If a database Pod is deleted, we cannot simply create a completely empty replacement Pod.</p><p>We need persistent storage.</p><p>The architecture becomes:</p><p>Application<br>↓<br>Stateful Application<br>↓<br>Persistent Storage</p><p>## 4. StatefulSet</p><p>Kubernetes provides StatefulSet for managing stateful workloads.</p><p>Unlike a Deployment, StatefulSet provides stable identity and ordering for Pods.</p><p>For example:</p><p>mysql-0<br>mysql-1<br>mysql-2</p><p>The Pod names remain predictable.</p><p>A simplified StatefulSet architecture is:</p><p>StatefulSet<br>↓<br>mysql-0<br>mysql-1<br>mysql-2<br>↓<br>Persistent Storage</p><p>StatefulSets are useful when applications require stable network identities, persistent storage, and ordered deployment or scaling behavior.</p><p>## 5. Deployment vs StatefulSet</p><p>Deployment:</p><p>Used mainly for stateless applications.</p><p>Pods have interchangeable identities.</p><p>Example:</p><p>web-app-7d9f8c6b7d-abc12<br>web-app-7d9f8c6b7d-def34<br>web-app-7d9f8c6b7d-ghi56</p><p>StatefulSet:</p><p>Used for stateful workloads.</p><p>Pods have stable identities.</p><p>Example:</p><p>mysql-0<br>mysql-1<br>mysql-2</p><p>Simple comparison:</p><p>Deployment → Stateless</p><p>StatefulSet → Stateful</p><p>Deployment → Interchangeable Pods</p><p>StatefulSet → Stable Pod identity</p><p>Deployment → Usually no persistent identity</p><p>StatefulSet → Stable identity and storage association</p><p>## 6. PersistentVolume</p><p>A PersistentVolume, or PV, represents storage available to Kubernetes.</p><p>The storage exists independently from the lifecycle of an individual Pod.</p><p>Conceptually:</p><p>Pod<br>↓<br>PVC<br>↓<br>PV<br>↓<br>Storage</p><p>This allows application data to survive Pod restarts and replacements.</p><p>## 7. PersistentVolumeClaim</p><p>A PersistentVolumeClaim, or PVC, is a request for storage.</p><p>Instead of directly asking an application Pod to manage the underlying storage, Kubernetes uses the PVC abstraction.</p><p>The flow is:</p><p>Application Pod<br>↓<br>PersistentVolumeClaim<br>↓<br>PersistentVolume<br>↓<br>Storage</p><p>Example:</p><p>apiVersion: v1<br>kind: PersistentVolumeClaim<br>metadata:<br> name: mysql-pvc<br>spec:<br> accessModes:<br> — ReadWriteOnce<br> resources:<br> requests:<br> storage: 20Gi</p><p>The PVC requests storage for the application.</p><p>## 8. AWS EBS with EKS</p><p>Amazon Elastic Block Store, or EBS, provides block storage that can be used by workloads running on AWS.</p><p>A simplified architecture is:</p><p>MySQL Pod<br>↓<br>PVC<br>↓<br>PersistentVolume<br>↓<br>EBS Volume</p><p>This allows database data to remain available beyond the lifecycle of the individual Pod.</p><p>EBS volumes are commonly used for workloads that require block storage.</p><p>The exact storage configuration depends on the Kubernetes StorageClass and EBS CSI driver configuration.</p><p>## 9. StatefulSet + PVC + EBS</p><p>A typical stateful architecture can look like:</p><p>StatefulSet<br>↓<br>mysql-0<br>↓<br>PVC<br>↓<br>PV<br>↓<br>EBS Volume</p><p>For multiple replicas:</p><p>StatefulSet<br>|<br>+ — mysql-0<br>| |<br>| + — PVC<br>| |<br>| + — EBS<br>|<br>+ — mysql-1<br> |<br> + — PVC<br> |<br> + — EBS</p><p>The storage association is an important part of the stateful architecture.</p><p>## 10. Headless Service</p><p>Stateful applications often need stable network identities.</p><p>A Headless Service can be created using:</p><p>clusterIP: None</p><p>Example:</p><p>apiVersion: v1<br>kind: Service<br>metadata:<br> name: mysql<br>spec:<br> clusterIP: None<br> selector:<br> app: mysql<br> ports:<br> — port: 3306</p><p>This allows DNS-based discovery of individual StatefulSet Pods.</p><p>For example:</p><p>mysql-0<br>mysql-1<br>mysql-2</p><p>This is useful for applications that need stable Pod identity and direct Pod discovery.</p><p>## 11. MySQL on EKS</p><p>One option is to run MySQL directly inside Kubernetes.</p><p>The architecture can look like:</p><p>User<br>↓<br>Application<br>↓<br>Kubernetes Service<br>↓<br>MySQL StatefulSet<br>↓<br>PVC<br>↓<br>EBS</p><p>Advantages:</p><p>- Kubernetes-native deployment<br>- Full control over configuration<br>- Can integrate with Kubernetes automation<br>- Useful for learning and specific workloads</p><p>However, running a production database yourself also means taking responsibility for:</p><p>- Backups<br>- Upgrades<br>- Replication<br>- Failover<br>- Monitoring<br>- Storage management<br>- Security<br>- Disaster recovery</p><p>This is why managed database services can be attractive for production systems.</p><p>## 12. MySQL on Amazon RDS</p><p>Another approach is to keep the application on EKS and use Amazon RDS for MySQL.</p><p>The architecture becomes:</p><p>User<br>↓<br>ALB<br>↓<br>EKS<br>↓<br>Application Pods<br>↓<br>Amazon RDS for MySQL</p><p>In this architecture, Kubernetes manages the application layer while AWS manages the database service.</p><p>This separates application orchestration from database management.</p><p>## 13. EKS + RDS Architecture</p><p>A common production pattern is:</p><p>Internet<br>↓<br>Route 53<br>↓<br>Application Load Balancer<br>↓<br>Kubernetes Ingress<br>↓<br>Kubernetes Service<br>↓<br>EKS Application Pods<br>↓<br>Amazon RDS</p><p>AWS VPC:</p><p>AWS VPC<br>|<br>+ — Public Subnets<br>| |<br>| + — ALB<br>|<br>+ — Private Subnets<br> |<br> + — EKS Nodes<br> | |<br> | + — Application Pods<br> |<br> + — RDS</p><p>The database can remain in private subnets and accept connections only from authorized application resources.</p><p>## 14. MySQL on EKS vs Amazon RDS</p><p>MySQL on EKS:</p><p>Application<br>↓<br>MySQL Pod<br>↓<br>PVC<br>↓<br>EBS</p><p>You manage more of the database infrastructure.</p><p>Amazon RDS:</p><p>Application<br>↓<br>EKS<br>↓<br>Private Network<br>↓<br>Amazon RDS</p><p>AWS provides a managed database service, reducing the amount of database infrastructure that you need to operate yourself.</p><p>The right choice depends on application requirements, operational expertise, cost, availability, performance, and management requirements.</p><p>## 15. When Should I Use Deployment?</p><p>Deployment is a good fit for workloads where Pods are interchangeable.</p><p>Examples:</p><p>- Frontend applications<br>- REST APIs<br>- Backend services<br>- Microservices<br>- Web servers<br>- Stateless workers</p><p>Example:</p><p>Deployment<br>↓<br>3 API Pods</p><p>If one Pod fails, another Pod can replace it.</p><p>## 16. When Should I Use StatefulSet?</p><p>StatefulSet is designed for workloads that require stable identity and persistent storage.</p><p>Examples can include:</p><p>- MySQL<br>- PostgreSQL<br>- Kafka<br>- ZooKeeper<br>- Elasticsearch<br>- Stateful distributed systems</p><p>Example:</p><p>StatefulSet<br>↓<br>mysql-0<br>↓<br>Persistent Storage</p><p>The stable identity and storage association are important for stateful applications.</p><p>## 17. Stateless vs Stateful Architecture</p><p>Stateless:</p><p>User<br>↓<br>Load Balancer<br>↓<br>Service<br>↓<br>Deployment<br>↓<br>Pods</p><p>Stateful:</p><p>Application<br>↓<br>Service<br>↓<br>StatefulSet<br>↓<br>Pod<br>↓<br>PVC<br>↓<br>EBS</p><p>Managed database approach:</p><p>Application<br>↓<br>EKS<br>↓<br>Private Network<br>↓<br>Amazon RDS</p><p>## 18. Why Persistence Matters</p><p>Imagine a MySQL Pod stores data only inside the container filesystem.</p><p>If the Pod is deleted:</p><p>MySQL Pod<br>↓<br>Container Storage<br>↓<br>Pod Deleted<br>↓<br>Data Lost</p><p>With persistent storage:</p><p>MySQL Pod<br>↓<br>PVC<br>↓<br>EBS<br>↓<br>Pod Deleted<br>↓<br>New Pod<br>↓<br>Persistent Data</p><p>The important concept is that the data lifecycle should not depend on the lifecycle of the application Pod.</p><p>## 19. Stateful Application Traffic Flow</p><p>A stateful application might have the following architecture:</p><p>User<br>↓<br>ALB<br>↓<br>Ingress<br>↓<br>Application Service<br>↓<br>Application Pods<br>↓<br>Database Service<br>↓<br>MySQL StatefulSet<br>↓<br>PVC<br>↓<br>EBS</p><p>Or, using a managed database:</p><p>User<br>↓<br>ALB<br>↓<br>Ingress<br>↓<br>Application Service<br>↓<br>Application Pods<br>↓<br>Amazon RDS</p><p>## 20. Security Considerations</p><p>Stateful workloads require additional attention to security.</p><p>Important areas include:</p><p>- IAM<br>- Security Groups<br>- Kubernetes Secrets<br>- Encryption<br>- Private subnets<br>- Network Policies<br>- Database access control<br>- Backup strategy<br>- Disaster recovery</p><p>For example:</p><p>EKS Pods<br>↓<br>Security Group<br>↓<br>RDS Security Group<br>↓<br>Amazon RDS</p><p>Only the required application traffic should be allowed to reach the database.</p><p>## 21. Key Takeaway</p><p>The biggest lesson from Day 7 is:</p><p>Not every application should be managed the same way.</p><p>Stateless applications are generally easier to scale horizontally because their Pods are interchangeable.</p><p>Stateful applications require additional considerations such as:</p><p>- Stable identity<br>- Persistent storage<br>- Data lifecycle<br>- Backup<br>- Recovery<br>- Availability<br>- Replication</p><p>A simple way to remember:</p><p>Deployment → Stateless</p><p>StatefulSet → Stateful</p><p>PVC → Storage Request</p><p>PV → Storage Resource</p><p>EBS → AWS Block Storage</p><p>RDS → Managed Database</p><p>## 22. Complete Architecture</p><p>A production application can combine both approaches:</p><p>INTERNET<br> |<br> ↓<br> Route 53<br> |<br> ↓<br> Application Load Balancer<br> |<br> ↓<br> Kubernetes Ingress<br> |<br> ↓<br> Kubernetes Service<br> |<br> + — — — — -+ — — — — -+<br> | |<br> ↓ ↓<br> Frontend Pods Backend Pods<br> Deployment Deployment<br> |<br> ↓<br> Amazon RDS MySQL<br> Private Subnet</p><p>For a database running inside EKS:</p><p>Backend Pods<br> |<br> ↓<br>Database Service<br> |<br> ↓<br>MySQL StatefulSet<br> |<br> ↓<br>PVC<br> |<br> ↓<br>EBS Volume</p><p>## My Day 7 Takeaway</p><p>Today I learned that choosing between StatefulSet and Deployment is not simply a Kubernetes configuration decision.</p><p>It depends on how the application manages data and identity.</p><p>For stateless workloads:</p><p>Deployment + Pods + Service</p><p>For stateful workloads:</p><p>StatefulSet + Service + PVC + Storage</p><p>For many production applications:</p><p>EKS + Application Pods + Amazon RDS</p><p>The key is to choose the architecture based on the application’s data, availability, scalability, and operational requirements.</p><p>## Connecting Day 6 and Day 7</p><p>Day 6 focused on networking:</p><p>User<br>↓<br>ALB<br>↓<br>Ingress<br>↓<br>Service<br>↓<br>Pods</p><p>Day 7 adds application state and persistence:</p><p>Application Pods<br>↓<br>StatefulSet / RDS<br>↓<br>PVC / EBS or Managed Database</p><p>Together, these concepts form an important foundation for designing production workloads on Amazon EKS.</p><p>## What’s Next?</p><p>Day 8: EKS Production Architecture</p><p>Topics:</p><p>- ALB<br>- EKS<br>- RDS<br>- VPC<br>- Public Subnets<br>- Private Subnets<br>- Security Groups<br>- NAT Gateway<br>- Multi-AZ Architecture<br>- High Availability<br>- Production-ready EKS design</p><p>The journey continues:</p><p>Learn → Build → Secure → Automate → Deploy → Improve</p><p>#AWS #AWSCommunityBuilders #DevOps #AmazonEKS #Kubernetes #StatefulSet #Deployment #PVC #EBS #AmazonRDS #MySQL #AWSVPC #CloudComputing #DevOpsJourney #LearningInPublic</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f516f6d70c6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>