0

I have 3 very simple individual python scripts using boto3 library for downloading, updating & reloading the file back to s3 bucket in AWS, all working fine.

However, wondering if the same is possible using AWS Lambda function? Your experience sharing is much appreciated.

1 Answer 1

1

Your scripts should work fine with AWS Lambda as long as they are fine with the following limitations:

  • need at max 1536MB of memory
  • need at max 512MB of temporary disk space
  • finish in less than 5 minutes

For a full list of limitations of AWS Lambda have a look at http://docs.aws.amazon.com/lambda/latest/dg/limits.html

You even could react to S3 events when using AWS Lambda, so e.g. execute a script anytime a new object is created in S3. Check out the documentation if you're interested in that: http://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html#supported-event-source-s3

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.