You can find the desired solution here
Serverless computing is particularly preferred in scenarios such as microservice architectures, event-driven processing and rapid prototyping. Leading cloud providers offer serverless platforms such as Amazon Web Services (AWS) Lambda, Microsoft Azure Functions and Google Cloud Functions.