Blog
  • AI Gateway
  • AI Security
  • AIOps
  • API Security
  • API Gateway
|
    • API Management
    • API Development
    • API Design
    • Automation
    • Service Mesh
    • Insomnia
    • View All Blogs
  1. Home
  2. Blog
  3. Engineering
  4. Kong Konnect Runtime Instance and Konnect-KIC AWS EKS Terraform Blueprints AddOns
Engineering
September 18, 2023
5 min read

Kong Konnect Runtime Instance and Konnect-KIC AWS EKS Terraform Blueprints AddOns

Danny Freese
Senior Software Engineer on Konnect, Kong

With our AWS partnership, we jointly created two Kong Konnect AWS EKS Terraform Blueprints AddOns, eks-blueprint-konnect-runtime-instance and eks-blueprint-konnect-kic, to help bootstrap your Kong Konnect instances on EKS.

In this post, we'll discuss what AWS EKS Blueprints AddOns for Terraform are and their benefits. We'll also demo the Kong Konnect AddOns we’ve built out.

Introduction

When it comes fundamentally to standing up a production-ready EKS cluster, there’s more to it than meets the eye: deploying drivers, integrating with AWS Secrets Manager, integrating with AWS logging infrastructure, and understanding the AWS IAM Roles for Service Accounts (IRSA) integration. The AWS EKS Blueprints in Terraform framework was designed to solve these needs by providing guardrails while adhering to community-wide infrastructure as code standards. 

AWS EKS Blueprints AddOns is an AWS-developed framework based on Terraform and Helm to easily bootstrap EKS clusters. It comes with native EKS Addons, such as AWS CNI, AWS EBS CSI driver, and the most popular third-party technologies such as Kong Konnect. The objective of the framework is to get you to a production-ready environment quickly by simplifying and consolidating Day 2 operations with AWS best practices built into the AddOns themselves. 

Overall, AWS EKS Blueprints for Terraform helps customers get a production-ready EKS Cluster as quickly as possible. 

How do the Kong Konnect Blueprints AddOns work?

The Kong AddOns deploy Kong with either the Kong Gateway data plane independently or alongside Kong Ingress Controller, both of which integrate with Kong Konnect.

Under the hood, it’s still the Kong Helm chart deployed by the AWS EKS Add-On framework. However, what we’ve done is create an AWS-specific default  Helm configuration for you, so that all you need to provide is a small subset of required values — runtime group ExID, the region, etc. Bear in mind, you still have the opportunity to override the defaults, if required.

But the Kong modules are more than just another deployment mechanism for the Kong data planes; they also prescribe to AWS EKS best practices. For Kong, this means providing a production-ready mechanism for managing the data plane certificates. 

Kong Konnect uses a hybrid deployment model — Kong Konnect acts as the control plane and each gateway is a data plane with an mTLS connection to Konnect (See Konnect Architecture for more details.) As such, each data plane needs the certificates, stored as secrets in Kubernetes, to complete the mutual TLS handshake. 

To achieve this, the Kong Konnect Blueprints modules install the External Secrets Operator, which is also a part of the add-on ecosystem. Then they configure the necessary AWS IRSA privileges and the necessary CRDs in order to leverage AWS Secrets Manager. With this integration in place, the data plane TLS certificates stored in AWS Secrets Manager are automatically injected as a Kubernetes Secret. 

Overall, the Kong modules will do the following:

  1. Configure AWS IRSA with appropriate IAM policies needed by the External Secrets Operator to reach AWS Secrets Manager 
  2. Deploy the External Secrets Operator via the same EKS Blueprints framework
  3. Deploy External Secrets CRDs needed to retrieve the data plane certs in AWS Secrets Manager → that triggers the creation of the Kong TLS Kubernetes Secret 
  4. Deploy Kong Gateway or Kong Ingress Controller

There are a few prerequisites to be aware of before getting started. 

First, you need an EKS cluster. Don’t worry. The AWS team has a very robust Terraform module for that as well, AWS EKS Terraform module, and it will run inline without addon modules.

Secondly, there are a few Kong Konnect prerequisites that need to be in place. 

  • The runtime group needs to be created in advance. This will depend on the type of data plane you choose to use: Kong Gateway or Kong Ingress Controller. 
  • The data plane certificates need to be pushed up to the runtime group and pushed to AWS Secrets Manager in the same AWS region as the EKS cluster. These activities can be done either via the Kong Konnect and AWS console or the respective Konnect API and AWS CLI.

With those criteria in place, you’re ready to bootstrap your EKS cluster with Kong Konnect. 

Let’s install Kong Ingress Controller to Kong Konnect

The name of the game is how fast we can automate provisioning an EKS cluster with Kong Ingress Controller to Kong Konnect. I’m going to bet we’ll be up and running in about 15 minutes.

First, go ahead and clone the examples github repo. 

Let’s take care of the prerequisites:

  • Create a KIC-based Runtime Group in Konnect.
  • Create and upload data plane certs to the Runtime Group and AWS Secrets Manager.

Log into Kong Konnect, navigate to Runtime Manager, and create a Kong Ingress Controller Runtime Group.

And we can see below I’ve created a new Runtime Group called KIC Demo:

Now, create the data plane certificates. 

We put together a CLI tool (kong-konnect-runtime-cert-generator) to get you jump-started here. The CLI tool is going to create a self-signed cert, push it to the new Kong Konnect Runtime Group and also to AWS Secrets Manager:

The output should be something similar to below. Save this output — you’ll need it for the next step.

Terraform

OK! Now for the finale. In the example repo, navigate into the konnect-kic directory. The Terraform script does three main things:

  • Creates an AWS VPC
  • Creates the EKS Cluster using the AWS Terraform module
  • Creates the Kong Konnect KIC instance with our EKS add-on module

To run the Terraform script, create a terraform.tfvars file with the following output from the CLI tool:

And now run the Terraform with `terraform apply`:

And that is it. KIC is Fully Operational.

Wrapping up

We really enjoyed this project, and we’re looking forward to the community’s reaction. 

Give it a go and let us know what you think! hould we cover more Day 2 Operations? Are there more configurations you’d like to see? Don’t hesitate to create a GitHub issue.

In the meantime, we have several more examples to get you kickstarted — Fargate, AWS Graviton — and there’s a video if you’d rather watch.

Find us on the AWS Partner Addon docs as well! 

Relevant resources

  • Kong Gateway EKS AddOn
  • Kong Ingress Controller Addon
  • AWS Partner Addon docs
  • Example GitHub Repo

Developer agility meets compliance and security. Discover how Kong can help you become an API-first company.

Get a DemoStart for Free
AWSKong KonnectAPI Development

More on this topic

Videos

PEXA’s Resilient API Platform on Kong Konnect

Webinars

Accelerate Your Financial Services API Strategy in AWS with Kong Konnect

See Kong in action

Accelerate deployments, reduce vulnerabilities, and gain real-time visibility. 

Get a Demo
Topics
AWSKong KonnectAPI Development
Share on Social
Danny Freese
Senior Software Engineer on Konnect, Kong

Recommended posts

Kong Cloud Gateways: A Year in Review

Kong Logo
Product ReleasesDecember 17, 2025

A quick refresher: Kong Cloud Gateways Kong Cloud Gateways are fully managed, high-performance data planes running on customer-dedicated infrastructure, orchestrated and operated by Kong through Kong Konnect . Customers can choose between: Serverle

Josh Wigginton

Kong Konnect Advanced Analytics: Running Faster Than StatsD

Kong Logo
EngineeringMarch 5, 2025

Using Konnect Advanced Analytics for a faster real-time measurement of what your users are experiencing Earlier this year the Kong Konnect Analytics team was looking to leverage the stability and flexibility of our own Kong Gateway to handle the e

Hiroshi Fukada

Deploying Kong Mesh with Konnect on AWS ECS

Kong Logo
EngineeringFebruary 7, 2025

Deploying Kong Mesh on ECS The focus of this blog is to provide step-by-step instructions for deploying and configuring Kong Mesh with Kong Konnect on an AWS ECS instance so that anyone will be able to get pre-production installation of Kong Mesh st

Vince Russo

Hello World: Meet the Engineers Behind Kong Konnect

Kong Logo
EngineeringFebruary 20, 2024

Today we’re launching the Kong Konnect Engineering Tech Blog, dedicated to exploring the technology challenges and solutions we’ve encountered. The objective? To offer valuable technical content that enables our readers to broaden their engineering

Danny Freese

Kong Konnect is now available on the Google Cloud Marketplace

Kong Logo
EngineeringJanuary 8, 2024

Now you can find and purchase Kong Konnect through the Google Cloud Marketplace! Kong Konnect is the unified API platform that allows you to manage multiple gateways across service meshes, ingress, cloud, and Kubernetes providers no matter where t

Erin Choi

Announcing the Kong Konnect Mesh EKS Blueprint Add-on

Kong Logo
EngineeringJanuary 8, 2024

Zero to Hero on Amazon EKS with Konnect’s Mesh Manager We’re excited to announce a new addition to our Kong Konnect EKS Blueprint Family: the Kong Konnect Mesh EKS Blueprint Add-on to deploy your Mesh Zones. Deploy your zones securely on AWS with

Danny Freese

Use ChatGPT to Develop a SOAP/XML Custom Kong Konnect Plugin

Kong Logo
EngineeringAugust 1, 2023

Today, APIs are based on modern communication patterns: REST, GraphQL, or gRPC. But two decades ago, the majority of Web Services were developed with SOAP/XML. In this blog, we’ll explain how Kong Konnect can manage SOAP/XML Web Services by creat

Jerome Guillaume

Ready to see Kong in action?

Get a personalized walkthrough of Kong's platform tailored to your architecture, use cases, and scale requirements.

Get a Demo
Powering the API world

Increase developer productivity, security, and performance at scale with the unified platform for API management, AI gateways, service mesh, and ingress controller.

Sign up for Kong newsletter

    • Platform
    • Kong Konnect
    • Kong Gateway
    • Kong AI Gateway
    • Kong Insomnia
    • Developer Portal
    • Gateway Manager
    • Cloud Gateway
    • Get a Demo
    • Explore More
    • Open Banking API Solutions
    • API Governance Solutions
    • Istio API Gateway Integration
    • Kubernetes API Management
    • API Gateway: Build vs Buy
    • Kong vs Postman
    • Kong vs MuleSoft
    • Kong vs Apigee
    • Documentation
    • Kong Konnect Docs
    • Kong Gateway Docs
    • Kong Mesh Docs
    • Kong AI Gateway
    • Kong Insomnia Docs
    • Kong Plugin Hub
    • Open Source
    • Kong Gateway
    • Kuma
    • Insomnia
    • Kong Community
    • Company
    • About Kong
    • Customers
    • Careers
    • Press
    • Events
    • Contact
    • Pricing
  • Terms
  • Privacy
  • Trust and Compliance
  • © Kong Inc. 2025