Overview
Kong Gateway version and service status
Kong Gateway version output and systemd service status on a freshly launched instance.
Kong Gateway version and service status
Kong Admin API response
Kong services and routes
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
Why This AMI Over Manual Setup
Platform engineers and DevOps teams building API-driven backends spend hours installing Kong, configuring PostgreSQL, running migrations, and hardening credentials - often repeating the work for every environment. This AMI eliminates that toil. A fully configured Kong Gateway stack is running and authenticated within minutes of launch, so your team can focus on defining routes and plugins rather than provisioning infrastructure.
Gateway Stack
Kong Gateway runs as a systemd service in single-node mode, persisting its configuration in a local PostgreSQL 16 database. The proxy listens on port 8000 (HTTP) and 8443 (HTTPS with TLS). A lightweight nginx instance on port 80 forwards traffic to the Kong proxy so the gateway is reachable from a browser or curl without specifying a port. The Admin API is bound exclusively to the loopback interface - unlike many competing Kong images that expose it on 0.0.0.0 by default, creating an unnecessary attack surface. Access the Admin API securely over an SSH tunnel.
Secure First Boot
On first boot a one-shot service generates a fresh PostgreSQL password for the Kong role, runs database migrations, and wires an example service, route, and key-authentication plugin. A per-instance API key is generated for a sample consumer named cloudimg, and the plain-text values are stored in a file readable only by root. No shared or default credentials ship in the image. This means every instance starts with unique secrets - reducing the credential-reuse risk common in pre-built AMIs.
Dedicated Storage Tier
The PostgreSQL data directory lives on a separate, independently resizable EBS volume mounted at the database root. Most competing images place the database on the OS disk, making storage expansion risky and requiring downtime. With this architecture you can grow the data volume without disturbing the operating system or Kong configuration.
Security and Network Guidance
- HTTPS traffic on port 8443 is served with TLS.
- Admin API bound to 127.0.0.1 prevents remote exploitation.
- Credentials file restricted to root with 0600 permissions.
- Recommend deploying within a private VPC subnet with security groups limiting inbound access to ports 80, 443, 8000, 8443, and 22 only from trusted CIDRs.
- EBS volume encryption can be enabled at launch for data-at-rest protection.
Getting Started
- Launch the AMI in your preferred AWS region and instance type.
- SSH into the instance and inspect the credentials file at the documented path.
- Send a request to the example route with the consumer API key to confirm the gateway is forwarding and authenticating traffic.
- Define your own services, routes, and plugins via the Admin API over SSH tunnel.
- Point your DNS or load balancer at the instance to begin serving production traffic.
Use Cases
- SaaS API monetization - Expose your product API with key authentication and per-consumer rate limiting, suitable for teams handling thousands of requests per second on standard EC2 instance types.
- Microservice ingress - Replace hand-rolled reverse proxy configs with Kong's declarative routing for teams running 10-100 backend services on EC2 or ECS.
- Public API protection - Add authentication, IP restriction, and request-size limiting in front of payment or data APIs where unauthorized access carries compliance risk.
- Request and response transformation - Use Kong plugins to reshape headers, payloads, and status codes without modifying upstream application code.
- Multi-tenant API hosting - Isolate consumers with distinct credentials and rate-limit tiers on a single gateway instance.
cloudimg Support
24/7 technical support by email and live chat. Our engineers assist with Kong deployment, route and plugin configuration, upstream wiring, rate limiting, observability setup, and gateway upgrades. Critical issues receive a one-hour average response.
To discuss your deployment requirements or request a guided onboarding walkthrough, contact us at support@cloudimg.co.uk .
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
Highlights
- Kong Gateway preinstalled and ready, backed by PostgreSQL and fronted by nginx on port 80, with an example service, route and key authentication plugin wired up on first boot
- Hardened first boot generates a fresh database password and consumer API key for every instance and stores them in a file only the root user can read
- 24/7 technical support from cloudimg, with expert assistance for Kong deployment, route configuration, plugin setup and gateway upgrades
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
- ...
Dimension | Description | Cost/hour |
|---|---|---|
m5.large Recommended | m5.large | $0.08 |
t3.micro | t3.micro instance type | $0.04 |
t2.micro | t2.micro instance type | $0.04 |
r5a.xlarge | r5a.xlarge instance type | $0.12 |
r8i.16xlarge | r8i.16xlarge instance type | $0.24 |
r6id.12xlarge | r6id.12xlarge instance type | $0.24 |
m5n.8xlarge | m5n.8xlarge instance type | $0.24 |
m7i.12xlarge | m7i.12xlarge instance type | $0.24 |
r5ad.8xlarge | r5ad.8xlarge instance type | $0.24 |
t2.xlarge | t2.xlarge instance type | $0.12 |
Vendor refund policy
Refunds available on request.
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
Initial release of Kong Gateway 3 API gateway on AWS.
Additional details
Usage instructions
Connect via SSH on port 22 as the default login user for your operating system variant (the user guide lists it per variant). Kong, PostgreSQL and nginx are already running. On first boot the kong-firstboot service writes per instance credentials to /root/kong-credentials.txt (mode 0600). Run 'sudo cat /root/kong-credentials.txt' to view the PostgreSQL password and the consumer API key. The Admin API is bound to 127.0.0.1:8001 (no authentication is the Kong CE default); reach it over an SSH tunnel. The proxy is on port 8000 directly and via nginx on port 80. Test the example route: curl -H "apikey: <KEY>" http://<host>/example
Resources
Vendor resources
Support
Vendor support
Support Channels
cloudimg provides 24/7 technical support for this Kong Gateway AMI through two channels:
- Email: support@cloudimg.co.uk
- Live chat: Available around the clock
Response Times
Critical issues receive a one-hour average response. Our engineers work with you until resolution, covering deployment, configuration, updates, performance tuning, and troubleshooting.
Scope of Support
Our team assists with:
- Initial deployment and first-boot verification
- Route, service, and upstream configuration
- Plugin setup (authentication, rate limiting, transformations)
- PostgreSQL database maintenance and storage scaling
- Kong version upgrades and migration guidance
- Performance tuning for your workload profile
- Troubleshooting connectivity, proxy errors, and plugin conflicts
Refunds and Billing
For billing questions or refund requests, contact support@cloudimg.co.uk with your AWS account ID and instance details. We aim to resolve billing inquiries within one business day.
Getting Started
After launching your instance, email us to schedule a guided onboarding walkthrough if you would like hands-on assistance configuring your first production routes and plugins.
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.