How 'upload file' to Cloud Foundry ?

435 views
Skip to first unread message

kelby lee

unread,
Nov 26, 2012, 1:59:12 AM11/26/12
to vcap...@cloudfoundry.org
I have a rails app, which use Paperclip or  Carrierware to implement 'upload file'.
But i found it don't work, so are Cloud Foundry (specific www.cloudfoundry.com) support 'upload file' ?

If not, how cloud i modify my code to implement similar function by a easy way?
Give me some tips, thx.

Lei Zhang

unread,
Nov 27, 2012, 11:55:56 PM11/27/12
to vcap...@cloudfoundry.org
Try to use MongoDB if you need persistent file storage. Or you can also explore Filesystem service in CF.


2012/11/26 kelby lee <leek...@gmail.com>

Jeremy Voorhis

unread,
Nov 28, 2012, 12:24:59 AM11/28/12
to vcap...@cloudfoundry.org
You could use MongoDB to store large objects, or use and object store like Amazon's S3, RiakCS, or if you're deploying CloudFoundry yourself, then CloudFoundry's filesystem service or vBlob store.

One of CloudFoundry's operating principles is that data must be persisted within a service. The filesystem within which an app runs is ephemeral, and can be reset at any time.

Hope that helps,
--
Jeremy Voorhis
Sr Engineer – AppFog
+1 503.319.0075

Reply all
Reply to author
Forward
0 new messages