Server-less Application Using Microsoft Azure Functions
By Mohammed Qara & Salem Abdulaziz
Introduction
Microsoft Azure functions is server-less event-driven, compute-on-demand experience that extends the existing Azure application platform.
You only pay for the time that code is running on the server, you will be charged based on the number of resources that Azure functions needs and only for as long as it takes your code to execute.
Features
Azure function support triggering an event based on an activity in an Azure service for example, you can run a specific code based on some log file or you can make a timer and schedule your code to be run on specific timing every week, it maybe backing up your data each hour or so.
Getting Started with Azure Function
Before start, you need to know that Microsoft Azure Function operate on windows and Linux environment, for the windows environment it supports
Windows
- .NET
- Java
- JavaScript
Linux
.NET
JavaScript
Docker containers
In order to develop a server-less application in Java you you have to two options,
Use Microsoft VS Code
or use any IDE with Maven
Optionally, if you want to test the app locally you need to install
And you need to compile that code locally in your machine and deploy it into your Azure function application.
On the other hand, you can use JavaScript for more easier development, you can choose it to handle http request for example, and it can be edited directly from the cloud, so you don’t need Maven or VS code.
To get start using Amazon Function, you can visit Microsoft website to