WORKLOAD AUTOMATION COMMUNITY
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
    • IWA 9.5 Roadshows
  • About
  • Contact
  • What's new

Manage your Azure Resource by using Azure Resource Manager with Workload Automation

1/7/2021

0 Comments

 
Picture
Let us begin with understanding of Azure what it is all about before moving to our Azure Resource Manager plugin and how it benefits our workload automation users. ​
Picture

​“Azure is an open and flexible cloud platform that enables you to quickly build, deploy and manage applications across a global network of Microsoft-managed datacentres. You can build applications using any language, tool, or framework. And you can integrate your public cloud applications with your existing IT environment.”

Azure is incredibly flexible, and allows you to use multiple languages, frameworks, and tools to create the customised applications that you need. As a platform, it also allows you to scale applications up with unlimited servers and storage.

What is an Azure resource?

In Azure, the term resource refers to an entity managed by Azure. For example, virtual machines, virtual networks, and storage accounts are all referred to as Azure resources.

​Each resource in Azure must belong to a resource group. A resource group is simply a logical construct that groups multiple resources together so they can be managed as a single entity based on lifecycle and security. For example, resources that share a similar lifecycle, such as the resources for an n-tier application may be created or deleted as a group. In other words, everything that is born together, gets managed together, and deprecates together, goes together in a resource group. Resource groups and the resources they contain are associated with an Azure subscription.

​An Azure subscription is like a resource group, it's a logical construct that groups together resource groups and their resources. An Azure subscription is also associated with the controls used by Azure Resource Manager. Take a closer look at Azure Resource Manager to learn about the relationship between it and an Azure subscription.

Picture

​What is Azure Resource Manager?​

Azure Resource Manager is the deployment and management service for Azure. It provides a management layer that enables you to create, update, and delete resources in your Azure account. You use management features, like access control, locks, and tags, to secure and organize your resources after deployment.
Picture
​To give more clarity on its benefits let us understand with below example:

With the shift to the cloud, many teams have adopted agile development methods. They need to repeatedly deploy their solutions to the cloud, and know their infrastructure is in a reliable state. As infrastructure has become part of the iterative process, the division between operations and development has disappeared. Teams need to manage infrastructure and application code through a unified process.

To meet these challenges, you can automate deployments and use the practice of infrastructure as code. In code, you define the infrastructure that needs to be deployed. The infrastructure code becomes part of your project. Just like application code, you store the infrastructure code in a source repository and version it. Any one on your team can run the code and deploy similar environments.

To implement infrastructure as code for your Azure solutions, use Azure Resource Manager templates (ARM templates). The template is a JavaScript Object Notation (JSON) file that defines the infrastructure and configuration for your project. The template uses declarative syntax, which lets you state what you intend to deploy without having to write the sequence of programming commands to create it. In the template, you specify the resources to deploy and the properties for those resources.

You can deploy ARM templates to Azure Environment by using Azure Resource Manager plugin with workload Automation. Using Azure SPN (Service principle Name) credentials user can login and can select the available resource group in the server (Azure) where template can be deployed.

​Let us begin with our plugin part with job definition parameters,
 
Azure Resource Manager Plugin
 
Log in to the Dynamic Workload Console and open the Workload Designer. Choose to create a new job and select “Azure Resource Manager Plugin” job type in the Cloud section.

Picture
Figure 1 Job Definition
​Connection Tab
 
Establishing connection to the Azure server: 
 
Connection Info
Use this section to connect to the Azure server.
 
Subscription - The ID that uniquely identifies your subscription to Azure Resource Manager. This attribute is required. If not specified in the job definition, it must be supplied in the plug-in properties file.
 
Client - The Azure Resource Manager Client ID associated to your SPN account. This attribute is required. If not specified in the job definition, it must be supplied in the plug-in properties file.
 
Tenant – The Azure Resource Manager Tenant ID associated to your SPN account. This attribute is required. If not specified in the job definition, it must be supplied in the plug-in properties file.
 
Password (Key) - The Azure Resource Manager Client Secret Key associated to your SPN account. This attribute is required. If not specified in the job definition, it must be supplied in the plug-in properties file.This is also known as client key.
 
Test Connection - Click to verify that the connection to the Azure server works correctly.
Picture
Figure 2.Connection Tab
​Action Tab
 
Use this section to work with Azure Resource Manager templates.
 
Template Information
 
Resource Group - The name of the resource group to which the subscriptions have been assigned to. This attribute is required. Click on Select to retrieve the list of Resource Groups associated to your account. The selected name appears in the Resource Group field.
 
Template Name - Enter the template name.
 
Template File Path - Enter the template file path or click Select to choose the template file path.
 
Template Content - Choose this option to enter the template content.
 
Template Parameter Information (Optional) - Select this option to add the parameter details of the template.
 
Template Parameter File Path - Enter the template parameter file path or click Select to choose the template parameter file path.
Template Parameter Content - Choose this option to enter the template parameter content.
Picture
Figure 3 Action Tab
Picture
Figure 4 Action Tab - Select Resource Group
​Submitting your job
​ 
It is time to Submit your job into the current plan. You can add your job to the job stream that automates your business process flow. Select the action menu in the top-left corner of the job definition panel and click on Submit Job into Current Plan. A confirmation message is displayed, and you can switch to the Monitoring view to see what is going on.
Picture
Figure 5 Submit Job
Picture
Figure 6 Monitor Job
Picture
Figure 7 Job Log
Picture
Figure 8 Workflow Details
Picture
Are you curious to try out the Azure Resource Manager plugin?   Download the integrations from the Automation Hub and get started or drop a line at santhoshkumar.kumar@hcl.com.

Author's Bio
Picture
Shubham Chaurasia - Developer at HCL Software

Responsible for developing integration plug-ins for Workload Automation. Hands-on with different programming languages and frameworks like JAVA, JPA, Microservices, MySQL, Oracle RDBMS, AngularJS. 
View my profile on LinkedIn
Picture
Rabic Meeran K, Technical Specialist at HCL Technologies 
 
Responsible for developing integration plug-ins for Workload Automation. Hands-on with different programing languages and frameworks like JAVA, JPA, Spring Boot, Microservices, MySQL, Oracle RDBMS, Ruby on Rails, Jenkins, Docker, AWS, C and C++.
View my profile on LinkedIn
Picture
​Saket Saurav, Tester (Senior Engineer) at HCL Technologies  
​
Responsible for performing Automation and Manual Testing for different plugins in Workload Automation using Java Unified Test Automation Framework. Hands-on experience on Java programming language, Web Services with databases like Oracle and SQL Server. 
View my profile on LinkedIn
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Archives

    March 2023
    February 2023
    January 2023
    December 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    June 2020
    May 2020
    April 2020
    March 2020
    January 2020
    December 2019
    November 2019
    October 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017

    Categories

    All
    Analytics
    Azure
    Business Applications
    Cloud
    Data Storage
    DevOps
    Monitoring & Reporting

    RSS Feed

www.hcltechsw.com
About HCL Software 
HCL Software is a division of HCL Technologies (HCL) that operates its primary software business. It develops, markets, sells, and supports over 20 product families in the areas of DevSecOps, Automation, Digital Solutions, Data Management, Marketing and Commerce, and Mainframes. HCL Software has offices and labs around the world to serve thousands of customers. Its mission is to drive ultimate customer success with their IT investments through relentless innovation of its products. For more information, To know more  please visit www.hcltechsw.com.  Copyright © 2019 HCL Technologies Limited
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
    • IWA 9.5 Roadshows
  • About
  • Contact
  • What's new