Hands-On Serverless with OpenFaaS and Python
Vivek Kumar Singh (~viveksyngh) |
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
- Basic knowledge of Docker
- Functions will be written in Python, so prior programming or scripting experience is preferred.
We can use - https://labs.play-with-docker.com/ or any VM / box with the latest docker installed.
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 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.
LinkedIn Profile: https://www.linkedin.com/in/viveksyngh/