OpenShift 3 Webapp With Access to File System

439 Views Asked by At

I have a Tomcat 8 web app running on OpenShift 3.

I want to be able to read and write files on 'the file system'.

I have been wading through documentation and looking for examples of how to achieve this.

I see that there are many types of persistent storage, for example NFS, EBS, GlusterFS etc.

So, my first question is.

What is the best file system to use for simple read/write access to text based xml files?

Preferably like a *nix file system.

Any example would be much appreciated...

1

There are 1 best solutions below

6
On

The free OpenShift 3 Starter service ONLY allows 'filesystem storage' to EBS (Amazon Elastic Block Storage). Which can only be written to ONCE.

To get access to GlusterFS of NFS you have to go to the paid service which starts at $50 per month. They are the only filesystems that allow multiple writes to a file.