This section is an introduction to serverless computing.
Note: If you are more interested in 'hands-on' part, you can skip this section and go directly to Prerequisites and Setup
Serverless computing has become a mainstream architectural option for building software today. Many large organisations have started adopting serverless seriously in large scale applications. Serverless eases technologists by taking away the infrastructure overhead of managing, monitoring servers and allows them to focus only on the business/technical problem in hand to solve. The pay-per-use model helps in managing costs.
All leading cloud providers like AWS, Google Cloud, Azure have their mainstream serverless offering today.
Providers like AWS and GoogleCloud have made hosting as simple as 'Click of a button' (e.g., Google Run)
The first-class integration provision for to their other service offerings (e.g., S3, Kinesis, DynamoDB integration to Lambda),
help serverless approaches address larger architectural concerns seamlessly.
Apart from these mainstream cloud solution providers there are options to host serverless on premise or on your kubernetes clusters.
Apache OpenWhisk is an open source serverless hosting option. If you want to run serverless on your kubernetes cluster,
there are options like KNative and Kubeless. Frameworks like serverless.com have made building, bundling serverless apps
simpler. They also provide monitoring options.
Lambda is one of the leading, matured serverless offering from AWS. Lambda supports a wide range of languages and hosting configurations. Lambda also has provisions for setting up triggers to listen to other aws services, handle HTTP requests, consume events from a queue or run on a schedule. Lambda also provides 'serverless' benefits like,
- No infrastructure management (using physical servers, virtual or containers)
- Auto scaling & Highly availability
- Pay per invocation and execution
- Matured Security built-in for access management and integration with other AWS services
AWS Lambda has much more features offered and you will find the following tutorials covering all these.
Let's Start Coding Prerequisites and Setup