How to automate disparate technology process in Azure

General Tech Technology & Software 2 years ago

0 3 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (3)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I have a weekly process that I wish to automate in Azure. The overall process consists of about 5 distinct sub-processes. Total execution time is approximately 8 hours. The sub-process technologies include:

  1. A third party data loader program that runs on a Windows VM in Azure. This program is able to send an email upon completion. This process then needs to trigger...

  2. T-SQL scripts running on a Windows VM in Azure which upon completion needs to trigger...

  3. SSIS jobs running on a Windows VM in Azure which upon completion needs to trigger...

  4. A c# application that runs on a Windows VM in Azure which upon completion needs to trigger...

  5. Python code running on a linux VM in Azure.

My question is: what Azure technology or technologies (e.g. automation runbook, logic app) could be used to stitch this thing together to give me back my weekend? Thank you in advance.

profilepic.png
manpreet 2 years ago

To answer your question, yes, sure, there's ways to automate the process using Azure. I would choose Logic Apps because Business Process Automation is one of it's primary use cases. But...that's the easy part!

The hard part for you is making these disparate apps accessible to outside services. Running within Windows VM's, they don't have natural endpoints like native Azure Services.

There's lot's of ways to do this, depending on you ability to modify the VMs and programming skills.

Continued: Since all the VM are in the same domain and network connected, the first thing would look at is a bit old school (new and shiny isn't always the best), Windows Tasks. At least for 2-4.

Meaning, a Schedule Task on #2 can check for the email, then run its SQL, then start a Task on #3.

#3 can run it's jobs then start a task on #4 that runs the c# program. Then #4 can trigger the Python script. Your big gap then is how to trigger the Python script. That could be as simple as FTP'ing a trigger file for task on #5 to see.

The Windows scripting can be done in PowerShell. Not very elegant, but neither is your environment.

Finally, and almost the most important, you can use Azure Monitor and a custom log format to track the process.


0 views   0 shares

profilepic.png
manpreet 2 years ago

To answer your question, yes, sure, there's ways to automate the process using Azure. I would choose Logic Apps because Business Process Automation is one of it's primary use cases. But...that's the easy part!

The hard part for you is making these disparate apps accessible to outside services. Running within Windows VM's, they don't have natural endpoints like native Azure Services.

There's lot's of ways to do this, depending on you ability to modify the VMs and programming skills.

Continued: Since all the VM are in the same domain and network connected, the first thing would look at is a bit old school (new and shiny isn't always the best), Windows Tasks. At least for 2-4.

Meaning, a Schedule Task on #2 can check for the email, then run its SQL, then start a Task on #3.

#3 can run it's jobs then start a task on #4 that runs the c# program. Then #4 can trigger the Python script. Your big gap then is how to trigger the Python script. That could be as simple as FTP'ing a trigger file for task on #5 to see.

The Windows scripting can be done in PowerShell. Not very elegant, but neither is your environment.

Finally, and almost the most important, you can use Azure Monitor and a custom log format to track the process.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.