Skip to content

Ligoj plugin for Azure provisioning : fetch prices and Terraform implementation

License

Notifications You must be signed in to change notification settings

ligoj/plugin-prov-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Ligoj Azure plugin Maven Central

Coverage Quality Gate Codacy Badge CodeFactor License

Ligoj Azure provisioning plugin, and extending Provisioning plugin Provides the following features :

  • Prices are updated from the Azure API prices.
  • Supported services : Compute (including software) with all terms, Storage and managed databases (no DTU and Hyperscale)

Subscription parameters

  • Tenant ID (Directory ID)
  • Application ID (Identifier of application account of Ligoj)
  • Key (secret token of application account of Ligoj)
  • Subscription
  • Resource group

How to create/get these Azure parameters?

Tenant ID/Application ID and Key

Everything takes place in Azure Active Directory

  • Navigate to RegisteredApps
  • Click on New application registration
  • Fill the form : Name=ligoj, Application type=Web app / API, Sign-on URL=Ligoj URL, can be updated later
  • Create
  • Create registration
  • Copy the Application ID
  • Click on Keys (right panel)
  • In the Passwords panel, fill Key Description and Duration, then Save
  • Copy the one time displayed key value.
  • Navigate to Properties
  • Copy the Directory ID, used as Tenant ID by Ligoj

Resource Group

Navigate to Resource groups Copy the resource group name Grant the rights to ligoj account on the selected resource group

Subscription

Technical details

Used API is Microsoft.Compute (2017-03-30) Authentication is OAuth2, no required CLI to be installed