Git Product home page Git Product logo

serverless-workshop's Introduction

Introduction to serverless functions with OpenFaaS

In this page we introduce a serverless computing framework called OpenFaaS, which promises to help developers to deploy event-driven functions and microservices to Kubernetes without repetitive, boiler-plate coding.

Requirements

Vagrant and VirtualBox are the only dependencies that need to be available in your host.

In Windows:

> choco install vagrant

In Mac & Linux:

You should be able to download the installation files for your operating system:

Note: It is also possible to use libvirt, but we encourage you to use virtualbox for this tutorial.

Set up the Vagrant box

After cloning this repository, open your favourite shell and navigate to the folder containing the Vagrantfile. Then you can run the following command to spin up the playground:

> vagrant up --provision --provider [virtualbox | libvirt]

Note: Vagrant will request to allocate 3 cpus and 4GB of memory for the machine.

Once it is done, verify that you can ssh into the machine:

> vagrant ssh

Make sure that the OpenFaaS dashboard and Grafana are working by opening a web browser and navigating to http://127.0.0.1:31112 and http://127.0.0.1:31113 respectively.

After you have finished the tutorial, you may destroy the virtual machine using:

> vagrant destroy

serverless-workshop's People

Contributors

jonandernovella avatar pontus avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

pontus shukapoo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.