Introduction to the Serverless Framework
Description
Serverless computing is one of the most interesting and useful parts the cloud offers. It allows engineers to design and code their applications, and then execute them without worrying about the underlying server infrastructure. One of the most famous paradigms Serverless computing introduced is the FaaS (Function as a Service). That means you focus more on single tasks and functions, instead of thinking about the whole application structure. It's very powerful because all the resources needed to serve and maintain the functions are handled automatically by the providers.
If you want to build a serverless application, it could be difficult to see the benefits if you don't leverage a framework to create resources to perform tasks to let the serverless application run. The Serverless Framework is a solution to easily manage the process of packaging and deployment of serverless applications. It's cloud-agnostic, so you can leverage the framework by using the most popular public cloud providers like Amazon Web Services, Google Cloud Platform, and Microsoft Azure.
In this lab, you will understand the basic components of the Serverless Framework, and you will use it to deploy your first serverless microservice with a single function in AWS.
Learning Objectives
Upon completion of this lab you will be able to:
- Understand the basic components and principles of the Serverless Framework
- Use the Serverless Framework CLI to perform simple commands
- Deploy a serverless microservice using the Serverless Framework
Intended Audience
This lab is intended for:
- Software engineers mainly focused on serverless development
- Cloud architects that want to build and maintain a serverless cloud infrastructure
Prerequisites
To get the most from this lab, you should have basic knowledge of Python and Serverless. To get ready, you can follow the following learning path:
Updates
February 26th, 2024 - Updated function to Python3.9