azure api management,

Azure API Management Key Parameters

Sven Malvik Sven Malvik Connect Feb 29, 2020 · 3 mins read
Azure API Management Key Parameters

This post will start to discuss provisioning API Management. The simplest way of doing so is simply by signing into the portal and create it - we’ll do so in a minute - but this is not the only way we can and should provision API Management. There are other ways that are more effective depending on your environment. Before we can do all this, we need first take a look at some key parameters when creating an instance.

Explain those API-M parameters that are key.

The most important parameter you need to set when provisioning API-M is the type of instance you want to provision, SKU. SKU stands for Stock Keeping Unit. There are 5 different SKUs to choose of.

Azure API Management SKUAzure API Management SKU

Developer and Premium are pretty similar. Both can be put into an own private virtual network. It means we can set up a network security group and filter network traffic based on rules we set. We could for example say that we only allow traffic from another defined virtual network where an Application Gateway lives. We will talk about this service later, but in short, it is a load balancer operating on layer-7 with a public ip address. The main differences between those two SKUs is the capacity and the scaling option. Scaling is missing in the developer SKU -why would we need that :)

Basic and Standard are also similar to each other -besides the capacity. What the basic SKU is missing is AAD integration. AAD stands for Azure Active Directory which is Microsoft’s cloud-based identity and access management service. It helps your employees to sign in and access resources.

The newest SKU is Consumption which is a pretty good type when developing on your own. It runs on a shared infrastructure. It’s really nice for trying out your APIs for example where we pay only per request. Since it’s a shared type, provisioning takes only a few minutes compared to the other SKUs where we can watch an entire one hour conference-talk while waiting. But the real benefit comes in production in case where you have to handle spikes. Azure API Management will scale for you. It’s the perfect plan for low traffic APIs that might handle high-traffic sometimes.

What does Capacity mean in this context?

Capacity is an indicator of load on an API Management instance. It reflects resources usage (CPU, memory) and network queue lengths. It’s an important metric that you must keep an eye on in the Azure Monitor. The default value when provisioning is “1” unit of the chosen SKU, so you might consider more units for production. It really depends on your load. If this metric shows a value above 60% load over approximately 30 minutes, Microsoft recommends to consider to scale up. This can take up to 45 minutes.

What about the other parameters?

Name, Location, Organization, ResourceGroupName, Tag and some more are self explaining. But there are a few more like VirtualNetwork, AssignIdentity and CustomHostnameConfiguration that are interesting, and we will discuss all of them in detail in a later post. We ignore them for now and configure them later.

Conclusion

We got all the parameters we need to for provisioning an API-M instance. SKU was the most important parameter, the default is Developer which is a bit more expensive than Consumption. In the next post, we will provision an instance in 3 different ways and discuss advantages and disadvantages before we start to do some exciting stuff with it.

Join Newsletter
Get the latest updates right in your inbox. I never spam!
Sven Malvik
Written by Sven Malvik

Latest Stories

Introduction to Azure API Management

Azure API Management (APIM) is a way to create consistent and modern API gateways for existing backend services. It provides an interface...

Jan 25, 2021

Event-Driven Infrastructure with App Configuration

Azure App Configuration is great for externalizing application configurations. But what if an application is our infrastructure? How coul...

Sep 12, 2020

Understanding Policies in Azure API Management

Policies are the heart of Azure API Management. They let us change the behavior of our APIs in a very flexible manner. Before I dive in t...

Apr 18, 2020

How To Manage Azure Virtual Machines

I will go through the first steps for managing Virtual Machines. We will create a Windows VM, start the Internet Information Service IIS,...

Dec 26, 2020

Azure API Management from the Portal

We will provision Azure API Management. Creating an instance of it is just a click in the Azure Portal. We’ll do it once to show how easy...

Mar 07, 2020

Logging in Azure API Management

This post is a complete step-by-step guide on how to send logs from Azure API Management to Azure Event Hub with PowerShell. We start by ...

Apr 11, 2020

8 Actions to Cut Infrastructure Costs in 2021

8 Actions to Cut Infrastructure Costs in 2021 is the result of a research I did. I wanted to know more about the impact of the pandemic f...

Jan 10, 2021

Azure API Management with Terraform

Terraform is a popular tool for managing infrastructure resources. I counted about 120 supported providers. Azure is one of them. In this...

Apr 04, 2020

AZ-303 Self-Study Guide for Becoming an Azure Solution Architect

Microsoft updated it’s role based exam for AZ-300. It’s now called AZ-303 and launched last year. This certification is a great proof for...

Feb 01, 2021

Backup and Restore in Azure API Management

As infrastructure gets more complex, more parts will eventually break. This is even more true as we make frequently changes. Sometimes we...

May 02, 2020

Serving Website Images from Azure CDN with SSL

In this post I will show you step by step how to serve images on a website from Azure CDN with SSL enabled. My blog has a couple of Azure...

Apr 25, 2020

Latest Stories

Introduction to Azure API Management

Introduction to Azure API Management

Azure API Management (APIM) is a way to create consistent and modern API gateways for existing backend services. It provides an interface...

Jan 25, 2021

Event-Driven Infrastructure with App Configuration

Event-Driven Infrastructure with App Configuration

Azure App Configuration is great for externalizing application configurations. But what if an application is our infrastructure? How coul...

Sep 12, 2020

Understanding Policies in Azure API Management

Understanding Policies in Azure API Management

Policies are the heart of Azure API Management. They let us change the behavior of our APIs in a very flexible manner. Before I dive in t...

Apr 18, 2020

How To Manage Azure Virtual Machines

How To Manage Azure Virtual Machines

I will go through the first steps for managing Virtual Machines. We will create a Windows VM, start the Internet Information Service IIS,...

Dec 26, 2020

Azure API Management from the Portal

Azure API Management from the Portal

We will provision Azure API Management. Creating an instance of it is just a click in the Azure Portal. We’ll do it once to show how easy...

Mar 07, 2020

Logging in Azure API Management

Logging in Azure API Management

This post is a complete step-by-step guide on how to send logs from Azure API Management to Azure Event Hub with PowerShell. We start by ...

Apr 11, 2020

8 Actions to Cut Infrastructure Costs in 2021

8 Actions to Cut Infrastructure Costs in 2021

8 Actions to Cut Infrastructure Costs in 2021 is the result of a research I did. I wanted to know more about the impact of the pandemic f...

Jan 10, 2021

Azure API Management with Terraform

Azure API Management with Terraform

Terraform is a popular tool for managing infrastructure resources. I counted about 120 supported providers. Azure is one of them. In this...

Apr 04, 2020

AZ-303 Self-Study Guide for Becoming an Azure Solution Architect

AZ-303 Self-Study Guide for Becoming an Azure Solution Architect

Microsoft updated it’s role based exam for AZ-300. It’s now called AZ-303 and launched last year. This certification is a great proof for...

Feb 01, 2021

Backup and Restore in Azure API Management

Backup and Restore in Azure API Management

As infrastructure gets more complex, more parts will eventually break. This is even more true as we make frequently changes. Sometimes we...

May 02, 2020

Serving Website Images from Azure CDN with SSL

Serving Website Images from Azure CDN with SSL

In this post I will show you step by step how to serve images on a website from Azure CDN with SSL enabled. My blog has a couple of Azure...

Apr 25, 2020