英文:
Easiest way to run Java program in the Cloud?
问题
我正在为我们公司做一个小的辅助项目,该项目执行以下操作:
- 通过 Office 365 Outlook 接收到的基于PDF的文档会被临时存储在OneDrive中,使用Power Automate。
- 使用一些Java库从PDF中提取文本数据。
- 根据提取的数据创建适当的文件名和文件路径。
- 将PDF文件永久保存在OneDrive中。
目前的问题是,我的Java程序是在本地运行的,即点2、3、4需要在我的个人电脑上运行24/7的代码。我想过渡到基于云的解决方案。
最简单的方法是什么?解决方案不必是免费的,但不应超过每月20美元。我们公司已经有Azure订阅,尽管我还不熟悉Azure。
英文:
I'm working on a small side-project for our company that does the following:
- PDF-based documents received through Office 365 Outlook are temporarily stored in OneDrive, using Power Automate
- Text data is extracted from the PDFs using a few Java libraries
- Based on extracted data an appropriate filename and filepath is created
- The PDFs are permanently saved in OneDrive
The issue right now is that my Java program is locally-run, i.e. point 2,3,4 require code to run 24/7 on my PC. I'd like to transition to a Cloud-based solution.
What is the easiest way to accomplish this? The solution doesn't have to be free, but shouldn't cost more than $20/mo. Our company already has an Azure subscription, though I'm not familiar yet with Azure.
答案1
得分: 1
你正在寻找的是使用无服务器计算执行模型的解决方案。在这里,Azure Functions似乎是一个可能的选择。它似乎具有对OneDrive文件作出响应的输入绑定,以及类似的输出绑定。
费用将取决于文件的数量,而不是解决方案可用的时间。我假设我们正在讨论每月的文件数量较少,因此这将比其他执行模型更便宜。
英文:
What you are looking for is a solution that uses a serverless computing execution model. Azure Functions seems to be a possible choice here. It does seem to have input bindings that respond to OneDrive files and an likewise output bindings.
The cost will depend on the number of documents, not the time the solution is available. I assume we are talking about a small number of documents a month so this will come out cheaper than other execution models.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论