With Azure Functions, you can easily run small pieces of code in the cloud without worrying about a whole application or the infrastructure to run it. Azure Functions, can be used with triggers to execute your code and bindings to simplify the input and output of your code.
This tutorial starts with the basics of Azure Functions and then shows you how to create functions such as WebHooks, Azure Connected, and event processing. Moving ahead, the course demonstrates how to develop, manage, deploy, and monitor your Azure functions in almost any language such as C#, F#, Node.js, Python, PHP, as well as scripting options such as Bash, Batch, and PowerShell.
Next, you'll see how to scale your functions and use them to process data, integrate systems, and build simple APIs and microservices. Finally, we'll cover some diagnostic techniques with Azure App Services and the best practices of working with Azure Functions. By the end of this tutorial, you will be well-versed with the techniques of scaling your Azure Functions and making the most of the serverless architecture.
About the Author
Paul Oliver is the Principal Software Architect at Vosaic. Vosaic helps its users unlock insights with video for education and simulations. Vosaic is closely aligned with Hudl, which is the premier video platform for sports.
Before taking on the role at Vosaic, he worked as a software developer and architect in the banking and criminal justice industries. Throughout his career, he's been passionate about building well-architected software solutions with security of primary importance. He's architected several applications in the cloud using Microsoft Azure, Amazon Web Services, and Heroku.
He received his BSc in Computer Engineering from the University of Nebraska-Lincoln and his Masters of Business Administration degree from Creighton University.
You have an idea what Azure Functions are, but you’re not sure what all the hype is about. Can you give them a trial run without following a lot of steps?
In order to use Azure Functions you need an Azure account, but how do I sign up for an Azure account?
You’d like to create more Azure Functions, but you want to do it inside your Azure subscription. How do you create an Azure Function app?
Before you go too crazy creating Azure Functions, you want to know how you can architect your solution without breaking the bank. How can you predict your cloud costs when you build your infrastructure using Functions?
C# is the most popular language among .NET programmers. How to use C# in Azure Functions?
F# is growing in popularity and is a first-class citizen in Azure Functions. How to use F# in Azure Functions?
Python is a very popular language among scientists and DevOps engineers. How can you use it in Azure Functions?
PHP is massively popular among the Open Source community. You can run your PHP scripts in Azure Functions.
What if you are using something a little less standard? Can you use other languages on Azure Functions?
It is important to grasp the concept of triggering a function from an event and bind your input or output to another Azure service.
We’ve been using triggers in our previous videos without really knowing it. We need to understand the basics of basic triggers and how we can use some basic bindings to interact with our caller.
Have you ever had to write a service to “poll” a directory or queue to see if something happened? Do you have services that must be called by your client until something happens? In this video, we’ll show how you can eliminate that messy logic and replace it with Azure Functions that fire from storage events.
What if you have the need to trigger your Azure Function from a stream of real-time data or from an event from Event Hub? Why would you need this and how would you do it?
Sometimes you just need to do a little more complex job when your function does it’s magic. In this video we’ll cover some of the more advanced bindings.
Maybe, Azure Functions aren’t the ideal approach for your solution. You may be better served using Microsoft Flow, Logic Apps or Azure WebJobs. How do you decide?
We’ve seen the Hosting Plan dropdown. It seems important but you may not know what it means. Should you use a consumption plan or an App Service plan?
No one wants to build something that requires continuous maintenance. What are some tips to follow to prevent problems with our Azure Functions down the road?
In the previous video, we went over someb est practices for your Azure Functions to help with durable, performant apps. This video will now share some best practices for security.
If you’re interested in Azure Functions, you’ve probably heard about serverless architecture. However, you may not be clear on what it means. In this video, I will help you understand what it is.
In the previous video,youlearned what a serverless architecture is. Now let’s discover why it has becomeso popular among software architects recently.
You’re excited about serverless. You may even have ported everything over to Azure Functions in your head! Before you start shutting down your traditional servers, let’s take a sober look at some things that you should consider before you have 400 Azure Functions taking over your life.
In our previous video, we talked about some of the challenges you may have if you rely on a serverless architecture. In this video, I’m going to give you some hope; there are some practices you can follow that will help you maintain your sanity in your serverless home.
In the previous video, we gave you some best practices for a serverless architecture. Now you’re ready to start moving your big monolithic application to lightweight Functions that don’t require you to manage the infrastructure. In this video, I’ll give you some pointers on moving to a serverless architecture.
To ensure that your Azure Functions are running properly, you may want to use integration tests in your projects. How would you use them properly?
Calling a sophisticated REST endpoint is hard to set up with your browser or with an integration test. But there is a free tool that makes it super easy. It’s called Postman. How to use the Postman tool?
How can you tell if your Azure Functions are running properly? This is really important if you’re trying to maintain a reliable infrastructure.
What if you can’t figure out why your Azure Function is failing? Can you debug the code? Can you step through your Azure Function remotely on the server?
Is there a good tool for developers to use for develop Azure Functions locally? Is it free and easy to use?
If you’re editing Azure Functions directly in the web editor in the Azure Portal, you’re probably going to have a big problem. Is it possible to use source control to protect your function’s source code? Can you use Git to automatically deploy changes to your Azure Functions?
When you learn about infrastructure as code in Azure, you should learn about Azure Resource Manager, or ARM for short. It can be a little tricky to understand, but once you start using it, you’ll want to manage all your infrastructure with it.
ARM templates for storage accounts and VMs are pretty straightforward, but they are a little tricky with Function Apps. How can we create a reusable template for our function apps?
We covered some of the techniques you can use to automate deployment in your Azure Function apps. This video will give you a general overview and help give you some tips to use in your organization.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.