Skip to content

Ligoj plugin for Azure instance life cycle management : scheduled ON/OFF

License

Notifications You must be signed in to change notification settings

ligoj/plugin-vm-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Ligoj Azure VM plugin Maven Central

Coverage Quality Gate Codacy Badge CodeFactor Maintainability License

Ligoj EC2 AWS plugin, and extending VM plugin Provides the following features :

  • Supported operations from the VM plugin : ON, OFF, REBOOT, RESTART. No suspend or resume.
  • Use AWS secret and access key with AWS API 4.0

Dashboard features :

  • Status of the VM, including the intermediate busy mode
  • OS
  • DNS and IP
  • Disk size
  • CPU
  • RAM

Subscription parameters

  • Tenant ID (Directory ID)
  • Application ID (Identifier of application account of ligoj)
  • Key (secret token of application account of ligoj)
  • Subscription ID
  • Resource group name
  • VM (RM) name

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"
  • Click on the created 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 Only RM type "VM" are supported, no "Classic". Only the VM name is stored, not its identifier. So a deleted VM and then recreated with the same name is not lost by ligoj.

About

Ligoj plugin for Azure instance life cycle management : scheduled ON/OFF

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published