<?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: Raj Dhumal</title>
    <description>The latest articles on DEV Community by Raj Dhumal (@rajd810).</description>
    <link>https://dev.to/rajd810</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%2F4241548%2Fbdb3fccc-3841-4c88-9ca4-a51998358987.jpg</url>
      <title>DEV Community: Raj Dhumal</title>
      <link>https://dev.to/rajd810</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rajd810"/>
    <language>en</language>
    <item>
      <title>How We Migrated from AWS API Gateway to Kong Konnect Using CDKTF and Azure DevOps</title>
      <dc:creator>Raj Dhumal</dc:creator>
      <pubDate>Thu, 12 Nov 2026 17:44:57 +0000</pubDate>
      <link>https://dev.to/rajd810/how-we-migrated-from-aws-api-gateway-to-kong-konnect-using-cdktf-and-azure-devops-1g89</link>
      <guid>https://dev.to/rajd810/how-we-migrated-from-aws-api-gateway-to-kong-konnect-using-cdktf-and-azure-devops-1g89</guid>
      <description>&lt;p&gt;Recently, I got an opportunity to work on an interesting project where we migrated our APIs from AWS API Gateway to Kong Konnect.&lt;/p&gt;

&lt;p&gt;One thing we wanted to improve during this migration was how we managed API configurations and deployments.&lt;/p&gt;

&lt;p&gt;Earlier, managing configurations manually wasn't the approach we wanted to continue with. So, we decided to move towards Infrastructure as Code (IaC) and automate the entire process as much as possible.&lt;/p&gt;

&lt;p&gt;For this, we used CDKTF (Terraform with TypeScript) to manage Kong configurations and Azure DevOps to handle deployments.&lt;/p&gt;

&lt;p&gt;Here's a little about what we did and some of the challenges we came across.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What did we implement?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We wanted to manage everything through code instead of depending on manual UI configurations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here's how we approached it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Created Kong services, routes and plugins using CDKTF.&lt;/li&gt;
&lt;li&gt;Managed Dev, Stage and Production environments using a common codebase.&lt;/li&gt;
&lt;li&gt;Built Azure DevOps pipelines to automate Terraform deployments.&lt;/li&gt;
&lt;li&gt;Implemented a Plan → Approval → Apply workflow so changes could be reviewed before deployment.&lt;/li&gt;
&lt;li&gt;Worked on a rollback approach using previously maintained Terraform state and configuration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What challenges did we face?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Like any migration project, things weren't always straightforward. We came across a few challenges along the way:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Authorization: Mapping existing AWS API Gateway authorizers to the corresponding Kong plugins.&lt;/li&gt;
&lt;li&gt;Rate Limiting: Making sure rate-limiting configurations worked as expected after migration.&lt;/li&gt;
&lt;li&gt;Authentication: Handling existing authentication configurations in Kong.&lt;/li&gt;
&lt;li&gt;Zero Downtime: Planning the migration carefully to avoid any service interruption.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each of these required proper validation and testing to make sure the APIs continued to work as expected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What did we like about this approach?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For me, the biggest improvement was the way we started managing infrastructure.&lt;/p&gt;

&lt;p&gt;A few things that made a real difference:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Everything was maintained in Git and became version-controlled.&lt;/li&gt;
&lt;li&gt;No more dependency on manually configuring APIs through the UI.&lt;/li&gt;
&lt;li&gt;Deployments became more consistent across environments.&lt;/li&gt;
&lt;li&gt;Changes could be reviewed before applying them.&lt;/li&gt;
&lt;li&gt;Managing configurations became much easier with a common codebase.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My takeaway&lt;/p&gt;

&lt;p&gt;One thing I really liked about this project was seeing how much difference Infrastructure as Code can make in day-to-day operations.&lt;/p&gt;

&lt;p&gt;Instead of spending time on repetitive manual configurations, we could focus more on automation, consistency and making the deployment process reliable.&lt;/p&gt;

&lt;p&gt;It was a great learning experience working with Kong Konnect, CDKTF, Terraform and Azure DevOps, especially when it came to API management and automation.&lt;/p&gt;

&lt;p&gt;I'd love to hear from others who have worked on similar migrations.&lt;/p&gt;

&lt;p&gt;Have you migrated from AWS API Gateway to Kong Konnect? What challenges did you face?&lt;/p&gt;

&lt;h1&gt;
  
  
  DevOps #AWS #Kong #Terraform #CDKTF #AzureDevOps #APIManagement #CloudArchitecture
&lt;/h1&gt;

</description>
      <category>cdktf</category>
      <category>aws</category>
      <category>apigateway</category>
      <category>terraform</category>
    </item>
  </channel>
</rss>
