Hands-On Serverless with OpenFaaS and Python
Vivek Kumar Singh (~viveksyngh) |
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:
- Prepare for OpenFaas
- Test things out
- Introduction to functions
- Go Deeper with functions
- HTML for your functions
- Asynchronous functions
- Advanced feature - Timeouts
- Advanced feature - Auto Scaling
- Advanced feature - Secrets
- Create a Slack bot using DialogFlow, Slack API and OpenFaaS
Prerequisites:
Prerequisites:
- Basic knowledge of Docker
- 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.
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