Sunday, November 28, 2021

Bicep Templates for APIM Configuration - Part 1

Here are some of the Bicep templates I came across when working through. 

Create an APIM Instance


resource apim 'Microsoft.ApiManagement/service@2021-04-01-preview' = {
  name: apimName
  location: region
  sku: {
    name: sku
    capacity: 1
  }
  properties: {
    publisherEmail: publisherEmail
    publisherName: publisherName
    virtualNetworkConfiguration: {
      subnetResourceId: '/subscriptions/${subscription().subscriptionId}/resourceGroups/${resourceGroup().name}/providers/Microsoft.Network/virtualNetworks/${virtualNetworkName}/subnets/${subnetName_ApimAccess}'
    }
    virtualNetworkType:'External'
  }
}

This example allows the APIM to be connected to a subnet on a virtual network.

Sunday, November 14, 2021

Azure Cloud Adoption Framework: Where to start?

 With my brief time of over 6 years on Azure, I have involved with many migrations, new developments as well as lift and shifts. One question that every instance had in our minds was where to start? This is a very business critical question. Developers often like to see good processes and practices while managers do like to see results soon. End of the day one of the key unclear reason to go to cloud is believing cloud can do super stuffs at a lower price. Is it so?