DEV Community

Jeremy Likness ⚡️ for Microsoft Azure

Posted on • Edited on • Originally published at Medium

Serverless Azure Fundamentals

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 previous episodes in this series reviewed how to migrate an existing AWS Lambda JavaScript Node.js function to Azure Functions. This episode takes a step back to review general concepts.

Fundamentals of Azure Serverless

This episode reviews several concepts, including:

  • Organize related assets using resource groups
  • Manage infrastructure using Azure Resource Management (ARM) templates and the single-click deploy to Azure capability
  • Customize your at-a-glance experience using Azure dashboards
  • Drill into configuration settings for resources
  • Explore data with the web-based storage explorer

Watch the episode here:

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.

GitHub logo JeremyLikness / AWSMigration

Migrate from AWS Lambda to Azure Functions

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.

🎦 Watch the video series (YouTube playlist)

Quick Start

Free Azure Account 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.

Deploy to Azure

To enable the cache, navigate to the storage account after it is created. Click on Tables under Table service then add a table named primes.

The Code

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 src\isItAPrime.js

In the next article, we'll look at how to develop and test Azure Functions on your local machine before deploying to Azure.

Resources

  1. Create your free Azure account
  2. Azure Portal Overview
  3. ARM Templates
  4. Fundamentals of Azure (free hands-on course)

Top comments (4)

Collapse
 
almasmahfooz profile image
AlmasMahfooz

Hi Jeremy, When it say create free Azure account, does it really provide free account? And could account be created from any region?

Collapse
 
yaser profile image
Yaser Al-Najjar

"free Azure account" means the account creation is free, but the usage is billed 😁

You shouldn't care about the pricing as long as you use their free-tier, and not exceeding that... if your goal is landing an Azure related job, in the end, you will work for a company which will those bills.

Collapse
 
almasmahfooz profile image
AlmasMahfooz

Means I should only care about getting job in a company already using Azure and paying all bills. :D

LOL

Collapse
 
jeremylikness profile image
Jeremy Likness ⚡️

Yes, it is truly free. 12 months of free services.

"As long as you are within the limits, you can create services for free in any region where services are available."

You can read about what's "in the box" here: Create free services in Azure