HCL SW Blogs
Select Page

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.

Manage your Azure Resource

“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.

Manage your Azure Resource

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.

 

Manage your Azure Resource

 

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.

 

Manage your Azure Resource

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.

 

Manage your Azure Resource

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.

Manage your Azure Resource

Figure 3 Action Tab

Manage your Azure Resource

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.

Manage your Azure Resource

Figure 5 Submit Job

Manage your Azure Resource

Figure 6 Monitor Job

 

Manage your Azure Resource

Figure 7 Job Log

 

Manage your Azure Resource

Figure 8 Workflow Details

Manage your Azure Resource

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 BIOS 

Shubham Chaurasia

Shubham Chaurasia – Developer at HCLSoftware

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.

LinkedIn : https://www.linkedin.com/in/shubham-chaurasia-1a78b8a9/

 

 

Rabic Meeran K

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++.

LinkedIn: https://www.linkedin.com/in/rabic-meeran-4a828324/

 

 

 

Saket Saurav

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.

LinkedIn: https://www.linkedin.com/in/saket-saurav-8892b546/

Comment wrap
Further Reading
Workload Automation System
Automation | January 13, 2023
Quantitative Evaluation of the Scalability of the Workload Automation System With a Web UI Front-End
Quantitative Evaluation of the Scalability of the Workload Automation System with a Web UI Front-EndHere, we share an approach for the quantitative evaluation of the scalability of a system with a web UI front-end, which has been applied to HCL Workload Automation during the performance verification test phase.
Workload Automation Administrator
Automation | September 26, 2022
Easy Websphere’s Liberty Management for the Workload Automation Administrator
Learn about how HWA main components are deployed on WebSphere liberty, that was designed to be highly efficient and optimized for modern cloud technologies.
Close
Filters result by
Sort:
|