Learn what a serverless application is in this video.
- [Instructor] In this chapter we are going to get started with our main application, but before doing anything we need to go over some important concepts so we are all on the same page. First, in this chapter we are going to review, very quickly, what is serverless and then we will talk about AWS Lambda. After that, we are going to learn about Serverless Framework that will be the framework we will use to deploy and manage our application and also I will give a short lecture about infrastructure as code that is for me one of the most critical tools that we need to master when we deploy any application into production. And finally, in this chapter we will get started on our project. There we will see what we will be building during the whole course and get the foundation work done for the rest of the course. So let's get started with what is serverless. Are there still servers in serverless? Yes there are. The thing with serverless is that we don't manage those servers. They are abstracted from us. Like when we talk about virtual machines in a cloud platform, we don't talk about the bare metal under those virtual machines. The cloud provider will manage that. You, as a user, don't need to worry about taking care of the physical machines. In my opinion there are three main characteristics of serverless services. First, you pay for what you use. Second, you don't need to manage any infrastructure. Third, the system automatically scales. One thing that internal people get wrong is that they think of serverless as just execution of code, when serverless is two things, code execution and services. When I say code execution, I mean functions as a service and I will call the serverless services backend as a service. Usually, everybody think of serverless as function as a service. However, most serverless applications are mostly backend as a service with some function there to glue the services together and to implement a specific business logic.
- Backend as a service (BaaS)
- Function as a service (FaaS)
- Why infrastructure as code is so important
- Creating an order
- Setting up DynamoDB
- Saving into a DynamoDB table
- Using AWS SDK
- Sending a message to the stream
- Deploying and testing an application
- Cleaning up an AWS environment