Serverless architecture has become much more than a trend now and its benefits have gained attention from professionals in the technology industry. Multiple cloud providers like Amazon and Microsoft have invested heavily in serverless, which is boosting it's popularity and adoption rate. What is serverless ? Serverless is a design pattern followed by developers to manage the application in a serverless way. For decades people used to build a huge monolithic application that will be deployed on servers which will be managed by the operations team for deployment and regular maintenance activities. As time passed microservice architecture design patterns became more popular. The huge monolithic application got split into multiple independent microservices and REST APIs were used by the frontend to interact with backend. It was a major architectural change but it didn't simplify server management activities. With serverless, cloud vendors introduced the concept of exposing funct...
Lambda AWS Lambda is a serverless computing platform that allows users to create functions and run your code without provisioning or managing servers. It executes your code only when needed and scales automatically and we need to pay only for the compute time consumed. For more details : https://docs.aws.amazon.com/lambda/latest/dg/welcome.html Languages supported Java Nodejs Python Ruby Go Dotnet https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html Use Case Today we are going to write a simple lambda function in nodejs which takes 2 strings as input and check if the first string is a substring of the second string. { "first' : "serverless", "second" : "The art of serverless" } We will be receiving below response. { "substring" : true } Steps a) Login to AWS management console b Search for the service 'Lambda' c) From the Lambda consol...