Lambda - XML to PDF convertor

0

Hi All

I have a few servers that are EOL and I'm looking at moving the solution to a serverless.

These servers simply use Java 7 and Open Office 4.0 to convert a dumped xml file into a pdf file so upgrading to new OS and using hardware seems pointless.

My plan was originally to utilise and API gateway, S3 bucket, SQS queue and Lambda function to accomplish this although I'm a little new to serverless solutions and have been trying to find the correct way to achieve this.

I found an article I tried to follow using Pulumi and AWS, but to be honest was over complicated to follow and couldn't understand where to deploy the suggested code via Pulumi to create all required resources in AWS.

I was hoping for a simpler solution that one of you clever people may know of, using a friendlier step by step guide to follow without using Pulumi to accomplish this, so please all suggestions welcome if anyone has a better suggestion?

Appreciate any guidance on this matter.

Many thanks

Mark

profile picture
MarkB
質問済み 8ヶ月前273ビュー
1回答
2

Hi MarkB,

It is ideal to use the following, to get a serverless alternative to your existing application:

  • API gateway, for exposing API endpoints
  • S3 bucket, for input and output file storage
  • SQS queue, for asynchronous processing
  • Lambda function, for application to convert file
  • DynamoDB, to keep track of processed files and metadata [Optional]

To achieve this you don't necessarily need to use Pulumi, as it is a developer-friendly IaC tool to ease things out.

If you are not comfortable with IaC, you can start by creating an architecture in which you want the processing to be done, and then manually configure resources and application code using AWS Console to set things up. And, if everything works as expected, then you can optionally, try to convert it to a CloudFormation template or CDK/Pulumi code.

For developing such architecture, you can refer to these resources:

Please let me know in case you need any guidance related to specific resources/configuration/architectural components.

Hope this helps.

Thanks!

profile picture
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ