Link Meteor to AWS S3


#1

HI, I need to create a webvapplication that allows and administrator to add documents to certain customers. So whenever a new customer is added to the system, I would want to dynamically create an S3 bucket for that customer (under an existing bucket). Then the administrator should be able to upload documents to that customers’ bucket.

Also, the webapp should reflect the current status of the customer’s documents. So if a document is deleted directly from S3, it should also be reflected in the Meteor app.

Any idea on how to do this?


#2

Use the AWS SDK package. That’s what I’m using in my projects. Then just follow the documentation provided by Amazon. Not sure about the status of the documents, but this is what Google came up with - AWS can send notifications of events to an (HTTP) endpoint; I haven’t used it though.

Hope it helps!