Skip to the main content.

ScriptRunner Blog

How to use Azure templates for IT automation

Table of contents

 

 

Post Featured Image

This blog article is intended for technical staff who deploy resources in Microsoft Azure. The starting point when deploying Azure resources is the Azure Portal. This is where the Azure Services are configured.

An important issue is that resources can be created in a standardised way in order to ideally always get the same end result.

But what to do?

We have known this feature in virtual environments for a long time. Existing virtual machines are used to generate templates from them.

Subsequently, these are rolled out as often as required, depending on demand and capacity.

With Azure, the process is somewhat different. If we create a resource, e.g. a virtual machine, in the last step, if we have filled in everything correctly. There is the option to export the configuration once - for this purpose we select the item "Download a template for automation":

01_create a virtual machine

The JSON file is displayed on the next page. In the upper area I have the option of downloading the file, saving it in the library or deploying the template directly.

02_template gallery download

By choosing download, a ZIP file is created and downloaded; when "Add to Library" is selected, the template ends up in the Template Gallery.
This gallery can be found in the portal at the "Template Specs".

03_template specs

In this template spec, I can now select the referring template and deploy it. If I have downloaded the ZIP file, I can import it via the Marketplace:

04_create a resource

In the following dialogue, I can now add the content of the JSON file, or also add it from existing templates from the template spec.
In addition, there are preconfigured templates from Microsoft Azure that simplify the creation, too.

05_custom deployment

The templates provide the company with many possibilities to create resources in a standardised and secure way. The main advantage is that we are not only limited to virtual machines but can also automate apps, access points such as Azure Gateway & Loadbalancer or SQL databases.

 

Good2know

ActionPacks for Azure

ScriptRunner helps you create resources in Azure. Many scripts are available in our ActionPacks that make it easier to create and manage resources.

Before you start running Azure scripts, make sure that the ScriptRunner server has been set up correctly to perform actions in Azure. The appropriate Azure modules must be present on the server. Our Trial Guide describes how to perform the integration. ("Registering ScriptRunner with Azure AD")

After downloading our software free of charge, our documentation guides you, and if the trial guide cannot answer your question, our support will be happy to help. Have fun testing!

06_azure action packs

 

Click here for the ActionPacks!

 

 

Automate your Azure administration – It's easy!

Would you like to simplify and speed up the management of your Azure services? PowerShell offers a lot of possibilities to achieve that.

In this webinar, we will show you how you can use the Azure Az PowerShell module and ScriptRunner to easily and securely automate and delegate many recurring tasks (e.g. managing virtual machines and resource groups).

The webinar is aimed at administrators, solution architects and IT team leads.

SR-Azure-Webinar-Website-EN

 

Learn how to simplify your Azure administration:

  • Use cases for the current Azure Az Modul and the Azure CloudShell
  • Azure VM and resource group administration with PowerShell
  • Safe and easy delegation of Azure management tasks
  • Central administration of Powershell scripts, modules and credentials
  • We'll also cover Azure Active Directory use cases

 

Click here for the webinar!

 

 

Related links

Related posts

5 min read

How to use Azure templates for IT automation

This blog article is intended for technical staff who deploy resources in Microsoft Azure. The starting point when...

5 min read

Azure Arc & integration in VMware vSphere

In today's world, IT operations requirements are changing. Systems are no longer installed and operated only in the...

3 min read

ScriptRunner now available in the Microsoft Azure Marketplace

Microsoft Azure customers worldwide now gain access to ScriptRunner to take advantage of the scalability, reliability,...

About the author: