Skip to content

Using AWS Lambda to run Python script, how can I save data?

0

I have a script that gathers data from an API, and running this manually on my local machine I can save the data to a CSV or SQLite .db file.

If I put this on AWS lambda how can I store and retrieve data?

asked 7 years ago1.1K views

2 Answers
0

To see an example of a Lambda function that reads from DynamoDB, install the AWS SAM CLI, then do sam init and choose option 7 7 - Serverless API.

answered 3 years ago

0

You can also save files to S3 from a lambda function - see sample code here

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.