Packaging Lambda functions into a Cloud formation Template for sharing and deployment

0

Hi - I have a requirement to build a file parser for mainframe fixed file from S3 and push the results to Elastic Search. I have written bunch of lambda functions using Python orchestrate by step functions. I need to package this as a solution as customers are interested to this use this POC code artifacts and enhance it for their environment. I am looking for a better to option to package my functions and sharing it. Please advise.

AWS
已提问 2 年前367 查看次数
2 回答
1

You can use AWS Serverless Application Model to package your step-function and lambda functions - https://docs.aws.amazon.com/step-functions/latest/dg/tutorial-state-machine-using-sam.html

AWS
已回答 2 年前
0

You could use AWS SAR if you are happy for this code to be public. Otherwise, similarly to how SAR does it, have the same template structure etc. but you then need to grant access to the bucket that stores your Lambdas code so that they can use it. Mind you, you will need to then publish the functions into buckets for each region. For example, with this template you I distribute the Lambda layer and the functions "all in one". If I wanted that to be private, the only thing for me to do is to have codebuild push to each S3 bucket (1 per region) and later on grant the access to the customers for them to pull there.

profile picture
已回答 2 年前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则