Overview
KrakenD 2.13.7 service running
krakend version reporting the pinned 2.13.7 release and systemctl status showing the krakend.service daemon active and serving the sample gateway configuration.
KrakenD 2.13.7 service running
Declarative gateway configuration
Gateway proxying and aggregating
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
Overview KrakenD is a high performance, stateless, declarative open source API gateway written in Go. It sits in front of your backend services and microservices and lets you compose, aggregate, transform, filter, validate, rate-limit, cache and secure your APIs from a single declarative configuration file, with no code to write and no database to run. This image delivers KrakenD fully installed and running as a system service behind an nginx reverse proxy, with a working sample gateway configuration, so an API gateway appliance is serving and aggregating traffic within minutes of launch.
Declarative API Gateway The krakend daemon installed from the official package repository and run by the bundled systemd service, started on boot and restarted on failure. The gateway reads one declarative configuration file that describes every endpoint, its upstream backends and the pipeline of middlewares applied to it. A working sample configuration ships ready to run, exposing a direct health endpoint, a multi-backend aggregation endpoint that merges two upstream JSON responses into one, and a single-backend proxy endpoint, so you can confirm the gateway is proxying and aggregating the moment you launch.
Aggregate and Transform KrakenD aggregates responses from many backends into a single client request, so one call to the gateway fans out to several services in parallel and merges the results. Manipulate the upstream payloads with response filtering to remove or allow specific fields, property mapping to rename them, and collection and grouping operations, so clients receive exactly the shape they need without changing the backends. Add request and response transformations, content negotiation and partial responses declaratively.
Secure and Control Protect every endpoint with declarative rate limiting at the endpoint and per-user level, JWT validation and signing, role-based access control, CORS, security headers and request validation. Add in-memory response caching, circuit breakers and timeouts per backend to keep the gateway resilient when an upstream is slow or failing. The gateway is stateless, so you scale it horizontally behind a load balancer with no shared state.
Ready To Use Connect over SSH and the gateway is already serving behind nginx on port 80. Read the welcome notes, curl the sample endpoints to see proxying and aggregation in action, then edit the single configuration file, point the backends at your own services and reload. The gateway runtime logs live on a dedicated, independently resizable data disk.
cloudimg Support 24/7 technical support by email and chat. Help with endpoint and backend configuration, aggregation and response manipulation, rate limiting and security policies, JWT and authentication, caching and resilience, observability and upgrade planning.
Use Cases An API gateway in front of a microservices backend, aggregating and shaping responses for web and mobile clients. A backend-for-frontend layer that merges several services into one client-facing API. An edge gateway adding authentication, rate limiting and caching to existing services without changing them. A high throughput, stateless gateway tier scaled horizontally behind a load balancer.
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
- KrakenD, the high performance Apache-2.0 open source declarative API gateway, preinstalled and running as a systemd service behind nginx with a working sample configuration that proxies and aggregates upstream APIs, no manual setup required
- Compose, aggregate, transform, filter, rate-limit, validate, cache and secure your APIs from a single declarative configuration file with no code to write, and the stateless gateway scales horizontally behind a load balancer with no shared state
- The gateway runtime logs live on a dedicated, independently resizable data disk, with 24/7 technical support from cloudimg
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 |
|---|---|---|
t3.small Recommended | t3.small | $0.04 |
t2.micro | t2.micro instance type | $0.04 |
t3.micro | t3.micro instance type | $0.04 |
c5a.12xlarge | c5a.12xlarge instance type | $0.24 |
c5a.16xlarge | c5a.16xlarge instance type | $0.24 |
c5a.24xlarge | c5a.24xlarge instance type | $0.24 |
c5a.2xlarge | c5a.2xlarge instance type | $0.24 |
c5a.4xlarge | c5a.4xlarge instance type | $0.24 |
c5a.8xlarge | c5a.8xlarge instance type | $0.24 |
c5a.large | c5a.large instance type | $0.08 |
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 KrakenD 2.13.7, the high performance open source declarative API gateway, as a ready-to-use gateway service behind nginx with a working sample configuration that proxies and aggregates upstream APIs.
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). This is a headless, stateless API gateway service: there is no web interface to log in to. Read the welcome notes with: sudo cat /root/krakend-info.txt. Confirm the daemon is running with: systemctl status krakend. The gateway binds loopback 127.0.0.1:8080 and nginx on port 80 reverse-proxies public traffic to it, so curl the sample endpoints through port 80 from any client: curl http://<public-ip>/health (a direct gateway health passthrough), curl http://<public-ip>/__health (KrakenD's built-in health endpoint), curl http://<public-ip>/combo/user (an aggregation of two upstream JSON backends merged into one document) and curl http://<public-ip>/catalog/products (a single-backend proxy). The single declarative configuration file is at /etc/krakend/krakend.json: edit it, validate with sudo krakend check -c /etc/krakend/krakend.json, then run sudo systemctl restart krakend. The gateway runtime logs live on a dedicated data disk mounted at /var/lib/krakend. Open whatever additional ports your endpoints need in the instance security group.
Resources
Vendor resources
Support
Vendor support
cloudimg provides 24/7 technical support for this product by email and live chat. Our engineers help with deployment, configuration, updates, performance tuning and troubleshooting; critical issues receive a one hour average response. Contact support@cloudimg.co.uk .
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.