<?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: Druhin Dhavala</title>
    <description>The latest articles on DEV Community by Druhin Dhavala (@druhin).</description>
    <link>https://dev.to/druhin</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3768630%2F86b4e017-7fdf-4184-8c23-d53042d9cc28.jpg</url>
      <title>DEV Community: Druhin Dhavala</title>
      <link>https://dev.to/druhin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/druhin"/>
    <language>en</language>
    <item>
      <title>From Kong-on-K8s to AWS Serverless in 24 Hours: Building a Production‑Grade API Platform</title>
      <dc:creator>Druhin Dhavala</dc:creator>
      <pubDate>Thu, 12 Feb 2026 11:25:21 +0000</pubDate>
      <link>https://dev.to/druhin/from-kong-on-k8s-to-aws-serverless-in-24-hours-building-a-production-grade-api-platform-3jpc</link>
      <guid>https://dev.to/druhin/from-kong-on-k8s-to-aws-serverless-in-24-hours-building-a-production-grade-api-platform-3jpc</guid>
      <description>&lt;p&gt;I’ve spent years in the API platform world — Apigee, Kong, hybrid gateways, multi‑DC deployments, modernization programs, and platform rescues. But this week, I decided to do something different:&lt;/p&gt;

&lt;p&gt;Rebuild an entire API platform on AWS — from scratch — in under 24 hours.&lt;/p&gt;

&lt;p&gt;Not a demo.&lt;br&gt;
Not a tutorial.&lt;br&gt;
A production‑grade platform with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;API Gateway v2&lt;/li&gt;
&lt;li&gt;Lambda&lt;/li&gt;
&lt;li&gt;Terraform IaC&lt;/li&gt;
&lt;li&gt;CloudWatch Golden Signals&lt;/li&gt;
&lt;li&gt;k6 performance testing&lt;/li&gt;
&lt;li&gt;real JSON business logic&lt;/li&gt;
&lt;li&gt;alarms, dashboards, and cost controls&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The result:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;2.9k req/min sustained throughput&lt;/li&gt;
&lt;li&gt;120ms p95 latency&lt;/li&gt;
&lt;li&gt;$0.01/day serverless economics&lt;/li&gt;
&lt;li&gt;Zero‑drift Terraform&lt;/li&gt;
&lt;li&gt;Fully observable, fully automated, fully validated&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This wasn’t a “hello world” experiment.&lt;br&gt;
It was a full platform build.&lt;/p&gt;

&lt;p&gt;Why I moved from Kong-on-K8s to AWS Serverless (for this POC)&lt;br&gt;
I’ve built and operated large-scale API platforms on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Kong (K8s, hybrid, multi‑cluster)&lt;/li&gt;
&lt;li&gt;Apigee OPDK&lt;/li&gt;
&lt;li&gt;Apigee Hybrid&lt;/li&gt;
&lt;li&gt;Apigee X&lt;/li&gt;
&lt;li&gt;Gravitee&lt;/li&gt;
&lt;li&gt;Custom gateways&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They’re powerful — but they come with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;cluster management&lt;/li&gt;
&lt;li&gt;upgrades&lt;/li&gt;
&lt;li&gt;patching&lt;/li&gt;
&lt;li&gt;scaling policies&lt;/li&gt;
&lt;li&gt;ingress complexity&lt;/li&gt;
&lt;li&gt;cost overhead&lt;/li&gt;
&lt;li&gt;operational drag&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For this POC, I wanted to see:&lt;/p&gt;

&lt;p&gt;What happens when you remove all of that?&lt;br&gt;
What happens when the gateway is the platform?&lt;/p&gt;

&lt;p&gt;AWS API Gateway + Lambda answered that question fast.&lt;/p&gt;

&lt;p&gt;Architecture Overview&lt;br&gt;
The platform includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;API Gateway v2 (HTTP APIs)&lt;/li&gt;
&lt;li&gt;Lambda (Node.js backend)&lt;/li&gt;
&lt;li&gt;Terraform (IaC, modules, zero drift)&lt;/li&gt;
&lt;li&gt;CloudWatch (metrics, dashboards, alarms)&lt;/li&gt;
&lt;li&gt;k6 (load testing)&lt;/li&gt;
&lt;li&gt;IAM (least privilege)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Endpoints:&lt;/p&gt;

&lt;p&gt;Code&lt;br&gt;
/api/orders&lt;br&gt;
Returns JSON business logic with consistent performance under load.&lt;/p&gt;

&lt;p&gt;Performance Results&lt;br&gt;
Using k6 (50 VUs):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;2.9k requests/min&lt;/li&gt;
&lt;li&gt;120ms p95 latency&lt;/li&gt;
&lt;li&gt;0 errors&lt;/li&gt;
&lt;li&gt;Stable concurrency&lt;/li&gt;
&lt;li&gt;No cold start issues&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is production‑grade performance with almost no operational overhead.&lt;/p&gt;

&lt;p&gt;Cost Profile&lt;br&gt;
This is the part that surprised me most.&lt;/p&gt;

&lt;p&gt;$0.01/day.&lt;br&gt;
Not a typo.&lt;br&gt;
API Gateway + Lambda + CloudWatch + logs + alarms — all in pennies.&lt;/p&gt;

&lt;p&gt;This is the kind of economics that changes how you think about platform design.&lt;/p&gt;

&lt;p&gt;Lessons Learned&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Serverless removes 80% of platform overhead
No clusters.
No ingress.
No autoscaling configs.
No patching.
No node pools.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Just APIs.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Terraform + API Gateway is a clean combination&lt;br&gt;
The IaC story is far simpler than K8s CRDs, Helm charts, or hybrid gateway configs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Observability is built-in&lt;br&gt;
CloudWatch Golden Signals gave me everything I needed:&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;latency&lt;/li&gt;
&lt;li&gt;errors&lt;/li&gt;
&lt;li&gt;duration&lt;/li&gt;
&lt;li&gt;concurrency&lt;/li&gt;
&lt;li&gt;throttles&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Load testing serverless is fun&lt;br&gt;
k6 + API Gateway is a great combo.&lt;br&gt;
You see the platform scale instantly.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cost is a superpower&lt;br&gt;
When your platform costs pennies, you design differently.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What’s Next&lt;br&gt;
This is just the beginning.&lt;/p&gt;

&lt;p&gt;Next steps include extending this blueprint into:&lt;/p&gt;

&lt;p&gt;Azure API Management&lt;br&gt;
GCP Apigee X&lt;/p&gt;

&lt;p&gt;The goal:&lt;br&gt;
A multi‑cloud API platform reference architecture with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;one API spec&lt;/li&gt;
&lt;li&gt;three cloud deployments&lt;/li&gt;
&lt;li&gt;cost comparison&lt;/li&gt;
&lt;li&gt;latency comparison&lt;/li&gt;
&lt;li&gt;governance model&lt;/li&gt;
&lt;li&gt;migration strategy&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Full Code, IaC, Load Tests, and Screenshots&lt;br&gt;
Everything is open-source here:&lt;/p&gt;

&lt;p&gt;👉 GitHub:&lt;br&gt;&lt;br&gt;
&lt;a href="https://github.com/ddruhin/cloud-native-api-platform" rel="noopener noreferrer"&gt;https://github.com/ddruhin/cloud-native-api-platform&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you’re working on API modernization, serverless platforms, or multi‑cloud strategy, feel free to reach out or fork the repo.&lt;/p&gt;

</description>
      <category>serverless</category>
      <category>apigateway</category>
      <category>aws</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
