3

im wondering if its possible to create a temporary serving url for files on Google Cloud Storage.

i have a GAE app and i would like to serve bigger video files over google storage for develpers without 'straming' the files over my appengine app like here.

i would like to have a temporary seving url in my page which gets generated on request to avoid other pages to embed the videos. is that possible on on google storage? what is the best way to do this?

thx

fejta
  • 3,061
  • 2
  • 17
  • 22
aschmid00
  • 7,038
  • 2
  • 47
  • 66
  • 1
    Why not use the App Engine blobstore? It's designed for exactly this. – Nick Johnson Dec 14 '10 at 23:59
  • will i be able to upload a blob of a few 100mb? isn't there a 30seconds limit on requests? or is this not affecting an upload to the blobstore? – aschmid00 Dec 15 '10 at 14:53
  • and what about streaming videos and offsets on those files? – aschmid00 Dec 15 '10 at 15:23
  • ...just seen it would support that. are there some code snippets to check out somewhere? – aschmid00 Dec 15 '10 at 16:32
  • I am having the same question. If Google Storage cant do this, then I have to use Amazon s3 with Query String Authentication. – DocWiki Jul 01 '11 at 20:28
  • @aschmid00 As Nick said: The 30 second execution time limit only applies to the time your code actually spends executing - which doesn't begin until the user has sent the entire request, and ends as soon as you send your response (before they receive it). – DocWiki Jul 05 '11 at 17:06

2 Answers2

1

Take a look Google Cloud Storage's signed urls feature:

Can I do a resumable upload with a Google Cloud Storage signed URL?

Community
  • 1
  • 1
fejta
  • 3,061
  • 2
  • 17
  • 22
0

Try Signed URLs

Each signed url can be set a expired time from 15 minutes to 7 days.

This should work for you.

Thai Boy
  • 141
  • 2
  • 5