OpenFaaS
OpenFaaS
by OpenFaaS

VERSION Latest

OS Ubuntu 18.04

Create OpenFaaS Droplet

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

PackageVersionLicense
Docker CE18.06.1Apache 2
Docker Compose1.17.1Apache 2
OpenFaaSLatestMIT

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

Learn More

Product Docs

Technical overviews, how-tos, release notes, and support material

Tutorials

DevOps and development guidelines

API Docs

Run your resources programmatically

Ask a question

Connect, share and learn