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

48
February 09, 2019, at 11:50 AM

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?

Answer 1

with aws lambda you can use database like dynamo db which is not sql database and from there you can download csv file.

with lambda to dynamo bd integration is so easy lambda is serverless and dynamo db is nosql database.

so you can save data into dynamo db also you can use RDS(Mysql) and use man other service but best way will be dynamo db.

Answer 2

It really depends on what you want to do with the information afterwards.

If you want to keep it in a file, then simply copy it to Amazon S3. It can store as much data as you like.

If you intend to query the information, you might choose to put it into a database instead. There are a number of different database options available, depending on your needs.

READ ALSO
Natural language library on Google cloud

Natural language library on Google cloud

Has anyone been successfully experiment third party natural language processing library on google cloud (python 2, standard environment)?

42
Reusing image slider with ID

Reusing image slider with ID

I am trying to use a pure html/css image slider on a webpage which was working great until I tried to put a second slider on the same pageIn the code snip below you will see that IDs are used to map labels to sections to allow the transition between elements

32
How can i get my PHP SoapClient to Authenticate with Digest

How can i get my PHP SoapClient to Authenticate with Digest

I currently have a vbnet ASMX web service hosted on IIS along with a PHP page which is calling the web service via a SoapClient

31
i know that closure can use as variable value.But i am confused which are called this value

i know that closure can use as variable value.But i am confused which are called this value

I'm declaring an anonymous function hereIn this code I want to know what is the value or expression of variable $a

29