Hands-On Serverless with OpenFaaS and Python

Vivek Kumar Singh (~viveksyngh)


21

Votes

Description:

OpenFaaS makes Serverless Functions simple with any programming language through the use of Docker containers. The project can be hosted on any cloud, or on your own hardware - even your laptop. Learn how to build Serverless functions with OpenFaaS and Python in this self-paced workshop lead by the community behind the project.

Start by deploying OpenFaaS to your laptops with Docker for Mac or Windows and then learn how to build, deploy and invoke serverless functions in Python.

Topics will include: Managing dependencies with pip, dealing with API tokens through secure secrets, monitoring functions with Prometheus, invoking functions asynchronously and chaining functions together to create applications.

We'll finish by building a custom action for Google Home/Google Assistant for managing slack notifications using Google's DialogFlow and Slack API.

The workshop will have the following labs:

  1. Prepare for OpenFaas
  2. Test things out
  3. Introduction to functions
  4. Go Deeper with functions
  5. HTML for your functions
  6. Asynchronous functions
  7. Advanced feature - Timeouts
  8. Advanced feature - Auto Scaling
  9. Advanced feature - Secrets
  10. Create a Slack bot using DialogFlow, Slack API and OpenFaaS

Prerequisites:

Prerequisites:

  1. Basic knowledge of Docker
  2. Functions will be written in Python, so prior programming or scripting experience is preferred.

Requirements:

We can use - https://labs.play-with-docker.com/ or any VM / box with the latest docker installed.

Content URLs:

OpenFaas Docs: https://docs.openfaas.com/

OpenFaas Website: https://www.openfaas.com/

Speaker Info:

Vivek Singh:

Currently working as Software Engineer - II at Akamai Technologies. Been an active contributor to OpenFaaS project. Co-organizer and Speaker at OpenFaaS Bangalore meetup group. Loves to code in Python and Golang. Contributes to Open Source projects in free time.

Vivek Sridhar:

Vivek is a tech enthusiast with over 11 years experience in the Software Industry. He is currently working as a Developer Advocate with DigitalOcean and has been a Technology Advisor to several tech startups. Previously he was Head of DevOps & QA at Blackbuck and was a DevOps Solution Architect at HCL (Australia) in client engagement and pre-sales roles. Vivek started his career with IBM Rational (INDIA Software Labs) and is passionate about working with software developer communities.

Speaker Links:

Vivek Singh:

Contributions: https://github.com/viveksyngh

LinkedIn Profile: https://www.linkedin.com/in/viveksyngh/

Twitter: https://twitter.com/viveksyngh

Website: https://www.viveksyngh.info

Blog: https://www.viveksyngh.info/blog/

Vivek Sridhar:

https://www.linkedin.com/in/vivsridh

https://twitter.com/vivek_sridhar

https://github.com/vivsridh4

https://hasgeek.tv/rootconf/2018-day-2/1509-distributed-tracing-with-jaeger-at-scale

https://hasgeek.tv/rootconf/cloud-sever-management-delhi/1435-auto-remediation-at-scale-using-watchers-vivek-sridhar

Section: Web development
Type: Workshops
Target Audience: Beginner
Last Updated: