In this blog, we will see about Serverless computing in Microsoft Azure Cloud service.
This article is written as per AZ 900 exam preparation.
What is Serverless Computing?
Serverless computing a way to abstract the servers or other hardware in infrastructure. It gives you a compute options in Cloud Computing.
In serverless computing, infrastructure or hardware is not your responsibility. You pay only for the resources you use. Even scaling is automatically handled in server less computing
In this computing, you just deploy the code and run it in a high availability mode without any hardware management.
Points to note on Serverless Computing
Serverless doesn't mean "No Server". Serverless means, no need to worry or focus on server and related hardwares. Serverless means no visibility of Servers
Serverless Computing Benefits
Let’s find out the benefit of serverless computing with a test case. Suppose you own an e-commerce web application, you have a good amount of traffic but there could be few moments when the load on the application is un-predictable, mainly in festive season or when you run some big offers to your consumers. In this scenario you see a surge in your traffic, serverless computing best fits in these kind of scenario, because serverless computing is event-driven, auto scalable and cost effective for you.
For Microsoft Azure Certification list visit this link Microsoft Azure Certification List
Serverless compute implementation in Microsoft Azure –
Microsoft Azure has 2 implementations of Serverless Computing.
- Azure Functions
- Azure Logic Apps
Azure Functions can be used for Serverless computing, Real-time bot messaging, timer based processing etc. It gives you a facility in which you can run small programs or small pieces of code without worrying about hardware or infrastructure and in this way it implements the serverless computing in Azure. Azure functions runs your code on demand without managing any infrastructure.
- No need to pay for any servers or auto scaling in case of high demand.
- Pay only for number of request raised.
- Azure Function supports most of the programming languages – C#, Python, Java etc
- To create an Azure Function just select runtime environment like .NET, Node, Java. You do not need to select anything related to availability and scalability, as these are automatically managed by Azure.
Azure Logic Apps
It is a cloud service on Microsoft Azure which helps us to automate, schedule and process the business module or workflow when needed. Azure Logic apps are similar to Azure Functions. Azure Logic Apps and Azure Functions both implements Serverless computing on Microsoft Azure. While the Azure Functions executes the code, the Azure Logic Apps focus on code automation, such as workflow.
Logic App in Azure is a serverless orchestration. It provides low code or no code solution in Azure. Azure offers built in template for creating Logic Apps. Logic Apps works with GUI such as drag and drop features.
Hope you like this blog, please do share this blog within your community.
Read other articles on Microsoft Azure –