Reputation: 41
I need to run a python script file on the 20th of every month. This code will read the tsv file (stored somewhere) then call to the fee registration API and log the response to a file and save it. The processed tsv file will be moved to the processed folder. I dont know the best way to implement this in AWS?
Manual approach is:
What is the best way to implement this in AWS? What is the best way to implement file storage and upload?
Upvotes: 0
Views: 963
Reputation: 269500
You can do it without an Amazon EC2 instance:
AWS Lambda functions provide 512MB of storage in the /tmp/
directory, so you can download the TSV file to there, perform your operations and then upload the resulting file back to S3.
You will only be charged for the duration that the Lambda function actually runs.
Upvotes: 2