Azure Cloud Platform

Function

For running small pieces of code or 'functions' in the cloud, Azure Functions is the service you need. The problem can be coded and executed, without getting worried about the whole application or infrastructure. You can make your development more productive using Functions and development language of your choice can be used. You can trust Azure for scaling and only pay for the time your code runs. You can develop a server less application on Azure with Azure Functions.

Key Features:

  • You can choose your language and functions can be written using Node.js, Python, C#, F#, PHP, bash or batch.
  • You need to pay for the time duration in which your code runs.
  • NuGet and NPM are supported by Functions so your favorite libraries can be used
  • You get an integrated security, HTTP triggered functions are protected with open authorization provides like Facebook, Active Azure Directory, Twitter and more.
  • Azure Service and SaaS can be integrated to Functions.
  • Your code can be deployed through GitHub, Visual Studio Team Services etc. by coding the functions right into the portal, makes your development flexible.

Things to do with Functions:

You can integrate systems, process your data, work with IoT, and build simple APIs and microservices by using Azure Functions. You can consider Functions for tasks to run on schedule.

Templates are provided by Functions such that you can get started with key Scenarios which includes:

HTTP trigger - Using HTTP request you can trigger the execution of code.

Timer Trigger - On predefined specific time you can batch tasks and scheduled for cleanup.

GitHub webhook - Events that occur at your GitHub repositories, you can provide a response to events.

Generic webhook - From the service that supports webhooks you can process webhooks HTTP requests.

BlobTrigger - Process Azure Storage gets blobs when added to containers. For image size manipulation this function can be used.

QueueTrigger - As message comes in an Azure Storage queue you can give a response.

EventHubTrigger - Events delivered to Azure Event Hub can get a response.

ServiceBusQueueTrigger - By listening to message queues it connects your code to on-premises services or Azure Services

ServiceBusTopicTrigger - By subscribing to topics you can connect your code to on-premises services or Azure Services.

Azure Services supported by Functions:

  • Azure Service Bus (queues and topics)
  • Azure Storage (blob, queues, and tables)
  • GitHub (webhooks)
  • On-premises (using Service Bus)
  • Twilio (SMS messages)
  • Azure Cosmos DB
  • Azure Event Hubs
  • Azure Mobile Apps (tables)
  • Azure Notification Hubs

Functions implementation cost :

App service plan - When you are using app services for your app, on same plan you can run your Functions without any additional cost.

Consumption plan - All necessary computational resources are provided by Azure when your Functions runs. You only pay for time on which your code runs without worrying about resources management.



Next

Must Read Article

How to create a VM instance in Azure

How to create a VM instance in Azure

In this Tutorial we are going to launch a Virtual Machine in azure.

How to install WordPress on VM instance in Azure

How to install WordPress on VM instance in Azure

Before you start installing WordPress on VM instance on Azure. You must log in into the machine. You can launch a VM Instance in Azure using this tutorial. After launch of machine log in into the machine using SSH. If you do not know how to SSH in VM instance you can follow this tutorial.

How to launch a VM instances in Google Cloud

How to launch a VM instances in Google Cloud

In this tutorial we are going to launch a Compute Egine instance.

How to install wordpress in VM instances in Google Cloud

How to install WordPress on VM instance in Google Cloud

Before you start installing WordPress on VM instance on Google Cloud. You must log in into the machine. You can launch a VM Instance on Google Cloud using this tutorial. After launch of machine log in into the machine using SSH. If you do not know how to SSH in VM instance you can follow this tutorial.

How To Launch EC2 Machine

How To Launch EC2 Machine

In this article we are going to learn how to launch a EC2 instance. For this you need to have AWS account.

How to install WordPress on ec2 machine

How to install WordPress on ec2 machine

Before you start installing WordPress on ec2 machine. You must log in into the machine.