Forum Discussion

AndrewX's avatar
AndrewX
Iron Contributor
Nov 02, 2019
Solved

Running server-less in azure?

Hello, i have developed a continuous running script/app that integrates two systems, pulling data out of one and posting into another.  It is currently written in PowerShell, it has no UI, it just ne...
  • chilberto's avatar
    chilberto
    Nov 03, 2019

    Interesting scenario, thanks for sharing AndrewX. Does your IDP ever run out of information? As in does the return url ever return an empty result? Is there a concern that if you change to every minute, more than one function could post the same information to the elasticsearch? 

     

    Depending on where you see this solution going, you might want to look at pushing this information into the Event Hub. Take this as a basis. Your situation is simpler now but the nice thing is once you are in the cloud you have more flexibility as to how to handle the information. 

     

    My suggestion though is to start with what you have and see if you can get it to run in Azure Functions. You will need something to start your function: http call, file drop or timer for example. Then once it is running you could try to just run continuously. My concern is after an unpredictable amount of time the function will stop without a clear reason why so you will need some mechanism to start it again. That is why I like the timer idea.

     

    This is an interesting one though, and I for one would appreciate if you did a post on how you solve this. Cheers - Jeff

     

     

Resources