sql server - Best practice to store link to Amazon S3 object on local DB -


i have application uses sql server store info amazon s3 objects stored.

so store in local db table:

  • filename
  • size
  • mime type
  • creation date
  • amazon s3 location

we still want know if there best practice store links amazon s3 objects.

appreciate advice.

you can use amazon simple db store info, way of accessible within amazon. example python boto api this:

import boto.sdb  conn = boto.sdb.connect_to_region('us-west-2') conn.create_domain('s3-metadata')  sdb_domain = conn.get_domain('s3-metadata')  object_name = 'my_object_name' object_attrs = {'size': 223424, 'filename': 'myfilename', 'creation_date': '20140325'}  sdb_domain.put_attributes(object_name, object_attrs) 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -