About KrakenD
KrakenD Community Edition is an Apache-2.0 API gateway written in Go. It merges responses from several backends into one endpoint, filters fields, validates JWTs, handles CORS and applies rate limits per client and toward each backend. All of that is declared in a single krakend.json file.
The gateway keeps no state, so each node works on its own and adding capacity means deploying another CloudSat server with the same file. High Frequency plans with fast cores keep per-request overhead low.
After deploy KrakenD listens on port 8080 and reads /etc/krakend/krakend.json, with /__health answering once it is up.
What you get with KrakenD
- Aggregation, composition and filtering of backend responses
- JWT validation, OAuth and CORS handling
- Rate limiting per client and per backend
- Stateless nodes with no database or coordination
- Lua scripting for custom logic
KrakenD use cases
- One public API in front of several microservices
- Backend-for-frontend endpoints shaped for a mobile app
- Token checks and rate limits in front of legacy services
After you deploy KrakenD
- After the server shows Running, confirm the gateway with
curl http://<server IP>:8080/__health. - SSH in as root and replace
/etc/krakend/krakend.jsonwith your endpoints, written by hand or exported from KrakenD Designer. - Run
krakend check -c /etc/krakend/krakend.jsonbefore each restart, so a typo never takes the gateway down. - Terminate TLS on KrakenD or a proxy in front, and open only the ports you publish in a CloudSat firewall.
KrakenD ports
Open these in your firewall if you use one: 8080/tcp HTTP (gateway).
KrakenD FAQ
What does the Enterprise edition add?
KrakenD Enterprise is a commercial product from the same company that, among other things, keeps plugin support with official tooling. The Community Edition dropped plugins in favor of Lua or extensions compiled into the binary.
Does KrakenD need a database?
No. Configuration is a file and nodes share nothing, so scaling out means more identical servers behind a load balancer.
Disclaimer. The KrakenD project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.