<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: N Chandra Prakash Reddy</title>
    <description>The latest articles on DEV Community by N Chandra Prakash Reddy (@chandureddy).</description>
    <link>https://dev.to/chandureddy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3029689%2F7553e5a6-49df-4377-98eb-29c7a04fa6be.png</url>
      <title>DEV Community: N Chandra Prakash Reddy</title>
      <link>https://dev.to/chandureddy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chandureddy"/>
    <language>en</language>
    <item>
      <title>Scaling Custom LLMs on EKS: Trainium and Inferentia2-Powered AI Infrastructure</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Mon, 13 Jul 2026 15:19:24 +0000</pubDate>
      <link>https://dev.to/aws-builders/scaling-custom-llms-on-eks-trainium-and-inferentia2-powered-ai-infrastructure-3nbh</link>
      <guid>https://dev.to/aws-builders/scaling-custom-llms-on-eks-trainium-and-inferentia2-powered-ai-infrastructure-3nbh</guid>
      <description>&lt;p&gt;I attended AWS Community Day Kochi on 20th December 2025 and it was full of amazing insights. There were a lot of great seminars throughout the day on different AWS services but one session in particular totally caught my eye. The session featured a technical deep dive, “Scaling Custom LLMs on EKS: Trainium and Inferentia2-Powered AI Infrastructure”.&lt;/p&gt;

&lt;p&gt;Here’s the rundown of what was covered and how it all works and why it matters if you’re building AI apps today.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Challenge: When Do You Outgrow Standard APIs?&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Let's face it, using off-the-shelf APIs like OpenAI or Anthropic is great for rapid prototyping. You obtain an API key, you write three lines of code, and you have intelligence embedded right into your program. But what if your app goes viral and takes off?&lt;/p&gt;

&lt;p&gt;The speaker hit us with a hard truth straight away: API costs increase dramatically with request volume. Think of it as a cab. It is quite useful for short, occasional journeys. However, if you are driving 100 miles each day, then owning your own automobile makes a lot more financial sense.&lt;/p&gt;

&lt;p&gt;Session data suggests the important inflection point is at around 10 million requests each day. That’s when third party APIs become too expensive and building a custom platform is a very practical, affordable necessity.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Enter AWS Purpose-Built Chips&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;This is a huge scalability problem. To overcome this AWS has come up with purpose-made hardware accelerators that are specifically developed and constructed from the ground up for Generative AI workloads.&lt;/p&gt;

&lt;p&gt;We all know what a typical GPU is, but they are expensive to rent and hard to get at scale. AWS has created its own silicon to solve this very problem.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Inferentia (Inf1):&lt;/strong&gt; It offers the lowest cost per inference in the cloud for Deep Learning models, with costs up to 70% cheaper than normal EC2 instances.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Inferentia2 (Inf2):&lt;/strong&gt; Specifically designed for large language model (LLM) and diffusion model. It offers up to 40% better price performance than equivalent EC2 instances.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Trainium (Trn1):&lt;/strong&gt; Your powerhouse for model training. This means you can achieve up to 50% savings on training costs compared to equivalent Amazon EC2 instances.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Architecture: Bringing it All Together on EKS&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Great software is essential to make hardware useful. This is where the AWS Generative AI stack and SDK for Neurone come into play. Neurone SDK bridges third-party applications such as PyTorch, Ray and vLLM to the underlying Trainium and Inferentia hardware.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy4xc74q3jtna7tkngj8h.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy4xc74q3jtna7tkngj8h.jpeg" alt=" " width="800" height="455"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The worldwide plan showed a very resilient arrangement across regions. Users connect to an Application Load Balancer via a Global Accelerator, and the Application Load Balancer sends the traffic to a Karpenter-managed, dynamically provisioned Amazon EKS cluster. The models are directly served from the hardware nodes using an Nvidia Triton Inference Server in the cluster, running vLLM and the Neurone ML SDK.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Reality of Training and Serving at Scale&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Imagine painting a big canvas all by yourself with a teeny little brush. That's about how it feels training a massive LLM on a single GPU.&lt;/p&gt;

&lt;p&gt;The speaker states that training a certain large model on a single GPU may take ~120 days and cost $500k+. A Trainium Cluster provides the ability to run numerous processors in simultaneously. That takes overall training time down to just 14 days, and cuts the cost to $150k - an astounding 70% cheaper.&lt;/p&gt;

&lt;p&gt;Just as vital is serving. 500ms latency is a sluggish experience for traditional GPUs. Inferentia2 lowers this down to a 100-200ms latency, making the experience feel nearly quick, all while being 70% cheaper.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Hands-On: The EKS Configurations and Code&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;This is where it gets good. The speaker dived straight into the live demo, presenting the real setups that make this magic happen.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F36izp7x27ge1eu4sm6jn.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F36izp7x27ge1eu4sm6jn.jpeg" alt=" " width="800" height="316"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;1. The Kubernetes Magic Line&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;If you want to use a Trainium or Inferentia device in your Kubernetes deployment, just add one magic line in your resource limits: &lt;code&gt;[aws.amazon.com/neuron](https://aws.amazon.com/neuron): "1"&lt;/code&gt; .&lt;/p&gt;

&lt;p&gt;Here is what the manifest looks like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# The Magic Line - Requesting Neuron Device
resources:
  requests:
    cpu: "4"
    memory: 16Gi
    aws.amazon.com/neuron: "1"   # &amp;lt;- Request 1 Trainium/Inferentia device
  limits:
    cpu: "8"
    memory: 32Gi
    aws.amazon.com/neuron: "1"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To bridge the gap between Kubernetes and the physical hardware, you deploy a DaemonSet called the &lt;code&gt;neuron-device-plugin&lt;/code&gt;. It automatically discovers the hardware and mounts the &lt;code&gt;/dev/neuron*&lt;/code&gt; paths:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# DaemonSet discovers and exposes Neuron devices
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: neuron-device-plugin
  namespace: kube-system
spec:
  template:
    spec:
      containers:
        - name: neuron-device-plugin
          image: public.ecr.aws/neuron/neuron-device-plugin:2.19.16.0
          securityContext:
            privileged: true  # Required to access /dev/neuron*
          volumeMounts:
            - name: device-plugin
              mountPath: /var/lib/kubelet/device-plugins
            - name: neuron-dir
              mountPath: /dev  # Access Neuron devices
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. &lt;strong&gt;Protecting Your Budget with Taints&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Here’s a huge money saving tip. Trainium on-demand nodes cost around $1.34 per hour. You do not want to run simple system pods like CoreDNS on those pricey ML instances!&lt;/p&gt;

&lt;p&gt;Using Terraform, you can apply a taint to block non-ML pods:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Terraform: Node Group with Taint
taint {
  key    = "aws.amazon.com/neuron"
  value  = "true"
  effect = "NO_SCHEDULE" # Block non-ML pods!
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then you just add a toleration in your kubernetes deployment so your ml pods can schedule there:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Kubernetes: Pod must tolerate to run on Neuron node
tolerations:
  - key: "aws.amazon.com/neuron"
    operator: "Equal"
    value: "true"
    effect: "NoSchedule"

nodeSelector:
  node-type: trainium          # Target Trainium nodes
  aws.amazon.com/neuron: "true"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3. &lt;strong&gt;Training with PyTorch + Neuron&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The real training code with Pytorch and Hugging Face is delightfully simple. Notice how loading the model in &lt;code&gt;bfloat16&lt;/code&gt; offers you a 2x memory save right away:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Training on Trainium
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

# Load model
model = AutoModelForCausalLM.from_pretrained(
    "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
    torch_dtype=torch.bfloat16,  # BF16 = 2x memory savings
)

# Assume model_path is defined
tokenizer = AutoTokenizer.from_pretrained(model_path)
tokenizer.pad_token = tokenizer.eos_token

# Simple training loop
optimizer = torch.optim.AdamW(model.parameters(), lr=1e-5)
model.train()

for step, batch in enumerate(dataloader):
    outputs = model(
        input_ids=batch["input_ids"],
        attention_mask=batch["attention_mask"],
        labels=batch["labels"],
    )
    loss = outputs.loss
    loss.backward()
    optimizer.step()
    optimizer.zero_grad()

    print(f"Step {step} - Loss: {loss.item():.4f}")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  4. &lt;strong&gt;Serving the Model with FastAPI&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The speaker exhibited a clean FastAPI wrapper providing the trained model on Inferentia2.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Inference Server on Inferentia2
from fastapi import FastAPI
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

app = FastAPI(title="TinyLlama Inference API")

# Load model once at startup
model = AutoModelForCausalLM.from_pretrained("/models/tinyllama")
tokenizer = AutoTokenizer.from_pretrained("/models/tinyllama")

@app.get("/health")
async def health():
    return {"status": "healthy"}

@app.post("/v1/generate")
async def generate(prompt: str, max_tokens: int = 100):
    inputs = tokenizer(prompt, return_tensors="pt")

    with torch.no_grad():
        outputs = model.generate(
            **inputs,
            max_new_tokens=max_tokens,
            temperature=0.7,
            do_sample=True,
        )

    return {
        "generated_text": tokenizer.decode(outputs[0], skip_special_tokens=True)
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  &lt;strong&gt;The Bottom Line: Math and Money&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Your workload is the single most important factor for your memory needs. For a 7B parameter model running in BF16:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Inference Memory:&lt;/strong&gt; Needs about 16.8 GB of memory. This fits nicely on an &lt;code&gt;inf2.xlarge&lt;/code&gt; instance.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Training Memory:&lt;/strong&gt; You need a big 56 GB because you need to save gradients and optimisers.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The final pricing comparison was the most jaw-dropping slide. APIs with significant traffic can easily run to $60,000/month off-the-shelf. Running your own EKS cluster with Inf2 On-Demand instances reduces that to $547.&lt;/p&gt;

&lt;p&gt;But the true game-changer is that you are able to set up Spot Instances with Terraform.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Terraform: Enable Spot Instances
resource "aws_eks_node_group" "trainium" {
  instance_types = ["trn1.2xlarge"]

  # THE MONEY SAVER 
  capacity_type = "SPOT"  # vs "ON_DEMAND"

  # Scale to zero when not training
  scaling_config {
    desired_size = 0      # Start at zero!
    min_size     = 0      # Allow scale to zero
    max_size     = 1
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;EKS with Inf2 Spot instances (which can scale down to zero when idle) brings the monthly cost down to a mere $166. That's a crazy inexpensive $0.17 every 1K inferences!&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The 10M Threshold:&lt;/strong&gt; Third party LLM APIs stop making economical sense and specialised infrastructure becomes needed after 10 million daily requests.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Massive Cost Slashes:&lt;/strong&gt; Move to an EKS cluster with Trainium and Inferentia2 and cut 50% of your training costs and 40% of your inference costs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Budget Guardrails:&lt;/strong&gt; Kubernetes standards and tolerations prohibit basic system pods from schedule-squatting on your premium $1.34/hr ML nodes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Performance Without Compromise:&lt;/strong&gt; Lowering infrastructure expenses doesn’t mean losing user experience. Inferentia2 readily maintains a latency of 100-200ms and a sub-100ms P99 latency even at a large 70B parameter scale.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Building custom Generative AI infrastructure is no longer some black art for the tech giants with endless cash at the end of the day. AWS has democratised the hardware layer with purpose-built silicon, and the software gap is bridged with open-source tools like the Neurone SDK, making it developer-friendly.&lt;/p&gt;

&lt;p&gt;Long story short, if you are establishing an AI firm or trying to extend an engineering staff beyond basic API wrappers, it's well worth the effort to break free from third-party locks by understanding this purpose-built AWS stack.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;As an &lt;strong&gt;AWS Community Builder&lt;/strong&gt;, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on &lt;a href="https://www.linkedin.com/in/chandra-prakash-reddy/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS Community Day Kochi&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; Scaling Custom LLMs on EKS: Trainium and Inferentia2-Powered AI Infrastructure&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; December 20, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/3GSB51WZTEhomgO5dGSDD1Lxyss/scaling-custom-llms-on-eks-trainium-and-inferentia2-powered-ai-infrastructure" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/scaling-custom-llms-on-eks-trainium-and-inferentia2-powered-ai-infrastructure" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>kubernetes</category>
      <category>python</category>
      <category>terraform</category>
    </item>
    <item>
      <title>From Lake to LLM: Building AI-Ready Data with Amazon S3 Tables</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Sun, 05 Jul 2026 16:56:04 +0000</pubDate>
      <link>https://dev.to/aws-builders/from-lake-to-llm-building-ai-ready-data-with-amazon-s3-tables-35i2</link>
      <guid>https://dev.to/aws-builders/from-lake-to-llm-building-ai-ready-data-with-amazon-s3-tables-35i2</guid>
      <description>&lt;p&gt;Participating in the AWS Community Day Kochi on December 20, 2025 was an absolutely fantastic experience. There is always a certain type of energy being surrounded by passionate developers, cloud architects and techies. There were so many amazing seminars throughout the day but as someone who is really interested in data architecture, one particular tech session immediately grabbed my attention.&lt;/p&gt;

&lt;p&gt;The title of the talk was “From Lake to LLM: Building AI-Ready Data with Amazon S3 Tables”. Let's be honest, getting your data truly ready for Artificial Intelligence is typically a major hassle. We hear all this excitement about Generative AI, but very few people talk about the filthy plumbing it takes to make it work. It was a breath of fresh air of a session since it handled that precise plumbing issue head-on.&lt;/p&gt;

&lt;p&gt;Here's my thorough dive into what I learnt, including the session's insights and a few comments of my own to help break down the more complex aspects.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Messy Reality of Today’s Data Lakes&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The speaker opened the discussion by tackling the elephant in the room: the enormous “Enterprise AI Adoption Gap”. Does this sound familiar? Many of us have encountered this first hand while attempting to construct machine learning models for our firms.&lt;/p&gt;

&lt;p&gt;The main concern uncovered in the session is that bad data in S3 is a real blocker to AI adoption. Think of your company's database as a giant public library. If books ( your data ) are just scattered randomly on the floor instead of being carefully sorted on labeled shelves , nobody can find what they need . This is exactly what is happening with traditional data lakes with scattered files and profound inconsistencies and absolute chaos.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;What is Actually Blocking AI?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;You might be thinking, why can’t we just point a Large Language Model (LLM) at our existing data lake and let it sort things out. The talk nicely outlined the technical blockers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Raw S3 Lacks Structure:&lt;/strong&gt; Basic, raw S3 storage has no built-in schema and query semantics. It only stores files, it doesn't know what is in them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Siloed Workloads:&lt;/strong&gt; Usually Business Intelligence (BI) teams and AI teams work with completely different storage pathways. This implies you’re paying to duplicate data and those two copies eventually get out of sync.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data and Schema Drift:&lt;/strong&gt; Over time, your data format will vary (this is termed "drift"). The slides made clear that schema drift often disrupts downstream pipelines. Data drift also leads directly to wildly uneven AI outcomes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Lack of Versioning:&lt;/strong&gt; A simple S3 setup means losing transactional assurances and tight versioning, which makes your machine learning models much less reliable.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The RAG Headache:&lt;/strong&gt; Implementing Retrieval-Augmented Generation (RAG), which is how you allow an AI search your private papers, often puts large, highly advanced components into your system.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The point is, LLMs are not magic. They really need to have clean, consistent, and highly controlled data in order to work correctly. Feed them rubbish and they'll hallucinate poor data.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Fix: A Unified AI-Ready Data Foundation&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Enterprises are desperate for a uniform data foundation to fix this chaos. We require a single platform that can run both typical SQL queries and advanced analytics workloads, instead of duct-taping different services together.&lt;/p&gt;

&lt;p&gt;The speaker stressed that this modern base needs to have native support built-in for RAG, vector embeddings and seamless LLM-driven insights. It needs centralized governance, accurate data lineage (understanding where your data comes from), and reproducibility across all different workloads.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Entering the Modern Lakehouse Approach&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This is when things become interesting. The session continued with the “Modern Lakehouse Approach”. In particular, they un-veiled the capabilities of Amazon S3 Tables that natively build on top of the open source Apache Iceberg format under the hood.&lt;/p&gt;

&lt;p&gt;That means S3 Tables deliver the ACID transactional guarantees right to your data lake. An ACID transaction is like sending money electronically. When you transfer ₹1000 to a friend, the system ensures that the money is deducted from you and added to your buddy's account concurrently. If the internet goes down mid way the entire transaction is cancelled. It never leaves money floating about in cyberspace. S3 Tables provides your data files with the same unassailable reliability.&lt;/p&gt;

&lt;p&gt;This service provides queryable table semantics and strong schema and metadata consistency. It creates strong governance at the data layer itself, providing the all-important uniform base for both analytics and AI.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Structuring the Chaos: The Medallion Architecture&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;So how do you manage this new strong lakehouse? The speaker was very bullish on the “Medallion Approach” in data engineering. Imagine this as filtering drinking water. You begin with a muddy river, then you run the water through coarse filters, then fine filters. At the end, you have pure and safe bottled water.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Bronze Layer (The River):&lt;/strong&gt; This is where raw ingestion and historical data are landed straight from streaming sources such as Kafka and Kinesis or batch sources such as Apache Spark and regular CSV/JSON/TXT files&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Silver Layer (The Filter):&lt;/strong&gt; This is where the raw data is thoroughly screened, cleansed and enriched. Null values are dropped, formats are standardized.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Gold Layer (The Bottled Water):&lt;/strong&gt; Finally the data is converted to company level aggregates. This is the clean, high-quality data that executives and AI models are fed.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This layered pipeline is built on a solid base of data quality and governance, and flows directly into streaming analytics, BI reporting, data science/ML environments, and data sharing platforms.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Seeing it in Action: Sales Analytics Architecture&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;To be fair, abstract architectural patterns can seem a little frightening. But the presenter simplified it down with a very practical use case: Building a Sales Analytics platform with Customer Feedback.&lt;/p&gt;

&lt;p&gt;The architecture diagram showed a beautiful, logical flow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Data flows from a source S3 bucket via automated ingestion jobs into the Bronze S3 table.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Transformation jobs then move it into the Silver S3 table.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A important step between the Silver and Gold layers is the production of text embeddings. This is the part where client text reviews are converted into numbers so the AI can understand them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The refined data lands in the Gold layer S3 table.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fje3gexv29s4zaf23mf1p.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fje3gexv29s4zaf23mf1p.jpeg" alt=" " width="800" height="284"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From that Gold layer, the data is spread out. Connects to SageMaker Unified Studio for large ML workloads. It also interfaces with a Conversational Chat Interface that runs on Anthropic's Claude LLM and a Model Context Protocol (MCP) Server.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Claude and S3 Tables: The Ultimate Chat Interface&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The live demo of the MCP Server querying S3 Tables with Claude was definitely the highlight of the session. The demonstration typed a request into Claude asking it to explain the revenue pattern for EMEA in Q2 2024 and to summarize customer comments connected to that.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fav5597zzk3xl4bpo5sag.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fav5597zzk3xl4bpo5sag.jpeg" alt=" " width="800" height="365"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Claude logged easily into the database and looked over the results. It said total Q2 revenue was $840,000, but quickly noticed a huge 33% revenue loss for “Product A (Enterprise).”&lt;/p&gt;

&lt;p&gt;Instead of a human data analyst hunting for the reason, Claude cross-referenced the customer input. It brought to light the instability and app crashes at peak hours of Product A, leaving the team frustrated. It also brought up criticism for “Product B (MidMarket)” about a competitive gap where customers may churn and “Product C (SMB)” for unclear billing and invoicing problems.&lt;/p&gt;

&lt;p&gt;In brief, this design makes complex, large database tables instantly usable business insight, simply by conversing with it in simple English.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Why This Makes Your Data "AI-Ready"&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The end result? Amazon S3 Tables are meant to be AI-ready.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;They give dependable transactions that result in consistent data pipelines. Your AI is not learning from incomplete files.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;They allow flexible schema evolution, so you can evolve easily to changing machine learning models without damaging downstream systems.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;They actively address the schema drift and lack of versioning that has typically restricted ML reliability.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;S3 Tables solve these fundamental infrastructure issues, and deliver the clean, consistent and regulated datasets that LLMs demand.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Enterprise Gains (The Payoff)&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Ultimately, embracing an AI-Ready Lakehouse is more than a technological flex, it will mean huge, measurable organizational benefits.&lt;/p&gt;

&lt;p&gt;This architecture will allow organizations to view:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Significantly faster delivery of AI and analytics solutions to their customers.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Far more reliable and consistent LLM-generated outputs (reduced hallucination!).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Reduced infrastructure complexity and overall cloud costs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Better compliance with stringent compliance and corporate governance norms.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Scalable performance specifically designed to handle rapidly growing datasets.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;If you’re skimming, here’s a fast summary of the most important things you need to know from the session:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Raw storage is not enough:&lt;/strong&gt; Just throwing files into an S3 bucket results in schema drift and inconsistencies. LLMs require clean, regulated datasets to produce reliable outputs without hallucinations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Transactions matter:&lt;/strong&gt; S3 Tables (powered by Apache Iceberg) provides ACID transactional guarantees to your data lake, preventing broken pipelines so your models are training on reliable data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Layer your data:&lt;/strong&gt; The Medallion Approach (Bronze, Silver, Gold) is the best technique to turn messy, raw intake into high quality, enterprise level aggregates appropriate for AI consumption.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Unify your foundation:&lt;/strong&gt; You don’t have to buy and operate different storage routes for regular BI reporting and advanced AI workloads. A modern lakehouse can manage SQL, analytics and LLM-driven insights under one roof.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;At the end of the day, your generative AI applications are only as good as the data you provide them. The session at AWS Community Day Kochi was a reminder that the conventional, chaotic data lake is no longer good enough for modern needs.&lt;/p&gt;

&lt;p&gt;With a modern lakehouse strategy using Amazon S3 Tables, we can finally simplify infrastructure complexity and generate much higher trust in our LLM outputs. It takes a little planning to get the right design but the scalable performance and strong oversight you obtain is totally worth it. In short, it’s time to improve our data foundations from a storage lake to a real AI engine.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;As an &lt;strong&gt;AWS Community Builder&lt;/strong&gt;, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on &lt;a href="https://www.linkedin.com/in/chandra-prakash-reddy/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS Community Day Kochi&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; From Lake to LLM: Building AI-Ready Data with Amazon S3 Tables&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; December 20, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/3G5kJV5Yzphj95hmQ2DV5ijlJ15/from-lake-to-llm-building-ai-ready-data-with-amazon-s3-tables" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/from-lake-to-llm-building-ai-ready-data-with-amazon-s3-tables" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>ai</category>
      <category>claude</category>
      <category>mcp</category>
    </item>
    <item>
      <title>14x Cheaper AI: A Real-World LLM Distillation Case Study on Bedrock</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Sun, 05 Jul 2026 13:06:31 +0000</pubDate>
      <link>https://dev.to/aws-builders/14x-cheaper-ai-a-real-world-llm-distillation-case-study-on-bedrock-lph</link>
      <guid>https://dev.to/aws-builders/14x-cheaper-ai-a-real-world-llm-distillation-case-study-on-bedrock-lph</guid>
      <description>&lt;p&gt;On 20 December 2025, I was fortunate to be a part of the AWS Community Day Kochi. There were fantastic sessions going on throughout the event, but there was one presentation in particular that caught my whole attention and wouldn’t let go.&lt;/p&gt;

&lt;p&gt;The speaker came on stage and delivered a big result right out of the gate – they reduced their AI operational costs by 14x using AWS Bedrock. But this wasn’t a highlight reel of quick success. Let’s face it, tech talks that only display the wonderful stuff don’t educate us much. Instead, there was a clear story of how the squad failed again and again on the route to the big victory.&lt;/p&gt;

&lt;p&gt;This session was pure gold if you are a developer, or a firm seeking to scale AI features without burning through your entire runway. Here’s a look at the trip, the technological challenges, and how they finally cracked the puzzle.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Business Problem: A 3-Body Challenge&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;But before we get to the solution, we need to understand the nightmare the team was dealing with. They named it the “3-Body Challenge.”&lt;/p&gt;

&lt;p&gt;The trouble is...they were drowning in data. Specifically, they were being overwhelmed with unstructured communications about cargo bookings.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The emails were bilingual and consisted of a crazy mix of Japanese and English content.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;They needed their system to be able to correctly extract 23 complicated entities from these emails, such as Air Waybill (AWB) numbers, Flight Numbers, Weights and Dimensions.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Accuracy vs. Cost Dilemma&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The aim was to carry out real-time automatic Named Entity Recognition (NER). The system needed to be low latency, and have a very high accuracy rate of over 95% (f1 score), to be useful in the production pipeline.&lt;/p&gt;

&lt;p&gt;You might be wondering why not just throw a Large Language Model (LLM) at it? They did well. And the LLM readily met the precision required. But the operating cost at that high volume was a deal breaker.&lt;/p&gt;

&lt;p&gt;Sound familiar? This is a trap many teams get into. They had designed a system that worked well, but they knew they could never build a business around a 14x cost problem.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Rethinking the Core Problem&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The first important change in their thinking was in how they approached Named Entity Recognition. Instead than using typical BIO (Beginning, Inside, Outside) tagging, they defined NER as a Sequence-to-Sequence (Seq2Seq) task.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Generating Structured JSON&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;To grasp this, picture it like an e-commerce checkout system. You don’t want the system to just highlight random goods in a shopping cart, you want it to create a well-formed receipt.&lt;/p&gt;

&lt;p&gt;The input (sequence 1) in their case was the raw, jumbled email text prompt asking the model to extract all 23 entities as a JSON array. The expected output (sequence 2) was the exact JSON text produced that matched those entities.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fshkzfmpzupxem6yert39.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fshkzfmpzupxem6yert39.jpeg" alt=" " width="800" height="325"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Technical Goal: Knowledge Distillation&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;To achieve the high accuracy of a big LLM without the massive price, they turned to a concept known as Knowledge Distillation.&lt;/p&gt;

&lt;p&gt;Think of your database as a huge library and the “Teacher Model” as the chief librarian who has read and comprehended every book. The teacher is large, complex and expensive to consult. The purpose of distillation is to compress the knowledge and transfer it to a “Student Model”. The student is smaller, considerably faster and much cheaper to run, offering you the best of both worlds, great precision and low cost.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Evaluating the Distillation Options&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The speaker outlined the major routes he may take to achieve this knowledge transfer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Option 1:&lt;/strong&gt; Logit-Based (e.g., DistilBERT): This method uses a metric called KL Divergence to match the student's final output probabilities (logits) to the teacher's. It is easy, fast and effective. But it typically misses a lot of the sophisticated internal “reasoning” of the teacher model.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Option 2:&lt;/strong&gt; Feature-Based (e.g., TinyBERT): That is, to align the internal hidden states and attention mappings of the two models. these transfer knowledge really deep. The negatives? It's quite brittle. It requires model architectures to be same and is quite sensitive to throwing &lt;code&gt;shape_mismatch&lt;/code&gt; errors.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Option 3:&lt;/strong&gt; Token-Based: Here, the teacher model is compared with the final output sequence of the pupil token by token. It learns from the teacher's soft labels and is suitable for generative Seq2Seq jobs such as the JSON extraction they needed.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They decided to go with the Token-Based method as they were generating JSON arrays. And now it gets interesting, and by fascinating I mean extremely frustrating for their engineering team.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Engineering Nightmares&lt;/strong&gt;
&lt;/h1&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Attempt 1: The Token Mismatch Wall&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Their initial approach was a custom token distillation built with PyTorch. They sought to distill the Llama 3-8B model to the Llama 3-1B model with their specialized Seq2Seq task.&lt;/p&gt;

&lt;p&gt;In fairness, the logic was reasonable, but the technological reality was a failure. For token-based distillation, you need absolute, perfect token alignment in order to effectively distill that output JSON. They ran into a big problem: the Llama 3 tokenizer and their Japanese/English bilingual text were misaligned.&lt;/p&gt;

&lt;p&gt;They were trying to compare output sequences that just didn’t line up, and the training loss got wildly unstable. This caused a constant &lt;code&gt;token_mismatch_error&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Attempt 2: The Brittle Architecture Wall&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Try 2. No way they were giving up. They tried to run a Logit/Feature-Based distillation technique with a library named TextBrewer.&lt;/p&gt;

&lt;p&gt;This, too, died a technical death, as the solution was too brittle and required completely matching architectures. The library was quite strict about requirements and their specific Llama models were incompatible.&lt;/p&gt;

&lt;p&gt;The operation failed again, generating a &lt;strong&gt;shape_mismatch_error&lt;/strong&gt;. The team found that they were spending 100% of their time fighting engineering difficulties and 0% of their time on true data research.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Pivot: Isolating the Real Problem&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The team stepped back and saw their problem was not a terrible theory. Their problem was bad engineering. They were getting beaten on the two hardest segments of the pipeline:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Tokenizer and Architecture Alignment.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Setting up stable, distributed training environments.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In short, they required a completely managed solution to do the heavy lifting on the engineering requirements things like framework selection, dataset preparation, and normalizations so they could focus entirely on addressing their business challenge.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Enter Amazon Bedrock Model Distillation&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;They migrated their whole pipeline to Amazon Bedrock. The new method looked like this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Take the user prompts and feed them into the large Teacher model.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Generate high-quality synthetic data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use that data to train the smaller Student model and transfer the knowledge.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Deploy the customized distilled model for real-world inference.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The workflow was pleasantly simple. The prepared prompt dataset was just taken by a data scientist and turned into a JSONL file and uploaded to an Amazon S3 bucket. They then picked whatever instructor and student models they wanted from within the Amazon Bedrock service to start the distillation job.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft9shdf1orq8onwgcowlb.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft9shdf1orq8onwgcowlb.jpeg" alt=" " width="800" height="248"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What made this one work while all the others didn't? It wasn’t magic, the speaker pointed out. I checked the CloudWatch training logs and it just... worked.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;It solved alignment:&lt;/strong&gt; By using the compatible Nova Pro and Nova Lite model family, there was zero token mismatch.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;It solved stability:&lt;/strong&gt; The managed service handled all the complex orchestration behind the scenes.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Their training loss went from 0.05 to a very accurate 0.008 in just 4 epochs and 70 total steps.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Results: Fast, Accurate, and Cheap&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;They ran the newly distilled Nova Lite model that took the jumbled input prompt and produced a perfectly formatted JSON output array of the desired entities.&lt;/p&gt;

&lt;p&gt;The bottom line? The stats tell the story:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Teacher (Nova):&lt;/strong&gt; Achieved a 97% overall F1 score (96.3% English, 95.4% Japanese) but cost 14x more to run.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Student (Nova Lite):&lt;/strong&gt; Achieved a 95.085% overall F1 score (96.535% English, 93.635% Japanese) at the 1x baseline cost.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They hit their &amp;gt;95%  accuracy goal while entirely eliminating the 14x operational cost overhead!.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feyjfffp3ae6jedq9arem.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feyjfffp3ae6jedq9arem.jpeg" alt=" " width="800" height="262"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;A Deeper Look at the Errors&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Always seeking improvement, the team took a further look at the little 1.9% accuracy disparity between teacher and student.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Language:&lt;/strong&gt; The student did significantly worse on the Japanese text (93.6% vs 95.4% for the teacher). Their next immediate step to fill the gap is to extend and increase the modest 150-sample Japanese dataset.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Complexity:&lt;/strong&gt; Approximately 20% of the student’s errors were in the “long-tail” or multi-part entities. For example elaborate layered instructions such as “Fragile; refrigerate below 4°C” In these tough edge instances, the teacher model’s richer baseline reasoning nevertheless came out on top.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Generative NER is a game-changer:&lt;/strong&gt; By moving from typical BIO tagging to a Seq2Seq technique, you gain amazing flexibility when you need to handle complex multi-entity extractions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Your task dictates your method:&lt;/strong&gt; If you pick a Seq2Seq task you are forced in a Token-Based distillation technique. Just be ready for the brittle engineering and alignment needs that are part of it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The real win is cost, not speed:&lt;/strong&gt; The big 14x improvement was about operational savings. Both models had similar inference performance but the smaller Nova Lite reduced the hefty financial burden of provisioning large LLM throughput.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Offload the engineering:&lt;/strong&gt; If your team spends 100% of its time resolving architecture incompatibilities, they’re not conducting data science. Get rid of those inflexible tokenizer bottlenecks altogether with managed services like AWS Bedrock.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Sitting in the audience in Kochi at the conclusion of the day, I was reminded that the road to a massive technical win is seldom a straight line. The team didn’t just build a 14x cheaper AI, they failed forward, knew when they were in an engineering trap, and pivoted to a managed solution that allowed them to focus on solving their underlying business challenge.&lt;/p&gt;

&lt;p&gt;If you’re producing AI solutions, don’t be scared to change your architecture when operational costs start to threaten your business model. At times, the smartest technological option you can make is simply to let a managed service do the heavy lifting.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;As an &lt;strong&gt;AWS Community Builder&lt;/strong&gt;, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on &lt;a href="https://www.linkedin.com/in/chandra-prakash-reddy/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS Community Day Kochi&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; 14x Cheaper AI: A Real-World LLM Distillation Case Study on Bedrock&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; December 20, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/3G5IiFnEMXRTVk9Rq4CgM6l7nq3/14x-cheaper-ai-a-real-world-llm-distillation-case-study-on-bedrock" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/14x-cheaper-ai-a-real-world-llm-distillation-case-study-on-bedrock" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>ai</category>
      <category>bedrock</category>
      <category>productivity</category>
    </item>
    <item>
      <title>TDE Inside Out - Protecting SQL server data at rest on AWS</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Sun, 28 Jun 2026 15:44:20 +0000</pubDate>
      <link>https://dev.to/aws-builders/tde-inside-out-protecting-sql-server-data-at-rest-on-aws-4b72</link>
      <guid>https://dev.to/aws-builders/tde-inside-out-protecting-sql-server-data-at-rest-on-aws-4b72</guid>
      <description>&lt;p&gt;It was an awesome day at AWS User Group Chennai Meetup on 15th November, 2025. There is always something special about getting together with the local community, sharing real-world stories, and geeking out over cloud architecture. There were several interesting lectures throughout the day on a wide variety of topics including serverless and containers, but one particular talk on database security particularly got my attention.&lt;/p&gt;

&lt;p&gt;Database security can seem complex, especially with enterprise workloads, but this webinar did a great job of breaking it down. Let’s lay down exactly how you can protect your Microsoft SQL Server data at rest on AWS without breaking a sweat.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Core Challenge of Data at Rest&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Let’s face it… we spend a lot of effort on network perimeter security. We set up firewalls, maintain security groups, and ensure that all data in transit is encrypted using TLS. But what if someone gets hold of your underlying storage backup or a raw database snapshot?&lt;/p&gt;

&lt;p&gt;Do you know this? Security is frequently an afterthought until there is an audit or breach. When your raw database files are stored on the storage layer unencrypted, anyone with access to those files can read your sensitive data. This is where the concept of securing data “at rest” is non-negotiable.&lt;/p&gt;

&lt;p&gt;Imagine your database is a bank with strict security. Locking the main door and checking IDs at the entrance, is like protecting data in transit. But if the cash is just lying around on open tables inside the vault, then the whole world wins when they sneak past the front door. Protecting data at rest is like putting that cash in separate, reinforced lockboxes inside the vault.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;What Exactly is Transparent Data Encryption (TDE)?&lt;/strong&gt;
&lt;/h1&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Basics of I/O Level Protection&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;That’s where Transparent Data Encryption, or TDE, comes in. TDE is a capability that is incorporated into Microsoft SQL Server. It encrypts the real files that are written to disk to protect your data. The beauty of TDE is in the name, it is totally transparent to your application.&lt;/p&gt;

&lt;p&gt;You might be thinking, what does “transparent” look like in practice. In other words, you do not need to rewrite your application code, update your SQL queries or change your database schemas. SQL Server does all the hard work for you, behind the scenes.&lt;/p&gt;

&lt;p&gt;SQL Server receives data from disk, decrypts it on the fly, and puts it into memory when your application requires data. As data is refreshed back to the storage layer, SQL Server encrypts the data as it hits the disk. This procedure is completely I/O based . It is intended for page level encryption .&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;What Gets Protected?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;When you turn on TDE on a database it’s not just the major tables that are encrypted. This safeguards the whole database ecology on that instance. TDE actively protects the following key elements from session information:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data Files (.mdf):&lt;/strong&gt; The main storage files where your actual tables, indexes and user data reside.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Log Files (.ldf):&lt;/strong&gt; The transaction logs that record all the changes made to the database, and are critical for recovery.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Backup Files (.bak):&lt;/strong&gt; Any native backups of databases that you produce are automatically encrypted at the time of creation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;TempDB:&lt;/strong&gt; The system database for temporary items, internal joins and sorting.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Unpacking the Encryption Hierarchy&lt;/strong&gt;
&lt;/h1&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Chain of Trust&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Here’s where things gets interesting. TDE does not depend on a single password or a single key for the security of your data. Instead, it uses a complex, multi-tiered encryption system sometimes referred to as a chain of trust.&lt;/p&gt;

&lt;p&gt;This hierarchy is like a classic Russian nesting doll. You have to unlock a bunch of bigger dolls to get to the tiny doll inside (your real data). If one layer is broken or missing, the entire chain breaks, maintaining the security of your data.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Breaking Down the Layers&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;So let's walk through how these keys work together from the top down to develop a strong security model:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Service Master Key (SMK):&lt;/strong&gt; This is the root of the entire encryption hierarchy . It is automatically created at the very top level when the SQL Server instance is first setup, and is encrypted by the underlying Windows operating system or AWS infrastructure.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Database Master Key (DMK):&lt;/strong&gt; Moving one level below, the DMK resides in the master database. It is protected and encrypted by the Service Master Key It is explicitly protected and encrypted by the Service Master Key.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Certificate or Asymmetric Key:&lt;/strong&gt; This certificate is created in the master database and is directly protected by the Database Master Key. This certificate is the custodian of the final key.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Database Encryption Key (DEK):&lt;/strong&gt; This is the worker bee of the show. The DEK is a symmetric key kept in the user database itself, and protected by the certificate from the previous stage. The DEK is the real key, and it encrypts and decrypts your raw data pages.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftya9wp0uu6jzwmzgoifi.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftya9wp0uu6jzwmzgoifi.jpeg" alt=" " width="800" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;TDE on AWS: RDS vs. EC2&lt;/strong&gt;
&lt;/h1&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Amazon RDS for SQL Server&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;When you migrate your SQL Server workloads to AWS, you often have the option of going with a fully managed service, or doing it yourself. Management of TDE gets tremendously simple if you go with Amazon Relational Database Service (RDS).&lt;/p&gt;

&lt;p&gt;AWS takes care of infrastructure, patching, and OS layers for you. To enable TDE on RDS, just add the TDE option to an RDS Option Group. It interacts natively with AWS Key Management Service (KMS).&lt;/p&gt;

&lt;p&gt;You can select an AWS managed key or generate your own Customer Managed Key (CMK) in KMS. This configuration takes away the operational pain of having to manually manage server certificates, since AWS maintains the rotation and security of the underlying keys.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;SQL Server on AWS EC2&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;To be fair, some teams want complete control of their database environment and run SQL Server directly on Amazon EC2 instances. If you run your databases in EC2 you have to manage the full TDE setup yourself, as you would on-premises.&lt;/p&gt;

&lt;p&gt;You will write the T-SQL statements to build the Database Master Key, create the server certificates and initialize the Database Encryption Key. This involves a bit more operational cost but allows you deep customization choices.&lt;/p&gt;

&lt;p&gt;For example, you can utilize typical local certificates that are stored inside the instance. You may also configure your EC2 SQL Server to connect with AWS CloudHSM or utilize an Extensible Key Management (EKM) provider to delegate key management to a dedicated hardware security module.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Backup, Restore, and Cross-Account Migrations&lt;/strong&gt;
&lt;/h1&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Golden Rule of TDE Restores&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;One of the most important warnings presented during the meetup session is about backup and restore activities. The backup files (.bak) created from a TDE-enabled database are fully encrypted and has stringent dependencies.&lt;/p&gt;

&lt;p&gt;And here's the thing: you can't just take a backup file from a TDE protected database and restore it to a completely new SQL Server instance. If you attempt to, SQL Server will instantly throw an error and interrupt the restoration operation.&lt;/p&gt;

&lt;p&gt;Otherwise, for a successful restore of a TDE encrypted database, the destination server must have access to the exact same certificate and private key used to encrypt the Database Encryption Key. If you lose that certificate then your backup files are totally useless.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Cross-Account Restores in AWS&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This reliance becomes a big concern when you do cross-account migrations or setup disaster recovery sites on AWS. If you're utilizing Amazon RDS and distributing snapshots/native backups across several AWS accounts you need also think about the KMS key permissions.&lt;/p&gt;

&lt;p&gt;The source account must explicitly grant the destination AWS account permissions to use the KMS key to decrypt the database backup. For this to function, you will need to add access to the key for the IAM roles in the destination account in the Key Policy for your Customer Managed Key in the source account. Moral of the story: always validate your cross-account restore pipelines before you depend on them in an emergency.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Deploying TDE on AWS demands good knowledge of internals of SQL Server and cloud security architecture. Keep in mind these basic operational practices:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Monitor TempDB Behavior:&lt;/strong&gt; Once you enable TDE on even a single user database on your SQL Server instance, the shared system TempDB is automatically encrypted. This implies that any temporary data spilled out to disk is protected, but it also means that other unencrypted databases on the same server may be slightly affected by the TempDB encryption.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Plan for Performance Overhead:&lt;/strong&gt; TDE requires additional CPU cycles because the encryption and decryption happen in real time at the I/O operation level. Fortunately, newer AWS infrastructure and Intel/AMD processors provide hardware accelerated encryption (such AES-NI) and therefore the real CPU overhead is little, in the 3-5% range depending on how read/write intensive your workload is.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Backup Your Keys Relentlessly:&lt;/strong&gt; If you are running SQL Server on EC2, be sure to back up your Database Master Keys and server certificates as soon as you create them. Store them securely in a service such as AWS Secrets Manager or an encrypted Amazon S3 bucket, outside of the instance.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;At the end of the day, protecting your database storage layer shouldn’t be a scary process that slows down development. Transparent Data Encryption is an easy, effective approach to meet tough compliance standards and protect sensitive customer data without forcing your engineering staff to update any code.&lt;/p&gt;

&lt;p&gt;Whether you use the automation of Amazon RDS or have fine-grained management on Amazon EC2, understanding the internal hierarchy of keys helps keep your data safe from unauthorized access. If you don’t have encryption at rest enabled for your production databases yet, include it as a work item in your next infrastructure sprint.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;As an AWS Community Builder, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on &lt;a href="https://www.linkedin.com/in/chandra-prakash-reddy/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS User Group Chennai Meetup&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; TDE Inside Out - Protecting SQL server data at rest on AWS&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date&lt;/strong&gt;: November 15, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/3Flrrhps4vPJUf1o4194ifCd70m/tde-inside-out-protecting-sql-server-data-at-rest-on-aws" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/tde-inside-out-protecting-sql-server-data-at-rest-on-aws" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>sqlserver</category>
      <category>database</category>
      <category>data</category>
    </item>
    <item>
      <title>From Build to Telemetry - Bedrock Agents with Strands SDK</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Sun, 28 Jun 2026 13:26:19 +0000</pubDate>
      <link>https://dev.to/aws-builders/from-build-to-telemetry-bedrock-agents-with-strands-sdk-1dog</link>
      <guid>https://dev.to/aws-builders/from-build-to-telemetry-bedrock-agents-with-strands-sdk-1dog</guid>
      <description>&lt;p&gt;I got the great opportunity to attend the AWS User Group Chennai Meetup on 15 Nov 2025. There were a lot of great sessions throughout the day, but one speaker totally stole the show in my book. "From Build to Telemetry - Bedrock Agents with Strands SDK" was presented by &lt;strong&gt;Jaya Ganesh&lt;/strong&gt;, an Application Developer at Genesys.&lt;/p&gt;

&lt;p&gt;I mean, it’s very easy these days to construct a great AI chatbot on your home PC. But to take that AI, give it tools, make it autonomous, and deploy it safely in a production environment? That’s a whole new animal. That sounds familiar?&lt;/p&gt;

&lt;p&gt;That was the task for this session. I took a lot of notes and images, and I want to show you exactly how you can turn fragile AI scripts into solid, production-ready systems with Amazon Bedrock and the Strands SDK.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Laying the Groundwork: Generative AI and Bedrock&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The session started with the basics and then moved on to complicated agents. The backbone of Generative AI are Large Language Models (LLMs) and Foundational Models (FMs) that understand and generate text based on human cues.&lt;/p&gt;

&lt;p&gt;But running these models yourself is a headache. Or to put another way, you want to focus on building features, not managing infrastructure. And that’s exactly what Amazon Bedrock offers. It's a fully managed, serverless API that lets you access industry leading models from Anthropic (like Claude), Meta, Amazon, and more.&lt;/p&gt;

&lt;p&gt;More than access to models, Bedrock delivers enterprise-grade security. Your data is kept private and never used to train the base models. It’s also filled with features like as Prompt Management, Prompt Caching, and built-in Guardrails to help keep AI behaviors under check.&lt;/p&gt;

&lt;p&gt;Traditionally, you might invoke a model using a simple API call like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import boto3
import json

bedrock_runtime = boto3.client('bedrock-runtime', region_name="us-east-1")

response = bedrock_runtime.converse(
    modelId="anthropic.claude-3-5-haiku-20241022-v1:0",
    messages=[
        {"role": "user", "content": [{"text": "Explain AI agents in one sentence."}]}
    ]
)
print(response['output']['message']['content'][0]['text'])
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This works really well for simple questions and answers. But here's the thing: It's all reactive. The AI only works when you tell it to.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Paradigm Shift: Moving to Agentic AI&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Traditional chatbots are amazing, but they do require continual human control. Agentic AI is a game changer.&lt;/p&gt;

&lt;p&gt;An Agentic AI is a system that operates autonomously and independently to fulfill pre-determined goals. It takes the initiative rather than waiting to be told what to do. It predicts requirements and makes decisions and acts. Imagine your database is like a library . Traditional AI is like a librarian that only answers when you ask a question . Agentic AI is like a librarian that notices when a book is out of place , categorizes it , and updates the catalog without you ever asking .&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Agentic Loop&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;These agents operate on a continuous, four-step loop:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Perceive:&lt;/strong&gt; Collects real-time data from APIs or connected systems.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Reason:&lt;/strong&gt; Uses the LLM to interpret context and plan multi-step actions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Act:&lt;/strong&gt; Executes tasks through tool integrations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Learn:&lt;/strong&gt; Improves through feedback loops.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Enter Strands SDK and AgentCore&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;You might be asking yourself how to actually do this without creating thousands of lines of boilerplate code. The answer is in Strands SDK and Amazon Bedrock AgentCore.&lt;/p&gt;

&lt;p&gt;AgentCore delivers production ready serverless runtime, controlled state and observability. Strands SDK is the Python framework you use to build on it. Strands offers model flexibility, state management, and simple interface with OpenTelemetry for monitoring.&lt;/p&gt;

&lt;p&gt;Here is how simple it is to create your first agent using Strands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from strands import Agent
from strands.models import BedrockModel

# Create a Bedrock model configuration
model = BedrockModel(
    model_id="anthropic.claude-3-5-sonnet-20241022-v2:0",
    max_tokens=1024
)

# Create an agent
agent = Agent(
    model=model,
    system_prompt="You are a helpful AI assistant specialized in AWS."
)

response = agent("What are the benefits of serverless computing?")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  &lt;strong&gt;Giving Your Agent a Brain: State and Memory&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Without the ability to remember earlier interactions, an agent cannot do complex tasks. Strands handles state in three different ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Request State:&lt;/strong&gt; Context just for a single interaction.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Conversation History:&lt;/strong&gt; The back-and-forth chat history.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Agent State:&lt;/strong&gt; Key-value storage for long-term details (like user preferences) that persists across multiple requests.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In production, you can’t merely rely on your laptop’s memory to perform session persistence. Strands provides a &lt;code&gt;FileSessionManager&lt;/code&gt; for local testing, however it is straightforward to replace this with an &lt;code&gt;S3SessionManager&lt;/code&gt; to store session data on Amazon S3 for distributed cloud environments.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Optimizing the Context Window&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;LLMs are limited in how much text they can process at once. If your talk goes on too long, the agent will crash or forget stuff. The session shared excellent conversation management ways to solve this.&lt;/p&gt;

&lt;p&gt;A &lt;code&gt;SlidingWindowConversationManager&lt;/code&gt; can be used to only keep the past 20 messages. Or, better yet, a &lt;code&gt;SummarizingConversationManager&lt;/code&gt;using a smaller, cheaper model (such Claude Haiku) that intelligently compresses earlier messages while leaving the most current messages alone.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Equipping Agents with Tools&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;An agent is only as good as the tools it’s working with. Imagine you're ordering meals on Swiggy, you need the app to talk to the restaurant, the delivery guy and the payment gateway.&lt;/p&gt;

&lt;p&gt;Strands allows you to construct regular Python functions and simply fit your agent with them with a simple &lt;code&gt;@tool&lt;/code&gt; decorator.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from strands import Agent, tool

@tool
def check_shipping_options(zip_code: str, product_id: str) -&amp;gt; dict:
    """Check available shipping options."""
    # Logic to call your shipping API goes here
    return {"method": "Express", "cost": 15.00}

# Pass the tool to the agent
website_chatbot = Agent(
    model=model,
    tools=[check_shipping_options],
    system_prompt="You are a helpful shopping assistant."
)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When the user asks about shipping, the agent automatically reasons that it needs to run the &lt;code&gt;check_shipping_options&lt;/code&gt; function, executes it, and formats the output for the user.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Scaling Up: Multi-Agent Patterns&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;This is where it gets super powerful. Sometimes you give an agent too much responsibility and he gets lost. Or, better yet, you can split and conquer using Multi-Agent patterns.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Workflow Pattern:&lt;/strong&gt; A choreographed performance. A Researcher agent provides data to an Analyst agent, which provides data to a Writer agent.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Agents as Tools:&lt;/strong&gt; The “Orchestrator” agent gets the user prompt, then determines to query a specialist Billing Agent or a Tech Support Agent.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Swarm Pattern:&lt;/strong&gt; A very collaborative environment where an Architect, a Coder and a Reviewer send a task back and forth till it is great.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The golden rule for multi-agent systems? Always specify clear responsibilities, precise time limits, and avoid agents being locked in an unending dialog loop with each other.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Observability and Guardrails&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;When your agent is out in the wild, you need to know what it is doing. Strands deeply integrates with OpenTelemetry and systems such as Langfuse.&lt;/p&gt;

&lt;p&gt;Telemetry setup provides you with three pillars of observability: Traces (end to end flow of the request). Metrics (quantitative data like token consumption and costs). Logs. You may even establish Custom Spans around your tools to monitor exactly how many milliseconds your payment processing tool took to run.&lt;/p&gt;

&lt;p&gt;And to keep the AI safe, Amazon Bedrock Guardrails are like the bumpers at a bowling alley. They can be configured to automatically block harmful content, redact PII (e.g. credit card details) and avoid prompt injection attacks. For example, if a user asks a shopping agent about an approaching political election, the Guardrail immediately jumps in and stops the off-topic remark.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Final Mile: Production Deployment&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Long story short, you can’t deploy a local script, thus it’s pointless. Strands and AgentCore make this shockingly easy. Your agent code can be packaged as either a ZIP file (for basic Python setups) or as a Docker container (for heavy dependencies).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1xlfsq0ffzse7sbmrflq.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1xlfsq0ffzse7sbmrflq.jpeg" alt=" " width="800" height="478"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You just need to add an entry point decorator around your main function for deployment to AgentCore Runtime:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from bedrock_agentcore_starter_toolkit import Runtime
import boto3

agentcore_runtime = Runtime()

# Configure the deployment
response = agentcore_runtime.configure(
    entrypoint="ecommerce_agent/main.py",
    auto_create_ecr=True,
    requirements_file="ecommerce_agent/requirements.txt",
    agent_name="ecommerce_agent"
)

# Launch it!
launch_result = agentcore_runtime.launch()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When deployed, your application can safely invoke this agent hosted in the cloud with &lt;code&gt;boto3&lt;/code&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Some things to take away from this session:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Reactive to Proactive:&lt;/strong&gt; We're expanding beyond the standard chatbot. Agentic AI is autonomous, anticipates needs, and acts through a continuous cycle of perception, reasoning, action, and learning.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Memory is Crucial:&lt;/strong&gt; Agents must have brains to be useful. Short-term and long-term state management is a key area to keep your context windows optimum and your agents intelligent.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Divide and Conquer:&lt;/strong&gt; Don’t overburden one agent. Enhance the reliability and precision of routing jobs to specialized agents with multi-agent patterns like Swarm or Workflow.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Safety and Visibility:&lt;/strong&gt; You can’t control what you can’t see. For real world production, you must trace execution timings, manage token costs, and enforce Bedrock Guardrails.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;In the end, the difference between writing a toy AI script on your laptop and deploying a durable, production-ready AI agent is huge. But tools like Amazon Bedrock AgentCore and the Strands SDK provide a lovely bridge over that divide. Managed memory, simple tool integration, and deep observability provide us what we need to construct scalable, autonomous systems safely.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;As an &lt;strong&gt;AWS Community Builder&lt;/strong&gt;, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on &lt;a href="https://www.linkedin.com/in/chandra-prakash-reddy/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS User Group Chennai Meetup&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; From Build to Telemetry - Bedrock Agents with Strands SDK&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; November 15, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/3FlalGUZMoH25SFySlb0CtcOISR/from-build-to-telemetry-bedrock-agents-with-strands-sdk" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/from-build-to-telemetry-bedrock-agents-with-strands-sdk" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>mcp</category>
      <category>genai</category>
      <category>bedrock</category>
    </item>
    <item>
      <title>Moving Beyond Vibe Coding: A Deep Dive into AWS Kiro and the AI-DLC</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Tue, 23 Jun 2026 17:08:50 +0000</pubDate>
      <link>https://dev.to/aws-builders/moving-beyond-vibe-coding-a-deep-dive-into-aws-kiro-and-the-ai-dlc-47l9</link>
      <guid>https://dev.to/aws-builders/moving-beyond-vibe-coding-a-deep-dive-into-aws-kiro-and-the-ai-dlc-47l9</guid>
      <description>&lt;p&gt;One of the best ways to keep up with the fast-moving cloud sector is, frankly, to go to community tech events. I had the privilege of attending the AWS User Group Chennai Meetup on 15th November 2025. There were loads of great topics throughout the day on all sorts of cloud technologies but one of them really changed how I look at programming in the future.&lt;/p&gt;

&lt;p&gt;The presentation focused about using AWS Kiro, an agentic IDE for building AI-DLC (AI-Driven Development Lifecycle). As someone who writes and tests code on a daily basis, I could definitely relate to this talk. This blog is for you if you’ve ever felt AI coding tools are powerful but a bit unpredictable.&lt;/p&gt;

&lt;p&gt;Here is everything I learned from the session, broken down step by step.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Problem: Why "Vibe Coding" Is Not Enough&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Does this sound familiar? You start an AI chatbot, describe the app you want in a few sentences, and the model spits out hundreds of lines of code quickly. The program operates. It looks good. And you feel like a magician. This is what we call "vibe coding" - coding by just defining the overall mood or idea of the application.&lt;/p&gt;

&lt;p&gt;Vibe coding is perfect for short prototypes or weekend tweaks. But here is the thing, the instant you worry about enterprise security, team cooperation or deploy to production, it falls apart.&lt;/p&gt;

&lt;p&gt;The speaker revealed a surprising statistic: independent research has shown that roughly 45% of AI-generated code is filled with security flaws. These include harmful injection faults and bad dependency choices.&lt;/p&gt;

&lt;p&gt;Because the AI is only guessing off of your “vibes,” it will hallucinate APIs, software packages, and functions that do not really exist. This results in exploitable flaws and a terrible supply-chain danger known as “slopsquatting,” when malicious actors register the identities of the phony dependence the AI hallucinated.&lt;/p&gt;

&lt;p&gt;Picture this: you're ordering food on Swiggy, but you just type in, "I want something spicy." You could end up with a great curry or a bowl of raw chillies. Without explicit parameters you are leaving the results to chance.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;AWS Kiro: The Answer to Vibe Coding&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The session then offered AWS Kiro as a solution to this mess. Kiro is an AWS-native, agentic IDE (Integrated Development Environment) built to address exactly these kinds of difficulties.&lt;/p&gt;

&lt;p&gt;Instead of letting the AI run free, Kiro offers structure. It introduces spec-driven programming, routing rules and automatic hooks. In other words, it assures your AI-assisted coding is well-structured, highly auditable and truly production-ready.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Spec-Driven Flow&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Traditional AI tools go straight from your prompt to writing code. AWS Kiro implements a smThe Spec-Driven Flowarter 5-step workflow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Idea / Prompt:&lt;/strong&gt; You describe your initial need.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Specs:&lt;/strong&gt; Kiro generates concrete requirements, user stories, and acceptance criteria.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Tasks:&lt;/strong&gt; It creates an implementation checklist.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Code &amp;amp; Tests:&lt;/strong&gt; The AI writes the code alongside automated tests.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Run &amp;amp; Integrate:&lt;/strong&gt; Everything is deployed and connected.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Imagine your database is a library and you are adding a new wing. You don’t just bring in builders and instruct them to start building bricks based on the “vibe” of a library. First you would draw blueprints. Kiro is the architect, having you develop those plans before a single line of code is produced.&lt;/p&gt;

&lt;h1&gt;
  
  
  A &lt;strong&gt;Real-World Example: Building a Shopping Chatbot&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The speaker guided us through a live example of constructing a grocery buying chatbot tied to GPT-4o during the lecture. It was fun to see the Kiro UI in action.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fehjpcib2lu4h6j40joy0.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fehjpcib2lu4h6j40joy0.jpeg" alt=" " width="800" height="597"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Kiro didn’t merely throw out Python code when the project began. Instead, it asked explanatory questions like: Which platform do you prefer ? What shopping features would you like? Already have an API key from OpenAI?&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Generating the Blueprints&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;When the developer responded, Kiro created a &lt;code&gt;requirements.md&lt;/code&gt; file in the EARS format (a formal means to express clearly defined system requirements). It laid out specific user stories, including letting a buyer search for products or get cooking suggestions based on dietary constraints.&lt;/p&gt;

&lt;p&gt;From there Kiro went on to the design process. It automatically created specific markdown files for the architecture, data flow, error handling and unit testing approach for the solution. Lastly, it made a Kanban-style task board (&lt;code&gt;tasks.md&lt;/code&gt;) to graphically track progress.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7ll703ftkpdz0hd4k27a.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7ll703ftkpdz0hd4k27a.jpeg" alt=" " width="800" height="538"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To be fair, it would take a dev team days to setup all this manually. Kiro completed it in seconds, yet with the rigor and documentation of a senior technical team.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Secret Sauce: Hooks, Steering, and MCP&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;And this is when it gets interesting. AWS Kiro is more than simply a chat window, it is tightly integrated into the developer workflow with a few killer features.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Agent Hooks&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Kiro features an automated Agent Hook System to remove repetitive tasks. It watches your workspace for certain occurrences (e.g. saving a file or making a code commit).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzgns4bk6brdbx10fb5uk.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzgns4bk6brdbx10fb5uk.jpeg" alt=" " width="800" height="507"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It executes a specified prompt when an event occurs. For example, the speaker displayed a hook that automatically updated the master requirements when a new file was &lt;code&gt;requirements.md&lt;/code&gt; file to keep the documentation exactly in sync. Think of it as a smart thermostat that automatically changes the temperature when you open a window.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Project Steering&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;If everyone on a team codes in their own way the code base quickly becomes a nightmare . Kiro implements a &lt;strong&gt;steering.md&lt;/strong&gt; file to solve this.&lt;/p&gt;

&lt;p&gt;This is the steering wheel for the AI agent. It enforces code standards, architectural patterns and organizational principles. This enables team alignment and very consistent code generation, regardless of who in the team is using the tool.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Kiro can also connect to additional tools and data sources via MCP (Model Context Protocol). Looking at the &lt;strong&gt;mcp.json&lt;/strong&gt; configuration file I saw how Kiro could be plugged directly into AWS documentation and give the AI agent real-time, correct context from the source.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Traditional SDLC vs. The AI-DLC&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;You’re probably thinking, why do we need a new tool solely to create code? The speaker made a strong case for how our existing Software Development Life Cycle (SDLC) is actually holding AI behind.&lt;/p&gt;

&lt;p&gt;The classic SDLC (Plan --&amp;gt; Design --&amp;gt; Build --&amp;gt; Test --&amp;gt; Deploy) was built for human-driven, long-running procedures with plenty of heavy planning, meetings, and manual handoffs. Most organizations are merely adding AI to this old procedure right now. We employ AI as a narrow aid to develop a rapid function but the basic obstacles are still there.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Enter the AI-Driven Development Lifecycle&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;“To truly unlock the potential of generative AI, we need to rethink the whole lifecycle. The AI-DLC is bringing AI into the heart of the partnership, not as a bolt-on sidekick.&lt;/p&gt;

&lt;p&gt;The core working pattern is a continuous, high-speed loop:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The AI creates a plan.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The AI asks clarifying questions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Humans validate and make the critical decisions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The AI implements the validated plan.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;New Language and Rituals&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The process is so substantially faster that standard Agile language is expanding under the AI-DLC&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Use highly intense "&lt;strong&gt;Bolts&lt;/strong&gt;" (hours or days) instead of long "Sprints" (weeks).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Massive “Epics” are now just “&lt;strong&gt;Units of Work&lt;/strong&gt;.” Instead, the new methodology promotes “Mob Elaboration” and “Mob Construction” over developers working in isolation, where the entire team comes together to collectively make technical decisions and solve complicated business challenges around the AI’s output.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Practical Benefits of AI-DLC&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Bottom line: The shift to this spec-driven, AI-first architecture has huge benefits for organizations and developers alike.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Massive Velocity:&lt;/strong&gt; Requirements, design and coding requirements, design and coding 5x-20x faster. Work that took weeks is compressed into hours.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Higher Quality:&lt;/strong&gt; Kiro needs constant explanation, so the end result is much closer to the genuine business goal. It also enforces organizational norms throughout the board.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Better Developer Experience:&lt;/strong&gt; Less time spent on boilerplate programming means more time for innovative issue solving and genuine business value.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;I walked out of this seminar with a new perspective on where cloud development is headed. Here are the primary things I got from the talk:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Architecture Metrics Matter First:&lt;/strong&gt; You can’t build a fantastic AI application on flawed architecture. Event-driven patterns such as Amazon EventBridge and AWS Step Functions are still important for developing robust systems.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Specs are the New Code:&lt;/strong&gt; In an AI-driven environment, your ability to write precise, organized specifications is more important than your ability to type syntax. Specs ground AI and keep it correct, and tools like Kiro prove it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Security Cannot Be an Afterthought:&lt;/strong&gt; Almost 50% of code produced by AI is vulnerable, hence for production systems we need automatic guardrails like steering files and tight review loops.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Developer's Role is Shifting:&lt;/strong&gt; We’re moving away from just syntax writers and heading toward system orchestrators, architects and strategic decision-makers.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;In the end, AI is transforming software development at a basic level, but if we’re serious about building safe, enterprise-grade systems, we can’t just rely on raw “vibe coding.” The transition from traditional SDLC to the AI-DLC is a tremendous leap in the delivery of value by the teams.&lt;/p&gt;

&lt;p&gt;AWS Kiro gives you the framework, the guardrails and workflows you need to treat AI as a true and dependable engineering partner. Programming is not about typing faster. It's about thinking clearer. And directing intelligent agents with accuracy.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;As an AWS Community Builder, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on &lt;a href="https://www.linkedin.com/in/chandra-prakash-reddy/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS User Group Chennai Meetup&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; Moving Beyond Vibe Coding: A Deep Dive into AWS Kiro and the AI-DLC&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; November 15, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/3FXuAZVoQwoXGfl72ASxvHHg2n9/moving-beyond-vibe-coding-a-deep-dive-into-aws-kiro-and-the-ai-dlc" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/moving-beyond-vibe-coding-a-deep-dive-into-aws-kiro-and-the-ai-dlc" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>ai</category>
      <category>kiro</category>
      <category>productivity</category>
    </item>
    <item>
      <title>When Systems Listen: Event Driven Architecture</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Sun, 21 Jun 2026 08:48:06 +0000</pubDate>
      <link>https://dev.to/aws-builders/when-systems-listen-event-driven-architecture-647</link>
      <guid>https://dev.to/aws-builders/when-systems-listen-event-driven-architecture-647</guid>
      <description>&lt;p&gt;To master real-time AWS applications, focus on events rather than handling a constant stream of requests.&lt;/p&gt;

&lt;p&gt;Attending a full-day tech conference can be overwhelming with all the information you take in. On 01 November 2025, I got to attend the AWS Student Community Day in Tirupati. The event featured many great sessions about different parts of cloud computing.&lt;/p&gt;

&lt;p&gt;The last session of the day really changed how I think about building modern applications. &lt;strong&gt;Poobalan&lt;/strong&gt; gave a talk called "When Systems Listen: Event Driven Architecture." Even though it was late in the day, everyone was energized, and the ideas he shared were very practical.&lt;/p&gt;

&lt;p&gt;I took lots of notes and snapped photos of the slides to capture everything. Now, I’ll share what I learned about Event-Driven Architecture (EDA) and explain why it’s important for developers today.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The "Are We There Yet?" Problem&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Before we can see why Event-Driven Architecture matters, it helps to look at how traditional systems talk to each other. Poobalan kicked off the session with a familiar example: ordering food online.&lt;/p&gt;

&lt;p&gt;Think about ordering your favorite meal on a food delivery app like Swiggy or Zomato. After you place your order, you watch your screen, waiting for updates. With traditional request-driven systems, your app would keep asking the restaurant's server, "Is it ready yet? How about now? Is it cooking now?"&lt;/p&gt;

&lt;p&gt;Does this sound familiar? This is known as polling. Imagine being on a road trip with a child in the backseat who keeps asking if you are there yet. In software, this kind of constant checking uses up resources, puts extra strain on servers, and can cause annoying slowdowns. In the presentation, a funny meme showed a guy sitting alone on a park bench, which summed up the pain of always 'checking for updates.'&lt;/p&gt;

&lt;p&gt;You might be wondering, isn't there a better way to handle this?&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Enter Event-Driven Architecture&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Here’s where things get interesting. Event-Driven Architecture changes the usual approach. Instead of components always checking in with each other for updates, the system follows the old Hollywood saying: "Don't call us, we'll call you."&lt;/p&gt;

&lt;p&gt;In an EDA setup, components communicate by sending and receiving events. When something happens in your application, it sends out an event. Other services that are interested in that event listen for it and respond as needed.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Anatomy of an Event&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The slides explain that an event is just a change in your system’s state. There are also three main rules that define what makes something a true event:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Past tense:&lt;/strong&gt; Events should describe something that has already happened. For example, use names like "Order Created" or "User Signed Up" instead of "Creating Order."&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Immutable:&lt;/strong&gt; After you publish an event, you will not be able to make any changes to it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Decoupled:&lt;/strong&gt; The system that publishes the event does not know who is consuming it, and it is not concerned with this information.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Three Musketeers of EDA&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The system that sends out the event does not know who will receive it, and it does not need this information.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Event Producers:&lt;/strong&gt; These systems or services create events whenever something changes, such as when a customer clicks the checkout button on an online store.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Event Router/Broker:&lt;/strong&gt; You can think of this part like a post office. It takes in events and sends them to where they need to go.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Event Consumers:&lt;/strong&gt; These services wait for certain events so they can respond and do their jobs, such as sending a confirmation email after an order is placed.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Traditional vs. Modern: The Showdown&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;If you usually build request-driven applications, moving to event-driven architecture means thinking differently. In the session, a clear side-by-side comparison helped show exactly how the two approaches differ.&lt;/p&gt;

&lt;p&gt;In a Request-Driven setup, communication happens in real time. The client sends a request and waits for a response. Since the systems are closely linked, if one service is slow, everything else slows down too. This setup does not scale well, and heavy traffic can quickly lead to bottlenecks across the system.&lt;/p&gt;

&lt;p&gt;In EDA, communication happens asynchronously. When a client sends an event, it can continue working right away. The systems are loosely coupled, so responses do not block the process. This setup makes it possible to handle millions of independent events without slowing down the main application thread.&lt;/p&gt;

&lt;p&gt;Here’s the main idea: request-driven systems are like calling someone and expecting them to answer right away. EDA is more like sending a letter; the person can read it and respond when it suits them.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Why We Should Care&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Switching to an event-driven model brings several important benefits for today’s cloud applications:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Loose Coupling:&lt;/strong&gt; Since services don’t need to know about each other, different teams can develop, deploy, and update them independently.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Real-Time Responsiveness:&lt;/strong&gt; Systems can respond to changes the moment they happen, which allows for instant decision-making.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Resilience:&lt;/strong&gt; If your email notification service goes down, your checkout service keeps working. It continues sending "Order Placed" events, which can be replayed when the email service is running again.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Cost-Effective:&lt;/strong&gt; When you remove the need for constant polling, you can greatly lower your operational and computing costs.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Building EDA on AWS&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;At AWS Student Community Day, Poobalan moved on to talk about the main AWS services that support Event-Driven Architecture. These are the tools you use to build these systems.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Amazon EventBridge&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This service is a serverless event bus that links your applications. It works like an event traffic controller by taking in events, checking them against rules you set, and sending them to the right places.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Amazon SNS (Simple Notification Service)&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This service uses a publisher/subscriber model for messaging. Its main job is to broadcast messages. Picture it as 'one message, many listeners.' If you need to notify several backend services at once when an event happens, SNS is the right choice.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Amazon SQS (Simple Queue Service)&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;SQS is a message queue. It stores messages safely until the coSQS is a message queue that keeps messages safe until your services are ready to handle them. Imagine your database as a library, and 500 people try to check out a book at the same time. SQS works like a message waiting room, putting everyone in order so the librarian is not overwhelmed and no requests are missed.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Seeing it in Action: The Ride Booking App&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Learning theory is helpful, but seeing it in action really helps it sink in. In the presentation, we watched a live demo with a made-up taxi ride-booking app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxo7ctzudtl71yjrtx7sz.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxo7ctzudtl71yjrtx7sz.jpeg" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We looked at the Amazon EventBridge console on the screen, which showed different routing rules. There was one rule named &lt;code&gt;ride-to-driver-matching&lt;/code&gt; and another called &lt;code&gt;driver-to-notification&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;When someone clicked "Book a Ride" on the app, it triggered an event. We saw the Service Control Panel and the Ride Status Dashboard update right away. Thanks to event-driven architecture, the Driver Matching Service and the Notification Service worked on their own without depending on each other.&lt;/p&gt;

&lt;p&gt;The dashboard displayed progress bars moving from "Ride Requested" to "Driver Assigned" and then to "Confirmation Sent." If the Notification Service went down for a bit, the app kept running. The driver was still assigned, and the notification just waited in a queue until the service was back online to handle it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fterhwg8fjght1q305jc6.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fterhwg8fjght1q305jc6.jpeg" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Is EDA the Silver Bullet?&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;EDA is impressive, but it is not the right solution for every project. The speaker made it clear when to use it and, just as importantly, when to avoid it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When to use EDA:&lt;/strong&gt; Event-driven design works best when you need real-time responses, high scalability, and flexibility through decoupling. It is ideal for complex systems with many producers and consumers, or when integrating different platforms.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When NOT to use EDA:&lt;/strong&gt; Setting up event buses and queues can make your architecture more complex. If you are working on a simple CRUD application, a small prototype, or an app that needs strictly ordered and immediate responses, it is better to use traditional request-driven architectures. In some cases, a simpler approach is best.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Doing it Right: Best Practices&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;If you are ready to start using EDA, here are some important best practices to help keep your systems stable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Idempotency:&lt;/strong&gt; This idea sounds complex, but it is simple. Make sure your consumers can handle processing the same event more than once without causing errors or creating duplicate records.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Error Handling:&lt;/strong&gt; Networks sometimes fail. Set up retries for temporary issues, and use Dead Letter Queues (DLQs) to store events that cannot be processed, so you can review them later.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Scalability:&lt;/strong&gt; Set up your event channels with partitioning and load balancing. This way, your system can handle more traffic smoothly when demand increases.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Monitoring &amp;amp; Logging:&lt;/strong&gt; Since events move through different systems at different times, debugging can be hard. Use observability tools to track and visualize event flows, so you always know what is happening in your system.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Here are the main ideas I’m bringing back to my own projects after this packed session:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Stop the polling:&lt;/strong&gt; Switching from always checking on progress to a setup that just waits for notifications can save a lot of computing power.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Decoupling is a superpower:&lt;/strong&gt; If your backend services don’t depend on each other, teams can build, scale, or even have issues without affecting the whole app.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS does the heavy lifting:&lt;/strong&gt; Tools like EventBridge, SNS, and SQS work like a post office and waiting room, so it’s easy to route and store messages safely.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Complexity isn't always the answer:&lt;/strong&gt; Even though I enjoyed the session, EDA isn’t always needed. Simple apps don’t need this much engineering, and that’s totally fine.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;In short, going to the last session at AWS Student Community Day Tirupati was a great way to wrap up an already fantastic event. Poobalan managed to take a complex architectural idea and explain it using real-life examples.&lt;/p&gt;

&lt;p&gt;Event-Driven Architecture helps our systems act more like the real world by reacting to events as they happen, instead of needing constant updates. It takes a new way of thinking, but the benefits in scalability, cost savings, and resilience make it worth learning.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;As an &lt;strong&gt;AWS Community Builder&lt;/strong&gt;, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on &lt;a href="https://www.linkedin.com/in/chandra-prakash-reddy/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS Student Community Day Tirupati&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; When Systems Listen: Event Driven Architecture&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; November 01, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/3FRFYy1TQj83tbsLkqGYxgVjHsZ/when-systems-listen-event-driven-architecture" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/when-systems-listen-event-driven-architecture" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>eventdriven</category>
      <category>eventbridge</category>
    </item>
    <item>
      <title>The Future is Conversational: Analyzing Cloud Networks with GenAI</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Tue, 16 Jun 2026 06:18:17 +0000</pubDate>
      <link>https://dev.to/aws-builders/the-future-is-conversational-analyzing-cloud-networks-with-genai-1ee7</link>
      <guid>https://dev.to/aws-builders/the-future-is-conversational-analyzing-cloud-networks-with-genai-1ee7</guid>
      <description>&lt;p&gt;I had the fantastic opportunity to attend the AWS Student Community Day in Tirupati on November 1, 2025. The sessions were great and covered a wide spectrum of cloud subjects but one particular speaker particularly caught my attention.&lt;/p&gt;

&lt;p&gt;The session was titled “The Future is Conversational: Analyze Cloud Networks with GenAI” and was led by &lt;strong&gt;Yeshwanth L M&lt;/strong&gt;. Yeshwanth is a multi-talented individual in the tech community. He is a Solutions Engineer at Confluent, an active AWS Community Builder, a Microsoft Certified Trainer, an IEEE Volunteer, and the creator of the YouTube channel “Tech With Yeshwanth.”&lt;/p&gt;

&lt;p&gt;His lecture handled a big pain point for cloud engineers and made it easier with Generative AI. This is what I took away from his highly entertaining talk.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The "Khatabook" Problem: Managing a Giant Network&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Yeshwanth opened the discussion with a fantastic everyday analogy to explain cloud networking. Imagine your AWS network as a huge college hostel and you as the warden.&lt;/p&gt;

&lt;p&gt;In this analogy, you have 10,000 pupils (your cloud servers), thousands of dormitories (your applications), and one main entrance (the Internet). As the warden your major job is to be aware of who is coming in and out of the main gate and to make sure the pupils are safe.&lt;/p&gt;

&lt;p&gt;Let’s face it, keeping track of 10,000 students isn’t easy. At the main gate, your security guy logs everything into a big notebook. In the realm of AWS, this logbook is called a VPC Flow Log.&lt;/p&gt;

&lt;p&gt;Now picture this logbook with 100 million entries a day! This leads to what Yeshwanth aptly termed the “Khatabook” (logbook) dilemma.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Warden's Nightmare&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This vast amount of data creates a terrible scenario. Suppose the college principal asks you a very precise inquiry. “Did anyone try to sneak into the girls' hostel (a secure server) at 2 AM last night?”&lt;/p&gt;

&lt;p&gt;In old school environment your job? You have to go through 5,000 pages of the logbook with a pen and locate the answer. This is the “Old Way” that cloud infrastructure was. Technically this entails building complex, very precise SQL queries to sift through millions of logs.&lt;/p&gt;

&lt;p&gt;Does this sound familiar? It’s sluggish. It’s unpleasant. And by the time you finally compose the appropriate query, get the answer, the intruder is already long gone.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The "What If" Moment&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Here’s the thing… what if you didn’t have to create those complicated queries? What if you could just naturally ask a question?&lt;/p&gt;

&lt;p&gt;Picture yourself pulling out your phone, texting an assistant: “Hey, show me all ‘REJECTED’ entries after 1 AM." Or, more college-campus relatable: “Which student (IP address) is ordering the most Swiggy or Zomato orders?”&lt;/p&gt;

&lt;p&gt;This simple transition from writing hard-coded code to having a natural discussion is exactly where Generative AI comes in to revolutionize the game entirely.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Meet the "Super-Smart Warden": Amazon Bedrock&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Yeshwanth’s answer to the “Super-Smart Warden” of the AWS ecosystem was Amazon Bedrock.&lt;/p&gt;

&lt;p&gt;Amazon Bedrock is a fully managed solution that brings Generative AI into your cloud environment. Imagine giving your hostel a super brain It’s like having a Ramanujan, a mathematical genius, on your administrative staff. Instead of you scanning the book with a pen, this genius can read all 5,000 pages of your logbook in one second and just tell you the answer.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Traditional vs. Intelligent Architecture&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;To see what a major shift this is, we have to look at the warden's "Filing System".&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Traditional Architecture:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdsovjok86tkbtzs23jgs.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdsovjok86tkbtzs23jgs.jpeg" alt=" " width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In a normal legacy arrangement, network traffic passes via your Virtual Private Cloud (VPC) and gets captured in VPC Flow Logs. The data is then dumped onto storage such as an Amazon S3 bucket or Amazon CloudWatch. You would normally use a technology like Amazon Athena to query the S3 data and then develop a visual Dashboard to interpret this. It works but it’s a lot of heavy lifting, ongoing maintenance and a lot of manual query building.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Intelligent Architecture:&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsh7a2lcckd8fkbtji0t1.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsh7a2lcckd8fkbtji0t1.jpeg" alt=" " width="800" height="417"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The current technique streamlines this pipeline entire. Your VPC logs continue to flow to S3 and CloudWatch. But the data is immediately streamed into Amazon Bedrock, not through Athena and constructing fancy dashboards. You just ask the AI “Is there any strange activity from someone I don’t know?” and it answers in a conversational manner.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Magic Trick: How It Actually Works&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;You may wonder how it works behind the scenes? Is this a magic? Yeshwanth broke down the technical reality into a four-step approach.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 1: Getting the Logbook Pages&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;First of all, the system needs raw data. For example, a script calls a function &lt;code&gt;get_flow_log_data&lt;/code&gt;. It is precisely the same as going up to the security officer and asking him for all the logbook entries from the last 24 hours. It extracts the raw text messages directly from Amazon CloudWatch Logs.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 2: Pre-Processing in Python&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Even before you talk to the AI, the script gets clever. It executes a Python function called analyze_flow_logs_summary that uses the Pandas package. This is where you take the raw data and make a high level summary, automatically finding things like total records, top IPs, total bytes moved, etc.&lt;/p&gt;

&lt;p&gt;Then it calls a method called format_flow_logs_for_bedrock to provide a nice, legible text "printout" of the first few log entries. Think of this phase as cleaning up your desk and summarizing your notes before your boss comes to see a report.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 3: Building the "Super-Prompt"&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This is where things become fascinating. This is where the true magic happens. We don’t just ask a plain question to the AI. We feed one giant dossier of information into Amazon Bedrock, all at once. This “Super-Prompt” has three primary components:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Role:&lt;/strong&gt; We give the AI a persona by stating, "You are an AWS network expert."&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Summary:&lt;/strong&gt; We provide the Pandas data we just created: "Here is a summary I already made: {Total Records: 5000, Top IP: 1.2.3.4...}"&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Raw Data:&lt;/strong&gt; We feed it the actual log entries: "Here are the actual log entries: {1. 10.0.0.1 -&amp;gt; 10.0.0.2 [REJECT]...}"&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 4: The "In-Context" Answer&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Finally, we append the real question to the very end of this huge prompt. We add for example: "...Now, tell me this: 'Are there any suspicious activities?&lt;/p&gt;

&lt;p&gt;Bedrock reads the pre-computed summary and the raw logs we just gave it. It uses that current context to locate the solution. Bottom line. The AI is not going out and searching a regular back-end database. It’s basically reading and understanding the huge chunk of material you just given it and giving you a human like answer.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Live Demo &amp;amp; Beyond Security&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;After discussing the principle, Yeshwanth walked into the AWS Console for a live demo to "catch some intruders" and how this architecture parses flow logs in real time. Seeing the AI immediately evaluate complex network traffic was super cool.&lt;/p&gt;

&lt;p&gt;But the main point of the session’s message was much broader than merely AWS security. This log analysis architecture is just the beginning, the future is conversational. You can execute this very same four step “magic trick” on just about any data generating domain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;For a Cricket Analyst:&lt;/strong&gt; You could feed ball-by-ball IPL data to an AI and ask, "What bowling pattern makes Virat Kohli get out most often?"&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;For a College Admin:&lt;/strong&gt; You could upload raw campus Wi-Fi logs and ask, "Which classroom's Wi-Fi is the slowest?"&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;For Developers:&lt;/strong&gt; You could take your user-click logs and ask, "Which part of my app is making users angry?"&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;If you only remember a few things from this session, here is what you need to know:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Goodbye to Complex Queries:&lt;/strong&gt; You don’t have to write complex SQL anymore, nor search through millions of lines of text manually. With GenAI you can just ask natural questions to examine large datasets.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Context is Everything:&lt;/strong&gt; The answer to making this work is not just asking a smart question. It’s creating a “Super-Prompt” that first sends Amazon Bedrock your summary data and raw logs so it gets the precise context it needs to offer a great answer.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Endless Possibilities:&lt;/strong&gt; Yeshwanth used AWS network security for his example, but this conversational design works for anything. GenAI can be your analyst on call, whether it’s cricket statistics, college Wi-Fi, or app user behavior.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;At the end of the day, going from writing rigid code syntax to having a simple discussion with your infrastructure is a big game shift. Generative AI is not just a pretty new toy to generate emails. It is a very practical, powerful technology that can be the ‘super-smart warden’ for your most complex operational data.&lt;/p&gt;

&lt;p&gt;Attending this session at AWS Student Community Day was eye opening. It is getting easier fast to grasp complex systems. If you haven't yet played around with Amazon Bedrock or GenAI for your own data, I advise you to give it a try. Write a simple script, give it some logs and see what happens. The future is indeed conversational ! And all it takes to get started is understanding how to ask the correct questions !&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;As an &lt;strong&gt;AWS Community Builder&lt;/strong&gt;, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on &lt;a href="https://www.linkedin.com/in/chandra-prakash-reddy/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS Student Community Day Tirupati&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; The Future is Conversational: Analyzing Cloud Networks with GenAI&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; November 01, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/3FCrRvWMg5gDCd5h665RoQ1BQ4Z/the-future-is-conversational-analyzing-cloud-networks-with-genai" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/the-future-is-conversational-analyzing-cloud-networks-with-genai" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>genai</category>
      <category>bedrock</category>
      <category>ai</category>
    </item>
    <item>
      <title>Demystifying Terraform: Bridging the Gap Between Infrastructure and Cloud</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Mon, 15 Jun 2026 16:28:10 +0000</pubDate>
      <link>https://dev.to/aws-builders/demystifying-terraform-bridging-the-gap-between-infrastructure-and-cloud-jgm</link>
      <guid>https://dev.to/aws-builders/demystifying-terraform-bridging-the-gap-between-infrastructure-and-cloud-jgm</guid>
      <description>&lt;p&gt;Let’s face it, tech events are thrilling, but can also be quite overwhelming. I went to AWS Student Community Day on 1st November 2025 in Tirupati. There were some great sessions all day long on different elements of cloud computing. But there was one particular session that had me totally immersed.&lt;/p&gt;

&lt;p&gt;Senior Cloud Engineer &amp;amp; AWS Community Builder &lt;strong&gt;Keerthivasan Kannan&lt;/strong&gt; took the stage to discuss about ‘Bridging IaC and Cloud’. He took Infrastructure as Code, a subject that could be scary, and made it consumable and logical.&lt;/p&gt;

&lt;p&gt;I took notes and photos throughout his talk so that I could share these ideas. If you are a student or an aspiring cloud enthusiast, this blog will help you understand how you may control the cloud resources by using the code.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Cloud Management Problem&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;If you’ve ever utilized a cloud provider, you undoubtedly started by logging in to the web portal. You went through menus, choose regions, set up networks and ultimately started a server. Does this sound familiar?&lt;/p&gt;

&lt;p&gt;Manual clicking is fantastic for learning, but a nightmare in the real-world. Imagine you have to build up fifty servers, apply sophisticated security rules and reproduce that same setup for a testing team. Doing that manually is slow, frustrating and prone to human mistake.&lt;/p&gt;

&lt;p&gt;This is where the idea of Infrastructure as Code, or IaC, comes in. You don’t click buttons, you just write simple config files that tell you exactly what you want. You provide those files to a tool and it will create the infrastructure for you.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Enter Terraform&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Terraform was introduced by Keerthivasan as the IaC tool of choice in the session. But what's so special about it?&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Not Just for One Cloud&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;You might be wondering if knowing Terraform limits you into one platform. The slides were clear: Terraform supports multi-cloud environments. It’s not AWS-only. It works with Google Cloud, Azure and dozens of other providers.&lt;/p&gt;

&lt;p&gt;It's like a universal remote control. You don’t need a separate remote for the TV, the sound system, and the air conditioner, you use one standard remote to operate everything in your house.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Core Workflow: Terraform Stages&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Here's the thing: Terraform operates in a very predictable, logical sequence. The session broke this down into four main stages.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Init (Initialize)&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Before you can build anything, Terraform needs to prepare its workspace. The &lt;code&gt;init&lt;/code&gt; stage downloads the necessary plugins to talk to your specific cloud provider. Imagine you are about to cook a new recipe; this step is like going to the grocery store to gather all your specific ingredients.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Plan&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This is your safety net.” When you run a &lt;code&gt;plan&lt;/code&gt;, Terraform examines your code and informs you exactly what it’s going to produce, alter, or destroy. It doesn’t affect anything for now. This is like looking over the blueprint with your contractor before the concrete gets poured.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Apply&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Run &lt;strong&gt;apply&lt;/strong&gt; when you approve the proposal. That’s when Terraform really speaks to the cloud and makes your resources. This is when you really turn the stove on and start cooking (in our cooking example).&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Destroy&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;When you don’t need the infrastructure anymore, the &lt;code&gt;destroy&lt;/code&gt; command tears it all away cleanly. It’s critical for saving money on cloud bills after a project finishes.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Remembering the Past: The State File&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;To be fair, managing infrastructure requires a good memory. Terraform needs to know exactly what it has created so it can manage it in the future.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Tracking Changes&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Terraform maintains a record of your infrastructure in what is called a “State file.” This document ties your code to the real-world resources that are running in the cloud.&lt;/p&gt;

&lt;p&gt;Think of your state file as like a save file in a video game. When you quit the game and return tomorrow, the save file remembers which level you are on and what stuff you collected. Without that, you'd have to start from scratch.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Cloud Storage&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The slides stressed that this state file should be stored in Cloud Storage, not on your local laptop. If you are working in a team , everyone has to have the same " save file " , so you do not mistakenly overwrite each other .&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Keeping Things Organized: File Structure&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk5fc3wmf2dgoooi1n6jr.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk5fc3wmf2dgoooi1n6jr.jpeg" alt=" " width="800" height="469"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As your cloud environment grows, your code will too. Keerthivasan shared best practices for structuring Terraform files.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Standardizing Files&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;You don't just write a huge wall of code . You break it down in logical files. The presentation also showed a typical directory for an EC2 (virtual server) deployment:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;providers.tf&lt;/code&gt;: Tells Terraform which cloud to connect to (like AWS).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;variables.tf&lt;/code&gt;: Stores configurable values so you can easily change them later.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;locals.tf&lt;/code&gt;: Defines local, reusable names or tags within the module.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;output.tf&lt;/code&gt;: Displays important information after the build finishes, like the server's IP address.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Real-World Architecture&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwcm5hljkg0ic99swfp9i.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwcm5hljkg0ic99swfp9i.jpeg" alt=" " width="800" height="506"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We also viewed a practical architecture diagram of a website domain (&lt;a href="http://www.mbu.asia" rel="noopener noreferrer"&gt;www.mbu.asia&lt;/a&gt;). The diagram demonstrated Terraform provisioning an S3 bucket for storage, moving traffic through a network architecture, and ultimately arriving to EC2 instances. Properly structured files make complex setups like this much easier to manage.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Building with Blocks: Modules and DRY&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;This is where it gets interesting. As developers, we hate doing the same work twice.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The DRY Principle&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;DRY is an acronym for "Don’t Repeat Yourself. The workshop taught how to do this with Locals and Variables. If you need to apply the same “Project” tag to fifty resources, you don’t write it fifty times. You define it once as a local or a variable and then refer to it everywhere.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Terraform Modules&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2auligrtlsmicbhgnzcx.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2auligrtlsmicbhgnzcx.jpeg" alt=" " width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you find yourself writing the same code for an S3 bucket or a Security Group over and over you can construct a Module .&lt;/p&gt;

&lt;p&gt;Think of a module like buying a cake mix. Instead than weighing out flour, sugar and baking powder every single time you want to bake, you just grab the mix, add water and you are good to go. The presentation illustrated folder structures splitting &lt;code&gt;ec2&lt;/code&gt;, &lt;code&gt;s3&lt;/code&gt; and &lt;code&gt;sg&lt;/code&gt; (security groups) into reusable modules that may be called with a few lines of code.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Advanced Magic: Variables, Loops, and Logic&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;To make your infrastructure truly dynamic, Terraform offers several advanced features.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Variable Validation&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Sometimes you want to restrict what inputs are accepted. The slides indicated a variable block for “environment” with a strict constraint. It did validation to ensure the environment name was just "dev", "staging" or "prod". If a user inputs “testing”, Terraform will error out.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Count vs. For_each&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;When you want to create multiple resources, you have two main options.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Count:&lt;/strong&gt; The slide presented an example of Web Servers creation with &lt;code&gt;count = 3&lt;/code&gt;. If you want exact replicas, this is great. Imagine ordering three simple pizzas the same for a party.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;For_each:&lt;/strong&gt; This example shows how to create different IAM users using a map. This is best if each object has unique qualities. Imagine you are ordering meals on Swiggy for three pals, one wants a burger, the other wants pasta and the third wants a salad. &lt;code&gt;For_each&lt;/code&gt; handles those special orders well.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Dynamic Blocks&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Security Groups control what network traffic is allowed in and out. The presentation included “Dynamic blocks” that automatically create multiple entrance rules. Instead of hardcoding each and every port rule, Terraform iterates over a list and dynamically constructs the rules.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Built-in Functions&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Terraform is not simply resource declaration. It can conduct math and string manipulation. The functions slide was an overview of numeric, string and collection functions. One simple example provided was the ceiling function. &lt;code&gt;Ceil(5.1)&lt;/code&gt; immediately rounds up to &lt;code&gt;6&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Conditional Statements&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Finally, we looked at conditionals. The syntax shown was &lt;code&gt;condition ? true_val : false_val&lt;/code&gt;. In other words, it is a simple decision-maker. The slide's example checked if a variable was empty. If it was empty, it assigned a default value; otherwise, it used the provided value.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;If you are looking to start your journey with Terraform and IaC, here are the core lessons I picked up from the session:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Automation is Non-Negotiable:&lt;/strong&gt; Moving away from manual console clicks to code isn’t just a “pro” move, it’s important for consistency and speed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Trust the Workflow:&lt;/strong&gt; Always follow &lt;code&gt;Init -&amp;gt; Plan -&amp;gt; Apply&lt;/code&gt; The “Plan” stage is your best buddy since it prevents costly or damaging mistakes from happening.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The State File is Sacred:&lt;/strong&gt; Think of your state file as a treasure map. You lose it, or corrupt it, and Terraform doesn’t know what it built anymore. Keep it on the cloud (like an S3 bucket) and not simply on your laptop. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Modules Save Time:&lt;/strong&gt; Don't write the same code twice. Create modules that are “blueprints” of common resources like servers or databases that you can install instantaneously in new applications.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Logic Makes Infra "Smart":&lt;/strong&gt; With variables, loops (&lt;code&gt;count and for_each&lt;/code&gt;) and conditional expressions your infrastructure can be flexible to new needs without you having to rebuild the entire code base.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;AWS Student Community Day at Tirupati was an enlightening event. There were a lot of good lectures during the day on everything from AI to Security but this one on “Bridging IaC and Cloud” really caught my eye because of how practical it was.&lt;/p&gt;

&lt;p&gt;When you first look at Infrastructure as Code it can feel like a mountain to conquer. But watching everything broken down into basic files, logical steps and reusable modules made it feel much more like playing with Lego blocks than building difficult software.&lt;/p&gt;

&lt;p&gt;Terraform is a skill that will serve you well whether you are just starting your cloud journey or looking to scale a project. My best advice? Don’t just read about it: install Terraform, get a free-tier AWS account, and try deploying your first S3 bucket using the &lt;code&gt;apply&lt;/code&gt; command. There’s no better way to learn than to do it!&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;As an &lt;strong&gt;AWS Community Builder&lt;/strong&gt;, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on &lt;a href="https://www.linkedin.com/in/chandra-prakash-reddy/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS Student Community Day Tirupati&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; Demystifying Terraform: Bridging the Gap Between Infrastructure and Cloud&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; November 01, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/3FB8KsHRaThlKEaYqJabyGxpviI/demystifying-terraform-bridging-the-gap-between-infrastructure-and-cloud" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/demystifying-terraform-bridging-the-gap-between-infrastructure-and-cloud" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>terraform</category>
      <category>infrastructureascode</category>
      <category>productivity</category>
    </item>
    <item>
      <title>From MLOps to LLMOps: A Practical AWS GenAI Operations Guide</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Fri, 03 Apr 2026 16:12:34 +0000</pubDate>
      <link>https://dev.to/aws-builders/from-mlops-to-llmops-a-practical-aws-genai-operations-guide-4k31</link>
      <guid>https://dev.to/aws-builders/from-mlops-to-llmops-a-practical-aws-genai-operations-guide-4k31</guid>
      <description>&lt;p&gt;The vibe at AWS Student Community Day Tirupati on November 1, 2025, was different from what I thought it would be like. There were lots of students, cloud fans, and builders in the room. They were all there to learn, meet, and geek out about AWS. Throughout the day, there were several classes, and each one added something new.&lt;/p&gt;

&lt;p&gt;One lesson, though, made me sit up and pay more attention. &lt;strong&gt;Raghul Gopal&lt;/strong&gt;, a Data Scientist and AWS Community Builder (ML), walked up to the stage to talk about something that most people don't think much about: how do you run AI models in real life? Not just make them on a laptop and be happy about it; consistently test, watch, and scale them.&lt;/p&gt;

&lt;p&gt;"&lt;strong&gt;Generative AI Operations: FMOps, LLMOps Integration with MLOps Maturity Model&lt;/strong&gt;" was the title of the talk. When it was over, I had a whole new perspective on the AI/ML lifecycle on AWS.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Question That Kicked Everything Off&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;"AWS gives you everything in one place to build ML models," Raghul said to start the talk, and it really hit the mark. But are we really using it right in production?"&lt;/p&gt;

&lt;p&gt;Sense a pattern? A model can be trained by many teams. It's a whole different task to get that model to work reliably for a lot of real users.&lt;/p&gt;

&lt;p&gt;To put it another way, making a great meal at home is one thing. It takes a lot of different skills to run a restaurant kitchen that feeds hundreds of people every day without any problems. That's what this meeting was all about.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;What "ML in Production" Actually Means&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Before getting into answers, the session gave us a really helpful list of questions that can be used as a litmus test to see if your machine learning setup is really ready for production:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Are your model's features (the pieces of data it uses to make predictions) kept separate and tracked correctly?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Is your model that you learned kept in a &lt;strong&gt;model repository or registry&lt;/strong&gt;?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Is the model being watched all the time to make sure it keeps giving correct answers?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Is model lineage being kept? This is a list of which data made which version of the model.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Are there &lt;strong&gt;CI/CD pipelines&lt;/strong&gt; (automated delivery systems) that move code from development to pre-production to production, with approval steps that need to be manned by manual?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Is testing done automatically in every environment?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Does ETL (Extract, Transform, Load) automatically load data so that machine learning engineers can start working on projects without haThe event also had a number of other great sessions, such as ones about cloud design, hands-on demos, and more. But this one helped me learn how to organise my thoughts in a way that I will use in all future AI projects.ving to wait for data teams?&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are a lot of people like you who answered "not really" to most of those questions. That's exactly what MLOps is meant to fix.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Three "-Ops" You Need to Know&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Let's be honest: the words can be hard to understand. It's simple like this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;MLOps&lt;/strong&gt; (Machine Learning Operations): The process of putting standard machine learning solutions into production in a smart way. Examples include fraud detection models, recommendation systems, and churn prediction.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;FMOps&lt;/strong&gt; (Foundation Model Operations): Massive AI models like Claude or Titan are trained on terabytes of data with billions of parameters. This is an extension of MLOps for &lt;strong&gt;Foundation Models&lt;/strong&gt;. FMOps includes use cases for making text, images, music, and videos.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;LLMOps&lt;/strong&gt; (Large Language Model Operations): A part of FMOps that is used to operationalise Large Language Models. This is the technology that makes chatbots, writing helpers, and coding tools work.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Imagine three rings stacked on top of each other. MLOps is the outer ring, FMOps is inside it, and LLMOps is in the middle. It doesn't matter what kind of AI model you run, all three work the same way.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuci1skzast793y1i1uir.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuci1skzast793y1i1uir.jpeg" alt=" " width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The MLOps Maturity Model: Four Levels&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Now things really start to get interesting. Raghul showed a &lt;strong&gt;four-level MLOps Maturity Model&lt;/strong&gt;, which is a plan for how teams move from small tests to using machine learning on a large scale. It's kind of like getting better at a video game.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Level 0 - Initial Phase: Experiments and Ideas&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;At this point, data scientists are just looking around. To make and test models, they use &lt;strong&gt;Adobe SageMaker Studio&lt;/strong&gt; (AWS's cloud-based ML IDE) or local tools like VS Code and PyCharm. This is what the technology stack looks like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon SageMaker:&lt;/strong&gt; Core ML platform with Data Wrangler (data prep), Pipelines (automation), Feature Store, and Clarify (bias detection)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon S3&lt;/strong&gt;: Stores your raw ML training data&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Glue:&lt;/strong&gt; ETL service - cleans and transforms data before feeding it to models&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon Athena:&lt;/strong&gt; Run SQL queries directly on data sitting in S3&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Lambda:&lt;/strong&gt; Trigger automated jobs and workflows&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The event also had a number of other great sessions, such as ones about cloud design, hands-on demos, and more. But this one helped me learn how to organise my thoughts in a way that I will use in all future AI projects.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Code Repository:&lt;/strong&gt; AWS had its own CodeCommit, but now most people use GitHub or Bitbucket to store and track their work.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's fine; everything here is done by manual and by exploration. The beginning of every fully developed machine learning system.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Level 1 - Repeatable Phase: Automating the Workflow&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;From doing runs by manual, the team now goes on to automated pipelines. You don't have to re-train a model by manual every time because SageMaker Pipelines can do the data preparation, training, evaluation, and packaging for you. The SageMaker Model Registry is a central list of all your model versions that gets updated when new models are trained.&lt;/p&gt;

&lt;p&gt;"I trained this once" became "every training run is tracked, versiThe event also had a number of other great sessions, such as ones about cloud design, hands-on demos, and more. But this one helped me learn how to organise my thoughts in a way that I will use in all future AI projects.oned, and reproducible."&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Level 2 - Reliable Phase: Adding the Safety Net&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This is the quality gate before going live. You introduce:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Automated testing:&lt;/strong&gt; Unit tests, integration tests, and evaluation metrics that are specific to machine learning are all run immediately.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;CI/CD Pipelines&lt;/strong&gt; Using AWS CodePipelines and AWS CodeBuild to move code from development to pre-production to production, with approval steps that need to be manned by manual.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Different testing strategies based on how data arrives:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Batch requests:&lt;/strong&gt; Tested via Lambda and S3&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-time requests:&lt;/strong&gt; Handled through Amazon API Gateway&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streaming requests:&lt;/strong&gt; Managed with Kafka and Amazon MSK&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;To be fair, this level demands real engineering discipline. But it's what separates a prototype from something you'd stake your business on.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Level 3 - Scalable Phase: Multi-Team, Enterprise-Scale&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Everything from Level 2 is multiplied across different teams and machine learning solutions at the same time in the last level. New things added here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Multiple data sources:&lt;/strong&gt; NoSQL databases like DynamoDB and DocumentDB for different team needs&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;IAM&lt;/strong&gt; (Identity and Access Management) to manage roles and permissions at scale&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;CloudFormation or Terraform&lt;/strong&gt; for Infrastructure as Code - your entire environment defined in code, replicable in minutes&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Your team can choose to use GitHub Actions or Jenkins instead of AWS CodePipelines if they already know how to use those tools.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What is the goal at this level? From idea to production in days instead of weeks, and use more than one option at the same time.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Making the Leap: MLOps → LLMOps&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;When you have a strong base in MLOps, moving on to LLMOps is easier than it sounds. The slide made it clear: "You can operationalise your basic LLM use cases from one environment to the next."&lt;/p&gt;

&lt;p&gt;The ideas behind Dev, Pre-Prod, and Prod environments, CI/CD pipelines, manual approvals, and automated tests are all the same. Now you're working with &lt;strong&gt;Foundation Models&lt;/strong&gt; instead of the old ML models, which is different. They're the building blocks you use to build on top of your MLOps skills.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Initial LLMOps: Picking the Right Foundation Model&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;This is where lots of teams get stuck. How do you pick from the dozens of LLMs that are out there? The lesson gave a framework that could be used right away.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 1: Know Your Use Case First&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Make sure you know what you need before you choose a type. The things to look at are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open source vs. proprietary?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Commercial license compatibility&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Model size: Small Language Model (SLM) vs. Large Language Model (LLM)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Speed and latency requirements&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Context window size - how much text the model can process at once (measured in tokens)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Quality of the training dataset and how it applies to your area&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Is the model &lt;strong&gt;fine-tunable&lt;/strong&gt; with your own data?&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 2: Navigate the Speed-Precision-Cost Triangle&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The truth is that you can't have everything. Raghul showed this with a triangle that showed three objectives that were at odds with each other:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;High speed → smaller model → lower precision → lower cost&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Higher precision → larger model → lower speed → higher cost&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In the case on the slide, three Foundation Models were put side by side. FM1 had the highest accuracy (5/5) but also the highest cost. FM3 was less expensive ($$), but it wasn't as accurate. When price was the most important factor, &lt;strong&gt;FM2 was chosen&lt;/strong&gt; because it had the best mix of accuracy (4/5) and low cost ($). The best choice is always based on which triangle point is most important to you.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 3: Build a Prompt Catalog and Evaluate Systematically&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Don't just pick a model and hope it works. The recommended process:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Prompt Engineers&lt;/strong&gt; make good evaluation questions by following organised rules like CORS or Anthropic's instructions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In a &lt;strong&gt;Prompt Catalogue&lt;/strong&gt;, you can store those prompts. It's kind of like a Feature Store, but for prompts. With version control turned on, DynamoDB works well here.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;GenAI Developers&lt;/strong&gt; shortlist the top 3 Foundation Models based on those prompts&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can do structured evaluations in one of four ways, depending on the facts you have:&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Accuracy metrics&lt;/strong&gt; (when labeled data exists with discrete outputs — e.g., classification)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Similarity metrics&lt;/strong&gt; like ROUGE or cosine similarity (for open-ended text outputs)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Human in the Loop (HIL):&lt;/strong&gt; Using tools like Amazon SageMaker Ground Truth, human judges score model outputs by manual against set criteria.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;LLM-as-judge:&lt;/strong&gt; Feed outputs to a trusted, reliable LLM and have it rate the response with a score and explanation&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The result is a clean evaluation scorecard, which means that you chose your model based on facts instead of your gut.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Building and Deploying Your LLMOps App&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;What do you do now that you've picked your LLM? Building the real app around it is the last step:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Frontend:&lt;/strong&gt; Django, Flask, Streamlit (highly recommended for quick and clean prototypes), or React&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Backend / LLM Provider:&lt;/strong&gt; Amazon Bedrock, SageMaker JumpStart, or HuggingFace - depending on your model choice&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Load Balancing and Auto Scalin&lt;/strong&gt;g to handle real-world traffic without hiccups&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The same &lt;strong&gt;Dev → Pre-Prod → Prod&lt;/strong&gt; pipeline from MLOps applies - always test your LLM in Pre-Prod before exposing it to end users&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The architecture changes based on whether you're delivering at the edge or through a centralised group.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;After this lesson, a few things really stuck with me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Building a model is the easy part&lt;/strong&gt;. Running it consistently in production, testing it, keeping track of its history, and being able to do it again is the real engineering work.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The MLOps maturity model is a journey, not a checklist&lt;/strong&gt;. You can start at Level 0 if that's where you are now. You get to the higher levels bit by bit.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;LLMOps is MLOps with a GenAI lens&lt;/strong&gt;. You're a lot closer to LLMOps than you think if you already know how MLOps works.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Model selection should be data-driven&lt;/strong&gt;. You don't have to guess or worry about which LLM to choose because of the prompt catalogue and organised evaluation method.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;In the end, Raghul's talk made it clear that &lt;strong&gt;having the tools isn't enough; what counts is how you use them&lt;/strong&gt;. From SageMaker to Bedrock to CodePipelines, AWS gives you a very full set of tools. But even the best tools can't fix a broken process if you don't think about things like testing, tracking, and being able to do the same thing again.&lt;/p&gt;

&lt;p&gt;If you're a student just starting to learn machine learning, a developer looking into GenAI, or an engineer building real systems at work, you need to understand this operational layer. This is what sets people who play with AI apart from those who ship AI. The talk at AWS Student Community Day Tirupati taught me that there isn't as much of a gap between the two as most people think. You have to get on that growth curve somewhere and keep going up.&lt;/p&gt;

&lt;p&gt;The event also had a number of other great sessions, such as ones about cloud design, hands-on demos, and more. But this one helped me learn how to organise my thoughts in a way that I will use in all future AI projects.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;As an AWS Community Builder, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on &lt;a href="https://www.linkedin.com/in/chandra-prakash-reddy/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS Student Community Day Tirupati&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; From MLOps to LLMOps: A Practical AWS GenAI Operations Guide&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; November 01, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/3Br0qlmhUQBtUFdRkipYwnwvYhv/from-mlops-to-llmops-a-practical-aws-genai-operations-guide" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/from-mlops-to-llmops-a-practical-aws-genai-operations-guide" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>ai</category>
      <category>genai</category>
      <category>productivity</category>
    </item>
    <item>
      <title>LamRAG: AI-Powered Feedback Analysis Using Amazon Bedrock</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Sun, 29 Mar 2026 15:35:02 +0000</pubDate>
      <link>https://dev.to/aws-builders/lamrag-ai-powered-feedback-analysis-using-amazon-bedrock-1kag</link>
      <guid>https://dev.to/aws-builders/lamrag-ai-powered-feedback-analysis-using-amazon-bedrock-1kag</guid>
      <description>&lt;p&gt;There were a lot of great talks at AWS Student Community Day Tirupati on November 1, 2025. But the one that really jumped out was "LamRAG: From data to constructive insights using Amazon Bedrock" by Rahul Kumar and Gokul Jangam.&lt;/p&gt;

&lt;p&gt;It wasn't a normal slide-and-talk presentation. It was a live, step-by-step tour of a real product they made called Feedbackly, which is a platform for managing feedback. They showed how they improved it over time using Amazon Bedrock. The session was set up perfectly, with levels that built on each other. When it was over, I got a whole new way of looking at what generative AI on AWS can do.&lt;/p&gt;

&lt;p&gt;Let me break it all down for you.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Problem: Feedback Chaos and the 10/10 Trap&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;You know how messy it can get if you've worked on a team that does sprints. Many projects. A lot of project managers. Different schedules for sprints. Different approaches to get feedback from peers. There is no one spot to keep track of it all.&lt;/p&gt;

&lt;p&gt;Feedbackly was made to solve just that: a single system for managing projects and getting peer input from team members every sprint. It's like a notebook that everyone in your engineering department can use to keep track of comments from every sprint.&lt;/p&gt;

&lt;p&gt;But then there was a new problem that seems quite familiar: everyone started giving 10 out of 10 ratings. Everyone is "great." Everyone "did better than expected." The feedback loses its meaning. Not important. Not useful for real conversations about performance.&lt;/p&gt;

&lt;p&gt;Sound familiar? That's where Amazon Bedrock enters the picture.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Why Serverless First?&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Before getting into the AI aspects, the speakers made a quick but vital case for creating Feedbackly on a serverless architecture. This is why it made sense:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;No Server Management -&lt;/strong&gt; no patching, no provisioning, no babysitting servers&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Pay Only for What You Use -&lt;/strong&gt; no paying for idle compute between sprints&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Automatic Scaling -&lt;/strong&gt; handles bursts of feedback submissions without manual work&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Faster Development -&lt;/strong&gt; less infra, more features&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Built-in Availability -&lt;/strong&gt; AWS handles the redundancy&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Focus on Business Logic -&lt;/strong&gt; spend time on what actually matters to users&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It's like renting a cab instead of buying a car. You don't have to worry about gas, insurance, or maintenance; you just get where you need to go.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Learning in Levels: The Session's Brilliant Structure&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The session was set up as a series of five levels, from L1 to L5, with each level adding a new idea on top of the one before it.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;L1: Bedrock Playground&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The journey started with the Amazon Bedrock Chat Playground — a browser-based interface where you can experiment with multiple foundation models side by side, without writing a single line of code. It's literally a playground.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3d0hrcq2pnmkwrm7fluu.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3d0hrcq2pnmkwrm7fluu.jpeg" alt=" " width="800" height="409"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The presenters used the same feedback-classification prompt on three models at the same time: Llama 3.1 405B Instruct, Claude 3.5 Sonnet, and Command R. They wanted to see how each model reacted to the same input. The results were different for each of them. The terminology, the reasoning, the strictness, and the structure are all important. This is where it gets interesting: you need to choose a model, and the playground allows you compare them before you make a choice.&lt;/p&gt;

&lt;p&gt;The model metrics were also interesting: Llama 3.1 had the largest latency (almost 18,000 ms), Command R was the fastest (around 1,591 ms), and Claude 3.5 Sonnet hit a sweet spot (about 4,799 ms) while giving the most structured, reasoned output.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;L2: Prompt Engineering - One Word Changes Everything&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;AI is just as good as the directions you give it.&lt;/p&gt;

&lt;p&gt;The presenters went over a good Prompt Template made in Amazon Bedrock's Prompt Management. It had five main parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Persona / Role -&lt;/strong&gt; tell the model who it is&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Action -&lt;/strong&gt; tell it what to do&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;References -&lt;/strong&gt; give it positive and negative examples to anchor its judgment&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Variables -&lt;/strong&gt; use placeholders like &lt;code&gt;{{feedback}}&lt;/code&gt; for dynamic input&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Output Format -&lt;/strong&gt; ask for structured JSON so your application can actually parse the result&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The prompt told the model to sort peer input into three groups: Reliability, Productivity, and Positive Energy. Then, it had to rank each group from 1 to 5. If there isn't enough background for a category, give it a -1.&lt;/p&gt;

&lt;p&gt;After that, the most memorable demo of the whole session happened. They gave the identical report twice: "Person X has been productive and done the tasks as expected." What's the difference? One instruction suggested, "Be easy on the ratings." The other remarked, "Be strict with the ratings."&lt;/p&gt;

&lt;p&gt;The outcomes were markedly distinct. One word. That's all it needed to change the AI's score. It's a strong reminder that you have to be careful when writing your prompt because it's the most important part of how your AI feature will work. Like you test your code, you should also test your prompts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Architecture: Lambda, RDS, and Bedrock Working Together&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The basic structure of LamRAG is clean, serverless, and easy to understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The &lt;strong&gt;User&lt;/strong&gt; sends a request&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Lambda&lt;/strong&gt; receives it, validates the data, and calls both RDS and Bedrock&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon RDS&lt;/strong&gt; acts as the data store, holding all sprint feedback&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon Bedrock&lt;/strong&gt; takes that data, creates a query, and generates a human-readable summary&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Lambda takes care of the orchestration. Bedrock is the smart part. RDS has the truth. Easy to use, works well, and is fully managed - no servers to worry about.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;L3: Vector Databases and RAG&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;"RAG" means "&lt;strong&gt;Retrieval-Augmented Generation.&lt;/strong&gt;" In simple terms, you give an AI model access to your personal data instead of only what it already knows from training. This way, its replies are based on your specific situation instead of general internet knowledge.&lt;/p&gt;

&lt;p&gt;The lecturers utilised a smart example about fruits to describe how vector databases work. Think about how you would describe an apple not just by its name, but also by its colour (1.0), sweetness (7), sourness (4), crunchiness (8), and shelf life (0.5). That list of numbers is a vector. The vector for an Orange is &lt;code&gt;[0.8, 6, 8, 2, 1.0]&lt;/code&gt;. A vector database keeps these embeddings and uses arithmetic to locate items that are comparable to them, not keyword matching.&lt;/p&gt;

&lt;p&gt;When you ask for "list some red-colored fruits," the database looks for vectors that are closest to the numbers that represent "red" and "fruit." That's semantic search — and it's far more powerful than a simple text search.&lt;/p&gt;

&lt;p&gt;Feedbackly integrated feedback data stored in &lt;strong&gt;Amazon S3&lt;/strong&gt; to a &lt;strong&gt;Bedrock Knowledge Base&lt;/strong&gt;. This let users to choose how to separate and index documents for quick retrieval by using configurable chunking schemes such as default, fixed-size, hierarchical, semantic, or no chunking.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;L4: Agents - Smart, Conversational, and Privacy-Aware&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Three months after the first Feedbackly launch, two new problems came up: Admins vs. Users access control and a problem with how feedback was being shown. Not everyone should be allowed to see what other people have said.&lt;/p&gt;

&lt;p&gt;The solution? &lt;strong&gt;Bedrock Agents&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;An agent is like a smart helper that can think, plan, and do things. The speakers built an agent called &lt;code&gt;sls-days-2024-lamrag&lt;/code&gt; based on Claude 3 Haiku. The agent has the following settings:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Action Groups -&lt;/strong&gt; A Lambda function that takes two arguments: the type of inquiry (self or others) and the email address of the person who asked for it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Knowledge Base -&lt;/strong&gt; linked to the Feedbackly S3 data, with the order to get data depending on the user's email address&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Privacy Logic -&lt;/strong&gt; The Lambda checks to see if you're asking about yourself or someone else and blocks access right away if it's not allowed.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The live demo was really cool. When an unauthorised email sought to get someone else's comments, the agent said, "You are not authorised to access that information." But when a user asked for their own comments, they got a long, conversational summary: "Sandeep is a very productive, dependable, and positive team member who always gets great results."&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgmoyyk1ynqkeo0z8apky.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgmoyyk1ynqkeo0z8apky.jpeg" alt=" " width="800" height="443"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's not only smart AI; it's also responsible AI. Privacy built into the design.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;L5: Keeping the Knowledge Base in Sync&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;A knowledge base is only useful if it is up to date. If new feedback is sent in but the knowledge base isn't updated, the agent keeps answering questions with old information, like a librarian using last year's catalogue.&lt;/p&gt;

&lt;p&gt;The presenters talked about this directly with L5, which kept the Bedrock Knowledge Base up to date. The knowledge base needs to re-sync every time fresh feedback is processed and uploaded to the S3 bucket (&lt;strong&gt;sls-days-2024-lamrag&lt;/strong&gt;) so that the agent always has the most up-to-date information. It's a phase that is easy to forget, but it is very important for production systems.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Final Results: The AI Chat Assistant in Action&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The end result was a fully functional conversational AI Chat Assistant that was built right into Feedbackly. A member of the team could type a question in plain English and get structured, data-backed answers.&lt;/p&gt;

&lt;p&gt;For instance, asking, "What are the average ratings for this worker?" came back:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Positive Energy:&lt;/strong&gt; 3.9/5 - Very Good&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Productivity:&lt;/strong&gt; 2.5/5 - Below Average&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Reliability:&lt;/strong&gt; 2.7/5 - Below Average&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Overall:&lt;/strong&gt; 3.1/5 - Average&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Along with specific strengths (such being good at code reviews, managing time, and mentoring) and areas where they need to improve. No more empty "10/10 across the board" ratings. Instead, there will be real, detailed, AI-backed analysis based on real peer input over time.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Bonus: From Idea to App with Claude Code&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The last part of the session was a bonus that honestly blew everyone away. The speakers showed how they used &lt;strong&gt;Claude Code&lt;/strong&gt;, Anthropic's agentic coding tool, to construct the full-stack feedback analyser.&lt;/p&gt;

&lt;p&gt;The workflow was deceptively simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Create a &lt;code&gt;TASKS.md&lt;/code&gt; file —&lt;/strong&gt; describe the application in plain English (tech stack, features, database setup, everything)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Tell Claude Code to refer the file and build the app&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Deploy the app&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The &lt;code&gt;TASKS.md&lt;/code&gt; file listed all the parts of the stack: For the frontend, we use React, Vite, and Tailwind CSS. For the backend, we use AWS Lambda (Node.js 22). For AI, we use Claude 3.5 Sonnet via Bedrock. For the database, we use PostgreSQL on RDS. For the infrastructure, we use AWS SAM. Claude Code asked a few questions to make sure he understood, and then he made a full implementation plan. This plan included AI functions, security functions, and even privacy functions that replace colleague names with [&lt;code&gt;Colleague&lt;/code&gt;] in queries that include more than one user.&lt;/p&gt;

&lt;p&gt;This led to the slide that made everyone think the most: "&lt;code&gt;Does this mean we don't need to learn coding anymore?&lt;/code&gt;"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo57yniyzl43q68kfjw7h.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo57yniyzl43q68kfjw7h.jpeg" alt=" " width="800" height="507"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Honestly, no, it doesn't. The skill itself is changing. It's more important than ever to know about design, what good code looks like, and how to look at AI-generated output with a critical eye. The startups that the speakers talked about - Cursor, Midjourney, Lovable, and Eleven Labs - were all started by small groups of people that employed AI to help them work faster, not to replace them.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;This was one of the most useful AI sessions I've ever been to. This is what I'm taking with me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Prompt engineering is a real, learnable skill.&lt;/strong&gt; The word "lenient" vs. "strict" makes all the difference. Check your prompts the same way you check your code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;RAG makes AI relevant to your world.&lt;/strong&gt; Foundation models are not specific. RAG makes them fit your data, your people, and your situation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Agents add intelligence and access control together.&lt;/strong&gt; Bedrock Agents can think about who is enquiring before they decide what to respond.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Serverless + Bedrock is a genuinely practical stack.&lt;/strong&gt; You can send AI features that are ready for production without having to manage a single server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AI amplifies builders, it doesn't replace them.&lt;/strong&gt; The actual expertise of this time is knowing what to develop and how to direct the AI.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Amazon Bedrock Chat Playground is the best place to start if you want to attempt any of this yourself. You don't need any code; simply open your browser and start playing around.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;The LamRAG session at AWS Student Community Day Tirupati reminded me that the finest tech speeches don't only teach you ideas; they also show you a real problem, a real solution, and a genuine way to move forward. In short, here's the broad picture:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Generative AI on AWS is approachable -&lt;/strong&gt; The Bedrock Playground enables anyone start experimenting without having to write any code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The journey from a simple prompt to a full RAG-powered agent is incremental -&lt;/strong&gt; You don't have to develop it entirely at once. Start with a small part and add more intelligence as you go.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Privacy and access control aren't an afterthought -&lt;/strong&gt; Bedrock Agents let you change how the AI reacts right away.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AI-assisted development tools like Claude Code are changing the speed of building -&lt;/strong&gt;  faster than ever from idea to app in use&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The best time to start learning Amazon Bedrock is right now -&lt;/strong&gt; The tools are well-developed, the documentation is good, and the community is developing quickly.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;As an &lt;strong&gt;AWS Community Builder&lt;/strong&gt;, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on &lt;a href="https://www.linkedin.com/in/chandra-prakash-reddy/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS Student Community Day Tirupati&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; LamRAG: AI-Powered Feedback Analysis Using Amazon Bedrock&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; November 01, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/3BcgEUHhBk5L79FFeEGV53kWCUp/lamrag-ai-powered-feedback-analysis-using-amazon-bedrock" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/lamrag-ai-powered-feedback-analysis-using-amazon-bedrock" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>awsbedrock</category>
      <category>ai</category>
      <category>programming</category>
    </item>
    <item>
      <title>Building a Private GPT with AWS Bedrock: A Deep Dive</title>
      <dc:creator>N Chandra Prakash Reddy</dc:creator>
      <pubDate>Tue, 03 Feb 2026 14:18:57 +0000</pubDate>
      <link>https://dev.to/aws-builders/building-a-private-gpt-with-aws-bedrock-a-deep-dive-5bbl</link>
      <guid>https://dev.to/aws-builders/building-a-private-gpt-with-aws-bedrock-a-deep-dive-5bbl</guid>
      <description>&lt;h1&gt;
  
  
  &lt;strong&gt;How It All Started&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;On November 1, 2025, I attended the AWS Student Community Day in Tirupati, and honestly, one session significantly changed my perspective on developing AI applications. Amin Ali, a Software Engineer at Target Australia and an AWS-certified Solutions Architect, delivered a presentation titled "Generative AI in Action." The session concentrated on how to build your own private GPT using AWS Bedrock.&lt;/p&gt;

&lt;p&gt;The reality is that we've all interacted with ChatGPT, haven't we? Have you ever considered how you might develop something similar that operates with your organization's internal files, retains all the information in your own cloud, and avoids transmitting any data to external APIs? This session focused on that topic, and I'm thrilled to share my insights.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Why Build Your Own Private GPT?&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;You might wonder why you can't just use tools like ChatGPT or Claude directly. That's a good question, and I can explain with an example.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Control: Your Information, Your Rules&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine you run a hospital and need an AI to help doctors find patient information fast. Would you want to give private medical data to a public AI service? Probably not. By creating your own private GPT, you control your data within your AWS system, so you don't need outside services. Your private information stays safe in your Virtual Private Cloud. You'll also have full records of everything that happens, which helps follow strict rules, and no data is ever shared with anyone else.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customization: Make It Yours&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Public AI models usually learn from information found online. But what if you need answers that are only about your company? A private GPT can give answers based on your own files and knowledge, allowing it to sound like your company. It's like a customer helper who knows everything about your products. It can also connect easily with your company's internal systems, such as employee records, product lists, or instruction guides.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Understanding Generative AI&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;First, let's be sure we all know what generative AI is. Amin explained it well with a three-step process.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input Processing:&lt;/strong&gt; You tell the AI what to do, like giving it words, pictures, or code. Big AI programs like GPT, Claude, or Llama, which have learned from tons of information, handle these instructions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Foundation Models:&lt;/strong&gt; Regular machine learning finds patterns in data to guess things, like if an email is spam. But large language models create brand new things from nothing. That's why they are called "generative."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Creative Output:&lt;/strong&gt; The AI makes new words, pictures, code, and other things that didn't exist before. It's like having a helpful assistant that can create, write code, and solve problems.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Why Generative AI Is Exploding Right Now&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Now is a good time to learn about this new technology. Generative AI is popular for these reasons:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The AI Revolution:&lt;/strong&gt; Many advanced AI models like ChatGPT, Claude, Mistral, and Llama 3 are becoming more common, and they are significantly altering how we work and create.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enterprise Adoption:&lt;/strong&gt; AWS is assisting companies in building reliable and secure generative AI systems that can manage a lot of users. Businesses don't have to build everything from scratch anymore.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Industry Impact:&lt;/strong&gt; Smart automation is transforming industries like healthcare, shopping, schools, and banking. Think about doctors available 24/7 or educational tools that adjust to each student's needs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Global Scale:&lt;/strong&gt; All kinds of companies, from small new businesses to large established ones, are using generative AI a lot, and this trend is growing quickly.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Real-World Use Cases&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Let's discuss practical applications. This isn't just theory these are real scenarios where private GPTs genuinely make a difference.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customer Support:&lt;/strong&gt; AI chatbots provide 24/7 personalized assistance that is as effective as a human helper. Imagine a customer checking your return policy late at night and getting a fast, accurate response that aligns with your actual rules.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Report Generation:&lt;/strong&gt; Automatically generating business reports, summaries, and documents. Rather than spending a lot of time compiling quarterly reports, the AI collects the data and creates well-organized documents on its own.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Document Q&amp;amp;A:&lt;/strong&gt; An internal knowledge base that enables quick answers based on company documents. Picture a new employee asking, "What is our vacation policy?" and the AI quickly finding the answer in the employee handbook.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Developer Assistants:&lt;/strong&gt; Generating code, fixing errors, and writing explanations to speed up the development process. Programmers can ask, "How do I connect to our database?" and receive code examples that work with your system.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Live Demo: MBU Virtual Assistant&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft0cgz9iu6cf6cz1xl49y.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft0cgz9iu6cf6cz1xl49y.jpeg" alt=" " width="800" height="498"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is where things became truly intriguing. Amin demonstrated an AI assistant he developed for Mohan Babu University.&lt;/p&gt;

&lt;p&gt;The interface was smooth simple chat design built with React that appeared both professional and user-friendly. When a question such as "What programs does MBU offer?" was asked, the system would process the query through the chat, scan the uploaded university documents using vector similarity, generate a contextually appropriate response with AWS Bedrock, and deliver the answer in real time.&lt;/p&gt;

&lt;p&gt;The demo showcased the chat interface with live-streaming responses and Bedrock integration performing real-time searches on the knowledge base using vector search examples. Powered by Amazon Bedrock, the responses flowed smoothly, creating the impression of conversing with an intelligent assistant.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;How the Architecture Works&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc7zfjdkvpfx9i9h371i3.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc7zfjdkvpfx9i9h371i3.jpeg" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let me guide you through the system's structure. Don't worry I'll keep it simple and easy to understand.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The User Journey&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Here's the journey of a user's query through the system:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;User Interaction:&lt;/strong&gt; You enter a question using the React-based web interface.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;API Gateway:&lt;/strong&gt; Your request reaches AWS API Gateway, which serves as the main entry point (REST endpoint).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Lambda Function:&lt;/strong&gt; API Gateway forwards the request to an AWS Lambda function imagine this as the central component that manages all operations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Bedrock Integration:&lt;/strong&gt; Lambda calls AWS Bedrock's Knowledge Base to perform a vector search and uses the Large Language Model to create the response.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Response Delivery:&lt;/strong&gt; The answer then travels back through the same route and appears on your screen.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Architecture Components&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Amin broke down the architecture into clear layers using a complete serverless setup:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frbmm9r2ljr0a4b934d13.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frbmm9r2ljr0a4b934d13.jpeg" alt=" " width="800" height="347"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This serverless configuration means you don't need to manage any servers. AWS handles scaling and security automatically.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Setting Up the Knowledge Base&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;This is where the real action takes place. How can you train the AI on your particular documents?&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Data Preparation Pipeline&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The process follows three key steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Upload PDFs:&lt;/strong&gt; Your documents (manuals, policies, guides) are uploaded to an S3 source bucket.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Extract &amp;amp; Chunk:&lt;/strong&gt; The system pulls out the text and divides it into smart segments for the best vector embeddings.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Generate Embeddings:&lt;/strong&gt; AWS Bedrock generates vector embeddings that are saved in an S3 vector bucket for similarity searches.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Vector Integration&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Does this ring a bell? Imagine vector embeddings as a library catalog. Instead of just matching exact words, vectors understand the meaning behind them.&lt;/p&gt;

&lt;p&gt;The Bedrock Knowledge Base connects to an S3 vector bucket with 2024-dimensional embeddings. When you ask a question, the system finds relevant sections of documents using cosine similarity, searches for matching info in real time, and provides answers based on the most important details.&lt;/p&gt;

&lt;p&gt;The setup involves connecting to an S3 vector bucket, automatically updating indexes, and using Bedrock directly – all these components work together seamlessly.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Query Handling Flow&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Let's trace a question through the whole system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1 - User Query:&lt;/strong&gt; You type a question into the React chat interface, just like you would in any messaging app.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2 - Vector Search:&lt;/strong&gt; Lambda checks the Bedrock Knowledge Base for relevant document sections. The system finds the 3-5 most relevant pieces of information from your document collection.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3 - Context Response:&lt;/strong&gt; The Large Language Model creates a response based on the retrieved context and sends it back to the user interface. The answer is based on your actual documents, not general internet information.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Best Practices and Optimization&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;Building the system is one thing, but making it run well is different. Amin shared important tips for improvement.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Prompt Engineering&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Writing good prompts helps get better and more useful answers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Use clear, specific instructions. Instead of saying "tell me about products," say "list the top 3 features of Product X based on our product documentation."&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add context and examples to your prompts.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Improve your prompts based on the responses you get, prompt engineering is a process that requires adjustments.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Performance Optimization&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Speed and cost are important in production&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Allow real-time responses so users can see answers as they come in, which improves the user experience.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use tokens wisely, keep prompts short since tokens cost money.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Set up caching for frequently asked questions.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Key Takeaways&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;After witnessing this in action, three key points caught my attention:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AWS Bedrock: Secure and Flexible:&lt;/strong&gt; AWS Bedrock provides a secure and flexible foundation for developing private AI solutions. You receive strong security features without needing to build everything yourself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Production Ready:&lt;/strong&gt; Generative AI is now ready for business use and has demonstrated real results that justify the investment. This is no longer just experimentation – companies are implementing these systems in their daily operations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Easy Implementation:&lt;/strong&gt; Building a private GPT is simpler than ever with managed services. You don't need to be a machine learning expert to get started.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;After leaving that session, I realized that AI isn't just about using ChatGPT. It's about building smart systems tailored to your specific needs while keeping your information secure.&lt;/p&gt;

&lt;p&gt;The AWS Student Community Day in Tirupati had many great sessions, but this one impressed me because it demonstrated how to turn an idea into a working demo. Whether you're making a company assistant, a customer support bot, or a documentation helper, the architecture Amin presented provides a solid foundation.&lt;/p&gt;

&lt;p&gt;In summary, if you're thinking about adding AI features to your apps, AWS Bedrock makes it simpler than you might expect. With managed services, strong security, and flexibility, you can focus on solving your specific problem instead of building the entire AI setup yourself.&lt;/p&gt;

&lt;p&gt;I hope this explanation helps you understand how private GPTs work and inspires you to create your own. The future of AI will be private, secure, and tailored to your personal needs.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;About the Author&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;_As an AWS Community Builder, I enjoy sharing the things I've learned through my own experiences and events, and I like to help others on their path. If you found this helpful or have any questions, don't hesitate to get in touch! 🚀&lt;/p&gt;

&lt;p&gt;🔗 Connect with me on LinkedIn_&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;References&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Event:&lt;/strong&gt; AWS Student Community Day Tirupati&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topic:&lt;/strong&gt; How AWS Lambda and Fargate Change the Way We Build Apps&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; November 01, 2025&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;Also Published On&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://builder.aws.com/content/39A7k5qnyFlyQnPXpM7SRBDN57L/building-a-private-gpt-with-aws-bedrock-a-deep-dive" rel="noopener noreferrer"&gt;AWS Builder Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devopstour.hashnode.dev/building-a-private-gpt-with-aws-bedrock-a-deep-dive" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>ai</category>
      <category>productivity</category>
      <category>awsbedrock</category>
    </item>
  </channel>
</rss>
