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 is a way to abstract the servers or other hardware in infrastructure. It gives you computing 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 serverless 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, and you have a good amount of traffic but there could be a few moments when the load on the application is unpredictable, mainly in the 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 this 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
Microsoft Azure Functions
This 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 serverless computing in Azure. Azure functions run 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 a number of requests raised.
- Azure Function supports most of the programming languages – C#, Python, Java etc
- To create an Azure Function just select a runtime environment like .NET, Node, or 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. Logic Apps in Azure and Azure Function both implement Serverless computing on Microsoft Azure. While the Azure Functions execute the code, on the other side Logic Apps focus on code automation, such as workflow.
Logic App in Azure is a serverless orchestration. It provides low-code or no-code solutions in Azure. Azure offers a built-in template for creating Logic Apps. Logic Apps works with GUI such as drag and drop features.
I hope you like this blog, please do share this blog within your community.
Read other articles on Microsoft Azure –
You may read articles on AZ 900.