Overview
Self-Hosted Kong API Gateway and AI Gateway on AWS
Kong API Gateway and AI Gateway packaged by Code Creator is a ready-to-launch AWS Marketplace AMI designed for developers, platform teams, SaaS builders, and technical organizations that need a self-hosted API gateway running directly inside their own AWS account. Deploy a production-ready Kong community edition environment without manual installation, dependency management, or complex configuration.
What You Get After Launch
This AMI delivers a fully configured Kong community edition 3.9.1 deployment on Ubuntu 26.04 LTS using Docker Compose and PostgreSQL. On first boot, the instance automatically detects its public IP and configures a landing page so you can verify the deployment is running. A working demo API route is pre-configured through Kong, letting you validate gateway functionality immediately.
The included command-line helper tools let you check gateway status, view logs, restart services, create backups, export configuration, and set up AI gateway routing - all without leaving the terminal.
AI Gateway Starter Workflow
The AMI includes an AI Gateway starter workflow powered by Kong's bundled AI Proxy plugin. After launch, you can configure an OpenAI-compatible AI proxy route using your own provider API key. This enables you to centralize AI traffic through Kong, applying the same rate limiting, logging, and routing policies you use for your other APIs. No AI provider key is bundled with the AMI - you bring your own credentials.
Example Use Case: Platform Team Centralizing API and AI Traffic
A platform engineering team building a microservices architecture needs a central gateway to manage routing, enforce policies, and gain visibility across internal services. After subscribing and launching the AMI, the team SSH into the instance, verify the demo route is working, and begin adding their own upstream services as Kong routes. When the team later integrates a third-party AI model for internal tooling, they use the AI Gateway helper to configure an OpenAI-compatible proxy route - centralizing AI traffic alongside their existing API routes under a single gateway with consistent logging and access controls.
Security-Focused Architecture
- Localhost-only Kong Admin API - The Admin API is restricted to localhost by default, preventing unauthorized remote access to gateway configuration
- No public administration GUI - Excluding a third-party public GUI reduces the attack surface compared with older GUI-first deployments
- SSH tunnel access - Manage the Admin API securely through SSH tunneling when remote administration is needed
- Public proxy on recommended ports - Only Kong proxy traffic is exposed publicly on standard gateway ports
This design keeps the AMI focused on a cleaner, more secure API and AI gateway foundation.
Included Components
- Kong community edition 3.9.1
- Ubuntu 26.04 LTS
- Docker Compose deployment with PostgreSQL backend
- Public IP landing page with first-boot automation
- Working demo route through Kong
- AI Gateway starter helper using Kong AI Proxy plugin
- Backup and configuration export helpers
- Customer-friendly command-line helpers for status, logs, and restart
Ideal For
- API routing and microservices traffic management - Centralize ingress for distributed services
- AI traffic proxy workflows - Route and manage AI provider API calls through a unified gateway
- Development and staging environments - Spin up isolated gateway instances for testing before production
- Internal API mediation - Manage internal service-to-service communication with Kong policies
- Self-hosted gateway deployments - Maintain full control over your gateway infrastructure inside your own AWS account
Get Started
Subscribe through AWS Marketplace, choose your EC2 instance type, and launch. The AMI handles first-boot provisioning automatically. Once the instance is running, visit the public IP to confirm the landing page, then use the included helper commands to explore the demo route and begin configuring your own API and AI gateway routes.
Highlights
- Launch a fully wired Kong API Gateway without manual PostgreSQL configuration or Docker networking. This AMI ships with Docker Compose, PostgreSQL, and automatic public IP detection already configured on Ubuntu 26.04 LTS. A working demo proxy route is included out of the box so you can verify the gateway is accepting traffic immediately after boot - unlike a from-scratch deployment where you must manually wire the database, configure networking, and create your first route before anything works.
- Built-in AI Gateway starter helper that configures an OpenAI-compatible AI proxy route using a single command and your own provider API key. Instead of manually navigating Kong's AI Proxy plugin configuration - creating services, routes, and plugin entries step by step - the helper automates the entire workflow so you can begin routing LLM traffic through your self-hosted gateway right after launch.
- The Kong Admin API is restricted to localhost by default, reducing the public attack surface compared to deployments that expose the Admin API on all interfaces. Included helper commands cover status checks, log viewing, restart, backup, and configuration export so you can manage the gateway without memorizing Kong CLI syntax. SSH tunneling provides secure remote Admin API access when needed.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Dimension | Cost/hour |
|---|---|
t3.large Recommended | $0.04 |
m6i.8xlarge | $0.04 |
m6i.large | $0.04 |
m6i.4xlarge | $0.04 |
t3.medium | $0.04 |
m6i.2xlarge | $0.04 |
t3.2xlarge | $0.04 |
m6i.12xlarge | $0.04 |
t3.xlarge | $0.04 |
Dimensions summary
Top-of-mind questions for buyers
Vendor refund policy
No contracts. We do not currently support refunds, but you can cancel at any time.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
n/a
Additional details
Support
Vendor support
For support inquiries related to this Kong API Gateway and AI Gateway AMI, contact Code Creator by email at info@codecreator.com .
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.