Menu

How We Migrated from AWS API Gateway to Kong Konnect Using CDKTF and Azure DevOps
πŸ“°

How We Migrated from AWS API Gateway to Kong Konnect Using CDKTF and Azure DevOps

DEV Community: terraformΒ·Raj DhumalΒ·6 days ago
#lioGh0Po
#devtoterraform#devto#dev#aws#kong
Reading 0:00
15s threshold

Recently, I got an opportunity to work on an interesting project where we migrated our APIs from AWS API Gateway to Kong Konnect.

One thing we wanted to improve during this migration was how we managed API configurations and deployments.

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.

For this, we used CDKTF (Terraform with TypeScript) to manage Kong configurations and Azure DevOps to handle deployments.

Here's a little about what we did and some of the challenges we came across.

What did we implement?

We wanted to manage everything through code instead of depending on manual UI configurations.

Here's how we approached it:

Created Kong services, routes and plugins using CDKTF.

Managed Dev, Stage and Production environments using a common codebase.

Built Azure DevOps pipelines to automate Terraform deployments.

Implemented a Plan β†’ Approval →…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.