Just in case CF gets too expensive, how feasible would the OpenShift platform be as second choice?
Requirements:
Looking at https://www.openshift.com/pricing/index.html
it says that running a "Medium Production gear" of 1GB costs $0.05 / hour.
For a year this is 24x365x0.05 = $ 438,- per year
Searched around a bit, came to http://www.tearsofaunicorn.com/articles/2013/11/24/deploying-dropwizard-to-openshift.html
.... TBC
It says you should use a DIY cartridge, which then says:
The Do-It-Yourself (DIY) application type is a blank slate for trying unsupported languages, frameworks, and middleware on OpenShift. See the community site for examples of bringing your favorite framework to OpenShift. OpenShift maintained Receives automatic security updates
Start to create a DIY project and enter my (ssh) git url, but it says :
Source code repository could not be cloned: 'git@github.com:metskem/demoapp1.git'. Git clone using SSH requires the OpenShift server to authenticate to the repository. Please verify the repository is correct, and try a non-SSH URL such as HTTPS.So trying the https version https://github.com/metskem/demoapp1.git
It takes about a minute, then my app is created. It again warns me:
Disclaimer: This is an experimental cartridge that provides a way to try unsupported languages, frameworks, and middleware on OpenShift.
It provides me an Overview page
and instructions how to do code changes:
git clone ssh://583f185e2d5271b8c6000069@diy-computerhok.rhcloud.com/~/git/diy.git/ cd diy/
My app of course fails because it requires one envvar ( How do I provide envvars in advance? )
The overview page BTW says my app is started, but it is not (I also get a 503, from a RedHat Apache server of course).