简体   繁体   中英

How to trigger a python script on a AWS EC2 instance when a file is placed in S3 bucket? (No Lambda)

We have a requirement to trigger a python script that is on AWS EC2 instance when a file arrives in a S3 bucket. we were told not to use AWS Lambda. Please share the options available to trigger.

Take a look at How Do I Enable and Configure Event Notifications for an S3 Bucket? for all S3 event options.

You can trigger SNS, SQS, or Lambda. You'll have to consider what approach you want to take with SNS or SQS. Try something like long polling SQS from a process running on your EC2 instance.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM