Overview
This instructor-led, live training (online or onsite) is aimed at developers who wish to use OpenWhisk to create, build, test, debug and deploy event-driven functions without needing to worry about managing the underlying execution environment.
By the end of this training, participants will be able to:
- Install and configure OpenWhisk.
- Use OpenWhisk to enable writing “code as a function”.
- Understand how OpenWhisk orchestrates functions on Kubernetes.
- Decouple from AWS Lambda to avoid lock in and improves flexibility.
- Deploy event-driven functions to an on-premise server or to the cloud.
Format of the Course
- Interactive lecture and discussion.
- Lots of exercises and practice.
- Hands-on implementation in a live-lab environment.
Course Customization Options
- OpenWhisk supports a number of languages, including: Go, Java, JavaScript, PHP, Python, Ruby, Swift, etc. To request a specific language for the course, please contact us to arrange.
- To request a customized training for this course, please contact us to arrange.
- To learn more about OpenWhisk, please visit: http://openwhisk.incubator.apache.org/
Requirements
- Experience with the Linux command line.
- Application programming experience in any of the languages supported by OpenWhisk.
- A general familiarity with Kubernetes and Docker.
Audience
- Developers
Course Outline
Introduction
- OpenWhisk as an open-source alternative to AWS Lambda.
Overview of the OpenWhisk Programming Model
Overview of Underlying Technologies in OpenWhisk
- CouchDB, Kafka, Ngnix, Redis, Zookeeper
Setting up the Development Environment
Installing and Configuring OpenWhisk
Installing and Configuring Serverless Framework (optional)
Writing an Action (Function)
- Namespacing, System Limits, Web Actions, Action Processing
Creating, Triggers, and Rules
Uploading an Event Handler to a OpenWhisk
Registering the Handler to Respond to Events
Access Event and Feed Sources
Consuming an Action via a REST API
Consuming an Action via a Message Bus (Kafka, Kinesis, Nats, SQS, etc.).
Using and Creating Packages
Composing and Invoking a Sequence of Multiple Actions
Browsing the Catalog
Testing and Debugging the Action
Deploying an Action with the OpenWhisk CLI
Deploying an Action with Serverless Framework
Monitoring an Action with Prometheus
Using the OpenWhisk Mobile SDK
Troubleshooting
Summary and Conclusion