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
preguntada hace 2 años367 visualizaciones
2 Respuestas
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
respondido hace 2 años
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
respondido hace 2 años
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas