Serverless computing refers to a model where the existence of servers is entirely abstracted away. Even though servers exist, developers are relieved from the need to care about their operation. They are relieved from the need to worry about low-level infrastructural and operational details such as scalability, high-availability, infrastructure-security, and other details. Serverless computing is essentially about reducing maintenance efforts to allow developers to quickly focus on developing code that adds value.
We will work through three labs in this session:
Lab1: Create, build, and run a cloud-native Node.js Serverless app in less than 15 minutes
Lab2: Create, build, and run a cloud-native Python 3 Serverless application that uses the Visual Recognition service to determine image content
Lab3: Create, build, and run three Serverless functions as a sequence
We will use Apache OpenWhisk to run through the labs. Openwhisk is an open source, distributed Serverless platform that executes functions (fx) in response to events at any scale. OpenWhisk manages the infrastructure, servers and scaling using Docker containers so you can focus on building amazing and efficient applications.
Key concepts introduced will include triggers, rules, actions, composition and event driven architecture. Finally, Serverless is relatively new and we will look at what the shortcomings are with the current technology and how to mitigate them.