Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to store pointer to S3 objects in Amazon SimpleDB?

I'm trying to figure out how to store a database consisting of metadata in Amazon SimpleDB, with the actual content the metadata refers to (videos) in S3. As I understand it, I should place a pointer in SimpleDB that refers to the videos in S3. What is this pointer, exactly? Is it the URL of the video located in S3?

Also, are there any code samples that would pertain to this?

Thanks!

like image 876
Waffles Avatar asked Dec 19 '25 17:12

Waffles


1 Answers

You're right, just enter the url on simpleDB and you're done. What you're trying to do is pointed as an use case: http://aws.amazon.com/en/simpledb/usecases_metadata_indexing/

Taking a look at the code library, you can filter by S3 or SimpleDB and you'll find examples like SimpleDB PHP Sample Program Set and Travel Log - Sample Java Web Application.

Regards.

like image 86
tvdias Avatar answered Dec 22 '25 15:12

tvdias



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!