I want to automatically launch an EC2 instance whenever a user uploads data to my datadump-input
S3 bucket. The EC2 instance should then:
- Start
- Download the file from
datadump-input
and process it with pre-loaded Python scripts
- Stop
What's the easiest way to do this? Specifically, how do I get the file from the S3 bucket to the EC2 instance? The filename will be different on each upload.
I was thinking Lambda but am open to other services.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…