ftp to azure storage blob (triggered processing)

后端 未结 5 2203
醉酒成梦
醉酒成梦 2021-01-21 11:06

I want to transfert encrypted files from an ftp server to `azure blob storage container

Here is the workfow in question:

CSV

5条回答
  •  情书的邮戳
    2021-01-21 11:26

    After some researches and based on the answer of evilSnobu and the comments of Johns-305, i figured out that the best way to do this is like following...

    note: I have an Azure Api App developed to do content decryption

    Based on this grid, the best choice here is obviously logic apps to design my workflow:

    Inside my Logic App

    1. Create ftp trigger : When a files is added on ftp -> Create a blob on Azure storage & Delete file from ftp
    2. Create an Azure function

      (Azure function vs web jobs in the below grid)

      based on blob creation trigger, when a blob is created call decryption api app.

    3. For granularity reasons and to make azure function do only one elementary job, i have to create a second Azure function to do the file parsing and creation of by version-folders depending on version field content of the file

    And based on the following grid, we can tell why azure Functions fit better than web jobs in my case

    Finally, summarize this, i can say that in my case, i need to have a developer view of my solutions so that's why i needed the logic app mainly, then i have to do two elementary tasks which are trigger based not continious so that's better suited to Azure Functions and a lot cheaper (since files are not big and processing will be very quick)

提交回复
热议问题