Project Fn is an open source project that provides a container native, poly-language, cloud agnostic (aka run on any cloud) serverless platform for running functions. Fn was launched during Oracle OpenWorld 2017. Fn is available on GitHub (https://github.com/fnproject/fn ) and provides all resources required to get started. In this article, I will just show you (and myself) how I went through the quick start steps and what it looked like on my laptop (Windows 10 with Vagrant and VirtualBox).
I simply get Fn up and running, create a first function that I then deploy and access through HTTP. I briefly show the APIs available on the Fn server and Fn UI application.
- Create VirtualBox VM with Debian and Docker (for me, Ubuntu 14 failed to run Fn; I created issue 437 for that) – this step is described in a different article
- Install Fn command line
- Install and run Fn server in the VM, as Docker container
- Create function hello
- Initialize new function and run it
- Deploy the new function (in its own Docker Container running inside the container running Fn server)
- Invoke the new function over http from the Host laptop
- Run the Fn UI application
- Inspect the Fn Server REST APIs
Connect into the Debian Virtual Machine – for me with vagrant ssh.
Install Fn Command Line
To install the Fn command line, I used this command: Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.