Moving from Lambda to Azure Functions (6 Part Series)
This article is part of #ServerlessSeptember. You'll find other helpful articles, detailed tutorials, and videos in this all-things-Serverless content collection. New articles are published every day — that's right, every day — from community members and cloud advocates in the month of September.
Find out more about how Microsoft Azure enables your Serverless functions at https://docs.microsoft.com/azure/azure-functions/.
The Azure Functions app is created (see previous article) and ready to host our real code.
In this episode, a new HTTP endpoint is implemented using an existing Azure Functions app to compute primes. Watch how easy it is to migrate the code to Azure then install a Node.js package for Azure Storage. Finally, use Azure Table Storage to cache the results.
You can view the source code for the sample app and deploy the migrated code directly to Azure with a single-click in the “AWSMigration” GitHub repository.
Move AWS Lambda to Azure Functions
This is the source code for the "Moving from Lambda to Azure Functions" video series that demonstrates how to migrate from AWS Lambda to Azure Functions.
Get your Free Azure Account
You can get started quickly with the migrated function. Simply click or tap the "Deploy to Azure" button. Be sure to enter a unique prefix (for example, use your initials or add a sequence). After the deployment is done, you can access and test the function.
To enable the cache, navigate to the storage account after it is created. Click on
Table servicethen add a table named
This repository contains code for all related projects.
Source ("Pure") Function
The function itself determines whether a number passed is prime or not. The pure function is available in
In the next article, we'll take a step back to explore Azure concepts as they relate to our serverless app.
Soft skills are as critical as technical skills for a software engineer. No one works in isolation. Each person has to deal with teammates, colleagues, managers, etc. Therefore team interpersonal skills are essential too. Soft skills include things like good communication, honesty, teamwork, integrity, organization, empathy, etc.