Monday, 24 August 2026

The Upgrade Treadmill Is Costing You More Than You Think — Here's How to Get Off It

If you run engineering at a mid-to-large enterprise, you already know this cycle: a dependency hits end-of-life, a framework gets deprecated, a CVE lands in something nobody's touched in three years — and suddenly a sprint's worth of roadmap gets quietly swapped out for patching. It happens often enough that most teams just build it into their planning as a tax. Rarely does anyone stop to ask why it keeps happening, or what it's actually costing.

It's costing more than most teams track. Engineering hours pulled into fire drills instead of features. Security exposure that sits invisible until an audit or an incident forces the issue. And, in a lot of organizations, three separate initiatives — cloud migration, legacy/mainframe modernization, and everyday dependency upgrades — running as three separate projects with three separate owners, none of whom can see the whole picture at once.

The pattern has a name in the industry now: treating modernization as a project with a start and end date, instead of a discipline your organization runs continuously. That distinction is the difference between paying down tech debt once and then watching it quietly rebuild, versus keeping it under control as a matter of course.

Why the "one-time migration" model keeps failing

The traditional approach to modernization looks something like this: something breaks or goes end-of-life, an audit gets triggered, a team scrambles to prioritize and patch, and everyone moves on until the next thing breaks. It's reactive by design, and reactive processes have a predictable failure mode — they only catch problems after those problems have already started costing you.

Three symptoms show up almost everywhere we see this pattern:

Stalled velocity. Engineering capacity that should go toward the roadmap gets absorbed by maintenance that has to happen but doesn't move the business forward.

Hidden risk. Outdated dependencies and unsupported runtimes don't announce themselves. They sit quietly until an audit, an outage, or a security incident brings them to the surface — usually at the worst possible time.

Fragmented ownership. When migration, mainframe modernization, and code-level upgrades live in separate tools with separate teams, nobody has a single view of the portfolio. Prioritization becomes a matter of whoever's fire is loudest that quarter, not what actually carries the most risk.

None of this is a tooling problem at its root. It's a process problem — and it's the reason AWS built its Transform service around a different model entirely.

What "continuous modernization" actually looks like in practice

AWS Transform is AWS's agentic platform for large-scale migration and modernization — a set of AI agents that analyze a portfolio, plan the work, extract business logic from legacy systems, generate updated code, and validate the result, with a person reviewing and approving at each stage rather than agents making unsupervised changes in production.

The part worth paying attention to isn't any single feature. It's that the platform treats four things as one connected lifecycle instead of four separate initiatives:

StageWhat it replacesWhat it looks like now
AssessManual audits, one application at a timePortfolio-wide analysis that maps business functions, dependencies, and risk across the whole estate
MigrateSequential handoffs between infrastructure, storage, and network teamsCompute, storage, network, and containerization work running in parallel
ModernizeManual documentation, then hand-remapped into new code specsBusiness rules extracted with traceability, flowing directly into development-ready requirements
SustainReactive campaigns triggered by an incident or auditOngoing scanning that surfaces and prioritizes tech debt before it becomes a fire drill

That last row is the newest piece, and arguably the one that matters most: rather than running modernization as an occasional campaign, the platform can scan repositories on an ongoing basis, flag things like end-of-life dependencies, prioritize them by severity, and propose (or, for lower-risk changes, apply) remediation automatically. AWS reports that across its customer base, this approach has processed over 7 billion lines of code and saved an estimated 2 million engineering hours to date — numbers that reflect the aggregate scale of adoption, not any single deployment.

What this actually changes for your team

One picture, not three. When assessment, migration, and tech debt tracking live in one place, your platform leads, application teams, and individual engineers are looking at the same map of the portfolio — not reconciling three different spreadsheets to figure out what's actually at risk.

Decisions backed by evidence, not memory. Every flagged dependency and every extracted business rule comes with traceability back to its source — the exact file, the exact pattern. That means prioritization calls get made on evidence instead of "the person who knew that system best left two years ago."

Debt becomes visible before it becomes urgent. Instead of discovering an end-of-life dependency during an incident, your team can see it flagged the moment a codebase is onboarded — turning a reactive scramble into a routine part of how you operate.

People stay in the loop. Agents propose changes and generate code; they don't push unreviewed changes into production. You choose which categories of change — a patch bump versus a framework migration, say — are safe to automate and which still get a human review before merge.

Where to stay cautious

This isn't a "flip a switch and tech debt disappears" story, and it's worth being upfront about that. Continuous modernization is still a newer capability, and coverage across less common languages and frameworks will keep maturing. Auto-remediation is a real efficiency gain, but it's also the setting that most needs guardrails — you'll want a clear internal policy on which changes are safe to hand off versus which deserve a diff review first. And for the genuinely custom, one-of-a-kind transformations unique to your codebase's history, this narrows the work involved rather than eliminating it. It's a serious accelerant, not a replacement for engineering judgment.

Where to start

If your organization is still treating modernization as a project with an end date, the shift worth making isn't necessarily "adopt this specific tool" — it's building the underlying discipline: a continuous view of your portfolio's risk, a standing process for prioritizing what gets fixed first, and a clear policy on what gets automated versus reviewed.

That's the part most teams underestimate the effort of setting up well — and it's exactly where we spend our time with clients. If you want a clear-eyed read on where your own portfolio stands — what's quietly aging out, what's actually urgent, and what a realistic modernization roadmap looks like for your environment — cloud.in runs a modernization assessment that gives you that picture without committing you to a full engagement upfront.


The blog is written by Sandesh Thitte (Technical Support Executive @ Cloud.in)

Monday, 17 August 2026

From Annual Audits to Always-On Defense: Bringing AWS Security Agent Into Your SOC as a Continuous AppSec Layer

 

It's the week before a product launch. The pentest report the team commissioned three months ago just came back — and half the findings no longer apply, because the code has already moved on. The other half are real, but there's no time left to fix them before release, so they get logged as "accepted risk" and quietly carried forward.

This is the normal state of application security at most organizations, and it isn't really a testing problem. It's a timing problem: security review runs on a quarterly or annual clock, while release cycles run on a weekly or daily one. The gap between those two clocks is where risk quietly accumulates.

The Core Problem: Security Review Can't Keep Pace With Shipping
Most AppSec programs lean on two testing approaches, and each has a structural blind spot:
  • SAST (Static Application Security Testing) reads code but has no idea how the application actually behaves at runtime.
  • DAST (Dynamic Application Security Testing) watches a running app but has no idea why it was built that way, so it misses business-logic flaws entirely.
Layered on top of that is the resourcing reality: human-led penetration testing is scheduled, expensive, and limited to a handful of "critical" applications because there simply aren't enough pentesters to cover the full portfolio. By the time a report lands, the application it describes may already be several deployments ahead of it.

For a SOC or AppSec team, that shows up as a very specific, very familiar pain: you are always validating security for a version of the application that no longer exists.

What is an AWS Security Agent?
AWS Security Agent is a frontier agent that proactively secures applications throughout the development lifecycle by combining organization-tailored design and code security reviews with on-demand, AI-driven penetration testing. Instead of waiting for a scheduled audit, teams get continuous validation that keeps pace with how fast they actually ship.

It closes the SAST/DAST gap directly: it reads source code, design documents, and application context the way a human pentester would, then uses that understanding to craft multi-step attack scenarios — not just flag a pattern match and move on.

AWS Security Agent's three capability areas feed into one continuous validation model.

Why Periodic Pentesting Isn't Enough Anymore Development velocity has outpaced traditional security review cycles. A few numbers make the mismatch obvious:

Traditional Pentesting
AWS Security Agent
Scheduled, typically annual or quarterly
Available on-demand, any time
Limited to a handful of critical apps due to cost/resourcing
Scales across your entire application portfolio
Takes weeks to schedule, execute, and report
Executes attack chains and reports findings in hours
Findings often stale by the time they're fixed
Findings tied to the current state of the app
Heavy reliance on human tester availability
AI agents run continuously without added headcount

How AWS Security Agent Works AWS Security Agent operates across three connected capability areas, rather than treating design review, code review, and pentesting as separate disconnected tools.
1. Design Security Review Security teams define their organization's requirements once — approved authentication libraries, logging standards, data access policies — directly in the AWS console. When a design document is uploaded, the agent checks it against those standards before a single line of code is written, flagging violations and prioritizing findings. This is "shift-left" done properly: it catches architectural security debt while it's still a diagram, not a deployed service.
2. Code Security Review The agent integrates natively with GitHub and GitHub Enterprise, analyzing pull requests against the same organizational requirements plus common vulnerability patterns. Developers get remediation guidance inside the workflow they already use, while AppSec teams configure which repositories get monitored and step in only when something critical needs their attention.
3. On-Demand Penetration Testing This is the capability that changes the economics of pentesting. Security teams provide a target URL, authentication details, source code, and documentation. The agent builds a deep model of the application — its data flows, its trust boundaries, its business logic — then executes tailored, multi-step attack scenarios against the OWASP Top 10 and beyond, including business-logic flaws that pattern-based scanners typically miss entirely.
Every finding is validated through exploitation, not just flagged as a possibility. That distinction matters: instead of a 40-page report full of "potential" issues your team has to manually triage, you get reproducible exploit paths, impact analysis, and ready-to-implement fixes in plain developer language.

Why This Matters for SOC Operations Specifically
A wider, always-on attack surface — SOC teams don't just monitor one flagship application; they carry visibility and response responsibility across an entire portfolio. On-demand, portfolio-wide testing gives SOC analysts a current, evidence-backed picture of application risk instead of a once-a-year snapshot for a handful of apps.

Fewer false alarms feeding the queue — because every finding is validated through actual exploitation rather than pattern-matching, SOC teams triaging incoming security findings spend less time chasing theoretical issues and more time acting on confirmed, exploitable risk.

Faster, evidence-backed escalation — when a finding needs to move from AppSec to incident response, the handoff includes a reproducible exploit path and impact analysis instead of a vague "possible vulnerability" ticket — the same kind of evidence-first handoff that makes escalations between L1/L2 and L3 teams effective.

Compliance evidence on demand — exportable executive summaries, CVSS scores, and compliance-pack mapping (AWS WAF, NIST CSF, PCI DSS) mean SOC and compliance teams can produce current audit evidence without waiting on the next scheduled pentest cycle.

Key Capabilities at a Glance
  • Intelligent application context: learns from source code and docs to find vulnerabilities generic scanners can't.
  • STRIDE threat modeling: generates threat models from design docs or codebases, mapping components and trust boundaries before code is written.
  • Simulated validation: deploys the application in a sandbox to confirm whether a discovered vulnerability is actually exploitable.
  • CI/CD integration: trigger tests via API directly from your pipeline, so security checks run at the same velocity as deployment.
  • Cross-account VPC support: test across multi-account AWS architectures without re-architecting your network.
  • Compliance mapping: start from managed compliance packs (AWS WAF, NIST CSF, PCI DSS) or import your own requirements; findings map back to your compliance posture automatically.
  • Exportable reports: executive summaries, CVSS scores, and remediation guidance, ready for auditors or compliance officers.
  • Customer Managed Keys (CMK): keep encryption keys under your control for regulated workloads.
The Takeaway
The problem AWS Security Agent solves isn't "not enough pentesting" — it's the structural mismatch between how fast applications change and how slowly traditional security review can move. By folding design review, code review, and validated, exploitation-based pentesting into one continuous loop, it lets SOC and AppSec teams operate from current evidence instead of a stale snapshot — turning application security from a periodic checkpoint into an always-on layer of the SOC's operating model.

The blog is written by Atul Jambhale , Lead Security Operations, Cloud.in

Wednesday, 29 July 2026

Unlocking Enterprise Knowledge: Building Scalable RAG Solutions on AWS

Is your enterprise AI assistant delivering generic or outdated answers? You are not alone. While Large Language Models (LLMs) are powerful, they are trained on public data and lack access to your internal, proprietary knowledge.

The solution isn't training a new model, it is an architectural shift known as Retrieval-Augmented Generation (RAG).

What is RAG (Retrieval-Augmented Generation)?
Definition: Retrieval-Augmented Generation (RAG) is an AI framework that connects Large Language Models to internal company databases. Before generating an answer, the model retrieves relevant documents from your knowledge base, ensuring accurate, real-time, and domain-specific responses.

RAG bridges the gap between general AI and enterprise data without the high cost of retraining models.


RAG vs. Fine-Tuning: Which Is Better for Enterprise AI?
When deciding between RAG and fine-tuning for enterprise applications, understanding their differences is critical:

Feature

Retrieval-Augmented Generation (RAG)

Model Fine-Tuning
Primary Purpose
Fetching real-time, dynamic company data
Adapting tone, style, or niche skills
Data Updates
Instant (update the vector database)
Slow & costly (requires full retraining)
Auditability

High (cites specific source documents)

Low (knowledge is embedded in weights)
Best Used For
Policy documents, research, live knowledge
Specialized tasks or brand voice control

For living, constantly changing enterprise knowledge, RAG is the superior choice.

How to Build a RAG Pipeline on AWS
A production-grade RAG architecture relies on an automated ingestion pipeline that turns raw documents into searchable data.


Here is how the pipeline operates on AWS:
  1. Storage (Amazon S3): Documents (PDFs, docs, datasets) land in S3 storage.
  2. Processing (AWS Lambda): Automated code triggers upon document upload.
  3. Embedding (Amazon Bedrock Titan): Converts raw text into vector embeddings that represent semantic meaning.
  4. Indexing (Amazon OpenSearch Service): Stores vectors in a database ready for rapid semantic search.
Key Benefits of Enterprise RAG Architecture
  • Eliminates Hallucinations: Generates responses strictly from approved company documents.
  • Granular Security: Retains enterprise access controls at the document level.
  • Instant Scalability: Update your document library without model downtime.
Frequently Asked Questions (FAQ)

Why choose RAG over fine-tuning for enterprise AI?
RAG allows enterprises to update knowledge instantly by modifying the underlying database. Fine-tuning requires expensive and slow model retraining every time information changes.


Is RAG on AWS secure for sensitive enterprise data?
Yes. AWS RAG architectures leverage native security tools like AWS IAM, VPCs, and encryption to ensure data never leaks into public foundation models.

Getting Started with RAG on AWS
Before building your RAG pipeline, evaluate four critical elements:
  1. Knowledge Storage: Where your source documents live today.
  2. User Interface: Whether queries will be text, voice, or API-based.
  3. Governance: Your data privacy and access control rules.
  4. Scale: Expected query volume and peak usage times.
Need help building a secure, scalable RAG architecture on AWS? 

Contact our GenAI experts at Cloud.in today.

The blog is written by Rutuja Chaudhari (Junior Cloud Consultant @ Cloud.in)

Tuesday, 28 July 2026

Automating L1/L2 Triage: Moving Beyond Dashboards with AWS DevOps Agent


Every on-call engineer knows the feeling. It's 2:00 AM, your monitoring system fires a critical alert, the auto-remediation script runs, fails, and exits. Now the clock is ticking, and the manual triage ritual begins.

You open CloudWatch to find the anomaly, pivot to AWS X-Ray to trace the failing requests, then sift through application logs for the exact stack trace. By the time you piece together what actually went wrong, the better part of an hour has slipped away.

This isn't troubleshooting, it's a high-stress treasure hunt. What if your team could skip the hunt and jump straight to the fix? With the AWS DevOps Agent, the model shifts from investigate and resolve to verify and resolve.

The Core Problem: The Correlation Tax

In modern cloud architectures, failures are rarely isolated. A latency spike in an API Gateway might trace back to a choked database connection pool, itself triggered by a deployment 15 minutes earlier.

Solving this manually means acting like a detective hopping between tools, matching timestamps, and translating different query languages. Call it the correlation tax: the cognitive overhead every engineer pays before they can even start fixing anything.

That tax shows up as:

  • Time lost: Often 45–60 minutes per incident before resolution even begins.
  • Error-prone hypotheses: Under pressure, engineers chase the first symptom they see, not necessarily the actual root cause.
  • Fatigue: Repeated over enough on-call rotations, this process becomes a primary driver of engineer burnout.
How AWS DevOps Agent Changes the Workflow

The AWS DevOps Agent is an AI-powered operational teammate that continuously builds a model of your infrastructure's topology, so it isn't starting cold when an incident hits.
Cloud Operations & SRE.


When an alert fires and auto-remediation fails, the agent automatically traces dependencies, correlates metrics against recent deployments, reviews application error logs, and posts a structured root-cause summary directly into Slack, Microsoft Teams, or the AWS Support Console.

Before vs. After

Phase
Manual Triage
With AWS DevOps Agent
Trigger
Engineer is paged and must start investigation entirely from scratch.
Agent auto-launches a parallelized investigation background task.
Context Gathering 
Manually cross-referencing metrics, traces, and logs across separate tabs and systems.
Topology mapping and critical data correlation are handled automatically.
Root Cause 
Hypothesis-driven guesswork based on superficial symptom observation.
An evidence-backed summary enriched with specific supporting log lines and trace IDs.
Where Time Goes
The vast majority of the incident lifecycle is spent searching for the needle.
Most of the incident cycle is spent verifying the data and executing the fix.

Why This Matters for L1/L2 Teams Specifically

Faster starting point

Instead of starting from zero, engineers open a chat message that already lays out what failed, when it started, and the supporting evidence — plus a suggested mitigation path.

A knowledge equalizer
L1/L2 engineers are often generalists who don't know every microservice's quirks. The agent supplies the contextual depth of an L3/SRE engineer, walking junior responders through unfamiliar failure modes in plain language.

Better escalations
When something does need to go to L3 or a product team, the handoff includes a data-backed investigation report instead of a vague "the application is down" ticket.

Human judgment stays in the loop
The agent proposes a root cause and a remediation path — it doesn't execute infrastructure changes unilaterally. Engineers verify the evidence before acting, which is what makes the "verify and resolve" framing more than a slogan: someone still has to sign off.

Shifting Focus: From Firefighting to System Resilience

By offloading the cognitive load of manual triage, engineering organizations gain more than just minutes back on the clock; it fundamentally changes how operational teams operate. Instead of constantly playing defense against recurring operational alerts, L1/L2 engineers can transition into proactive roles. With comprehensive root-cause summaries delivered instantly, engineers can dedicate their time to analyzing systemic failure trends, hardening cloud infrastructure, improving automated playbooks, and collaborating with developers to eliminate software vulnerabilities before they trigger an alert. The long-term ROI isn't just a faster Mean Time to Resolution (MTTR); it's a more resilient application ecosystem and a significantly healthier, more sustainable on-call culture.

The blog is written by Sameer Jangam , Cloud Engineer, Cloud.in

Wednesday, 22 July 2026

Building a Real-Time IoT Telemetry Pipeline on AWS:

 IoT Core → Kinesis → Lambda → ECS Fargate

Ingesting live IoT data without crashing or burning money isn't easy. In this post, we walk through a battle-tested AWS setup using IoT Core for ingestion, Kinesis for ordered streaming, Lambda for fast data checks, and ECS Fargate to power your live dashboards.

The Real Challenge with Scaling IoT Ingestion
If you're dealing with just one smart sensor or connected device, building a pipeline is easy. You hook up an API endpoint, ingest the data, and call it a day.

Where things actually get tricky is when you scale up to thousands of devices sending data at the exact same time.

Some devices drop offline, others blast rapid-fire updates, and suddenly you're facing classic distributed system problems:
  • How do you keep bad actors out? You need a way to authenticate every single device cleanly at scale.
  • How do you keep data in order? Time-series data doesn't make sense if readings arrive out of sequence.
  • How do you keep costs down? You don't want to pay for idle servers when traffic dips at night.
  • How do you keep things decoupled? Your analytics team, alerting systems, and raw storage shouldn't all break when one component fails.
To solve this, we rely on a classic four-stage AWS architecture: Ingest -> Stream -> Process -> Serve. Let’s break down how it all fits together.

What the Architecture Looks Like


How the Services Work Together

1. AWS IoT Core (Inbound Device Traffic)
First up, devices need to talk to the cloud. We use MQTT over TLS because it's super lightweight on bandwidth and battery life.

Each device gets its own X.509 certificate. This is huge for security if a device in the field gets tampered with, you can revoke its specific certificate instantly without taking down the rest of your fleet.

We also make heavy use of Device Shadows. Since field devices drop offline all the time due to bad cellular coverage or power-saving modes, the Device Shadow holds onto the last known state in JSON format. That way, your apps aren't left guessing what happened while a device was disconnected.

Once data hits IoT Core, SQL-based IoT Rules route incoming payloads straight into Kinesis, skipping the need for custom ingestion logic or API gateways.

2. Amazon Kinesis Data Streams (The Streaming Backbone)
You might ask: Why Kinesis instead of SQS or SNS?

Two main reasons: Ordering and Fan-out.
  1. Ordering: Kinesis guarantees that data within a shard stays strictly in sequence. If device #102 sends temperature readings every second, you need to read them in the exact order they were captured.
  2. Fan-out: A single stream can feed multiple downstream services at the same time. You can have one Lambda function checking for emergency alerts while another process dumps raw data into S3 for long-term storage—without duplicating data requests.
3. AWS Lambda (Fast, Event-Driven Processing)
Once Kinesis grabs the data stream, AWS Lambda kicks in. Lambda pulls records off the stream in small batches to run light validations, schema transforms, or quick anomaly checks (like checking if a sensor reading spiked above an alert threshold).

Lambda is a perfect fit here because the workload is stateless and bursty. It scales up instantly as stream volume grows, and you only pay for the exact milliseconds your code runs.

However, Lambda isn't built for long-running connections or sitting idle waiting for incoming requests. That's where Fargate comes in.

4. Amazon ECS on AWS Fargate (Backend Services & Dashboards)
Finally, you need a backend to serve data to your web applications, mobile apps, or live dashboard feeds.

Instead of running long-lived jobs on Lambda, we run containerized apps on ECS with Fargate. Fargate handles persistent tasks—like maintaining continuous WebSocket connections or serving REST APIs—without forcing you to manage EC2 instances or patch operating systems.

Lambda vs. Fargate: Which Should You Use Where?

Feature
AWS Lambda (Processing Layer)
ECS on AWS Fargate (Backend Layer)
Workload Type
Short-lived,event-driven, stateless
Sustained,long-running, connection-heavy
Best Used For
Input validation, record filtering, instant alerts
WebSockets, REST APIs, live dashboard servers
Scaling Logic
Automatic based on incoming stream records
Target tracking auto-scaling (CPU / Memory)
Cost Strategy
Pay per request & execution millisecond
Pay per vCPU & memory assigned per hour

Pro Tips for Getting This Right in Production
  • Design Your Partition Keys Carefully: Always set partition keys on Kinesis using a well-distributed ID like device_id. If you pick a poor partition key, you'll create hot shards—flooding one partition while others stay completely empty.
  • Keep Lambda Functions Single-Purpose: Don't write monster Lambda functions that validate data, call external APIs, write to databases, and send emails all at once. Break them up. Single-purpose Lambdas start faster and are much easier to debug when things go wrong.
  • Rely on Device Shadows Early: Don't treat device connectivity as a given. Build your UI and APIs to read from Device Shadows so your users always see reliable, cached state data even when field devices drop off.
  • Enforce Strict IAM Roles: Make sure your execution roles follow least privilege. Your processing Lambdas should only have read access to specific Kinesis streams and write access to designated output destinations.
Frequently Asked Questions

Why use MQTT instead of standard HTTP for IoT devices?
MQTT is much lighter on network overhead than HTTP. If your devices run on batteries or unreliable cellular networks, MQTT uses significantly less data and power to stay connected.

Why not just use SQS instead of Kinesis?
SQS is great for message queues, but it doesn't guarantee strict record ordering across standard queues, and it isn't designed for multiple consumers reading the exact same payload at the same time (fan-out). Kinesis handles both out of the box.

Can I run the entire backend on Fargate instead of using Lambda?
You can, but it usually ends up costing more. Using Lambda to process event-driven batches from Kinesis keeps compute costs low, leaving Fargate to handle long-running API connections and dashboards.

💡 Cloud.in FinOps Tip: Keep an eye on your Write Provisioned Through put Exceeded metric. If you set up Application Auto Scaling on your Kinesis shards early, you won't end up paying for unused shards capacity during off-peak hours.

Planning an IoT Project on AWS?
Building a scalable IoT pipeline isn't just about stringing services together—it's about balancing stream capacity, security controls, and long-term operating costs.

At Cloud.in, we help teams design, build, and optimize scalable AWS environments tailored to their workloads.

The blog is written by Ashirwad Khairnar, Senior Cloud Engineer, Cloud.in

Monday, 6 July 2026

The Economics of IoT Telemetry: Cost Optimization Strategies for Connected Mobility Platforms

When organizations begin scaling connected vehicle platforms, the focus is usually on features such as real time telemetry, battery monitoring, predictive maintenance, driver analytics, and geofencing. What often gets overlooked is the operational cost of processing telemetry at scale.

Recently, our team worked with a fast-growing EV-focused enterprise planning a large-scale connected mobility rollout. While the architecture met technical requirements, modeling expected telemetry volumes revealed that costs would rise significantly as the fleet grew, making cost optimization essential.

This article shares practical lessons from that engagement, including architectural decisions, trade offs, and optimization techniques that helped create a scalable and commercially sustainable Internet of Things (IoT) platform.


What Makes This Approach Effective?
  • Real world architectural insights derived from an enterprise connected mobility engagement.
  • Practical AWS cost optimization strategies for high volume telemetry workloads.
  • Clear explanation of hot path and cold path data architectures.
  • Design considerations for balancing real time performance with operational costs.
  • Security, compliance, and scalability best practices for production deployments.

Understanding the AWS Architecture Behind the Platform
The proposed AWS architecture was designed to process telemetry data based on its business value rather than treating every message identically. Vehicle telemetry (Battery health, Battery SoC, Tyre Pressure, Accelerometer, Speed Sensor etc) is securely ingested through AWS IoT Core, with AWS IoT Defender providing continuous device monitoring and security validation.
Amazon Kinesis Data Streams serves as the central ingestion layer, enabling telemetry to be distributed to multiple downstream systems without duplicating data pipelines. Real-time operational data, such as battery status, vehicle location, and safety alerts, flows through AWS Lambda into TimeseriesDB, providing low-latency access for dashboards and operational workloads.
For analytics and long-term retention, telemetry is routed through Amazon Kinesis Data Firehose, converted into Parquet format, and stored in Amazon S3. This significantly reduces storage and query costs while supporting reporting, analytics, and machine learning use cases.
Application services run on Amazon ECS Fargate, while Route 53, CloudFront, AWS WAF, and Application Load Balancer provide secure and scalable access to end users. Security across the platform is enforced through IAM, KMS, CloudTrail, GuardDuty, and Secrets Manager, ensuring encryption, auditing, and least-privilege access controls. A hot path architecture was used for safety critical and operational telemetry such as vehicle location, battery status, and alerts. These workloads flowed through Amazon Kinesis Data Streams, AWS Lambda, and TimescaleDB to provide near real time visibility. For historical analytics, diagnostics, and reporting, data was routed through Amazon Kinesis Firehose and stored in Amazon S3 using Parquet format. This significantly reduced analytics costs while improving query efficiency. The result is a scalable, secure, and cost-efficient foundation capable of supporting both current telemetry workloads and future connected mobility services. One of the most important observations from the project was that not all telemetry data deserves the same treatment. Many organizations initially design their systems so that every sensor reading follows the same ingestion, processing, and storage path. While simple to implement, this approach can significantly increase operational costs.

The optimization strategy focused on three key areas: • Topic Consolidation: Reducing unnecessary MQTT topic complexity and rule evaluations. • Payload Right Sizing: Minimizing message size to reduce ingestion, processing, and storage costs. • Tiered Storage Architecture: Separating operational real time workloads from analytical workloads.


Device-Aware Telemetry Optimization

While telemetry optimization was a major focus of this initiative, connected mobility platforms involve far more than vehicle data ingestion. Modern EV ecosystems rely on mobile applications, fleet management dashboards, predictive maintenance systems, customer notifications, OTA updates, analytics platforms, and third-party integrations.

A cost-efficient telemetry architecture provides a strong foundation for these capabilities. By ensuring data is ingested, processed, and stored efficiently, the platform supports ongoing cloud cost optimization while enabling future innovations such as battery performance analytics, AI-driven maintenance recommendations, and fleet optimization without requiring a complete redesign of the underlying data platform.

Key Outcomes

• Reduced unnecessary telemetry processing overhead • Improved long term storage efficiency through Parquet conversion • Optimized database sizing based on actual usage patterns • Enhanced scalability for future fleet growth • Maintained enterprise grade security and compliance controls

Author's Perspective

The most valuable takeaway from this engagement was that successful IoT (Internet of Things) architectures are not defined solely by technology choices. They are shaped by a clear understanding of business requirements, realistic data freshness expectations, disciplined cloud cost optimization, and effective cost governance from day one.

The blog is written by Vedant Sakinal (Junior Cloud Consultant @ Cloud.in)


The Upgrade Treadmill Is Costing You More Than You Think — Here's How to Get Off It

If you run engineering at a mid-to-large enterprise, you already know this cycle: a dependency hits end-of-life, a framework gets deprecated...