title: How to emulate persistent file-system on cloudfoundry/similar PaaS?
body: <p>In Cloudfoundry, there is no persistent file-system storage in the app containers. The standard suggestion is to use DB, but I have a specific scenario where write to persistent file is needed. I use a 3rd party app that requires storing config data on file. I can select the file path but I cannot override the persistent file storage requirement. </p>
  
  <p>Is there any library that abstracts filesystem visible to Java and actually stores files on Amazon S3? </p>
  
  <p>It is only one single file that builds up as we go along. The file size is about 1 MB but could reach a few MBs. </p>