OpenFaaS
OpenFaaS
by OpenFaaS

Version Latest

OS Ubuntu 18.04

FUNCTIONS

Description

OpenFaaS (Functions as a Service) is a framework for building serverless functions with Docker and Kubernetes which has first class support for metrics. Any process can be packaged as a function enabling you to consume a range of web events without repetitive boiler-plate coding.

With OpenFaaS ® you can package anything as a serverless function - from Node.js to Golang to CSharp, even binaries like ffmpeg or ImageMagick.

You can try out OpenFaaS in 60 seconds or write and deploy your first Python function in around 10-15 minutes. From there you can take the OpenFaaS workshop, a series of tried-and-tested self-paced labs which teach you everything you need to know about functions - and more.

Ride the Serverless Wave – read the OpenFaas blog.

Software Included

Getting started after deploying OpenFaaS

You must login one time on the server:

  • OpenFaaS will install and configure itself interactively on first login
  • Docker Swarm is used to deploy OpenFaaS
  • Credentials will be stored to /root/.openfaas-password

In a web browser, you can view:

Once the OpenFaaS One-click application is running, you can begin here to get started immediately: https://docs.openfaas.com/deployment/docker-swarm/#22-deploy-functions-from-the-openfaas-function-store

API Creation

In addition to creating a Droplet from the OpenFaaS 1-Click App via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB OpenFaaS Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.


  curl -X POST -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer '$TOKEN'' -d \
      '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"openfaas-18-04"}' \
      "https://api.digitalocean.com/v2/droplets"
      

Support Details

Supported By:OpenFaaS
Support URL:https://github.com/openfaas/faas/issues

More DigitalOcean Links

DigitalOcean Community

Developers supporting developers

Ask a Question

Ask anything related to system administration, programming, devops, open source, or the DigitalOcean platform.

List your 1-Click App in the DigitalOcean Marketplace

Partner with us to build traction for your open source project or software company