Apache OpenWhisk on Ubuntu 24.04 LTS
by cloudimg
Apache OpenWhisk on Ubuntu 24.04: a self contained serverless platform for running functions on demand
Apache OpenWhisk is an open source, distributed serverless / Functions-as-a-Service platform. You write small functions, called actions, and OpenWhisk runs each one inside an isolated container in response to a direct invocation or an event, scaling on demand. This cloudimg image runs OpenWhisk on Ubuntu 24.04 LTS as a complete, self contained appliance.
The image uses the upstream Standalone mode: the OpenWhisk controller, invoker and datastore run together in a single process, while a local Docker daemon runs the real action containers as functions are invoked. That gives you a working serverless endpoint on first boot without standing up the full distributed OpenWhisk stack of Kafka, ZooKeeper, CouchDB and separate controller and invoker nodes, which is far too large for a single virtual machine. The wsk command line tool is preconfigured on the VM, and the Node.js action runtime image is pre pulled so your first invocation runs fast and offline.
The platform serves the OpenWhisk REST API on port 3233. You create actions in JavaScript, Python, Java, Go and more, invoke them directly or expose them as web actions, chain them into sequences, and attach triggers and rules for event driven execution. Because the API is served over HTTP, expose it only to trusted networks or place your own TLS terminating reverse proxy in front of it.
No usable default credential ships in the image. Standalone OpenWhisk ships a well known default authentication key for its guest namespace, published in the upstream source. On this image that key is never valid: the platform service is gated so it cannot start until a per instance users configuration exists, and on the first boot of every instance a one shot service generates a fresh authentication key unique to that instance, starts the platform for the first time already carrying that key, proves the upstream default key is rejected, and writes the new key to a root only file. There is no window in which the well known default key can be used against your instance.
Apache OpenWhisk is distributed under the Apache License 2.0, free and open source with no per CPU or per deployment fee. cloudimg is not affiliated with or endorsed by the Apache OpenWhisk project or the Apache Software Foundation; Apache OpenWhisk is a trademark of the Apache Software Foundation. cloudimg provides packaging, the secure by default configuration, per instance key automation, security patching, and 24/7 support with a guaranteed 24 hour response SLA.