10. Looks great, but what’s the catch?
• OpenShift is free-as-in-beer & free-as-in-freedom
• Three gears – 512mb RAM, 1 gig Disk (always free)
• Need more resources, just ask!
• The Catch is we are in developer preview right now
+ =
10
15. Demo (PostGIS) *-domain.rhcloud.com
1. Sign up
2. Install the command line tools (you can use the web for
some but not all)
3. Create a domain
4. Create a Java application (will put GeoServer here
later)
5. Add PostgreSQL cartridge
6. Make changes in your git repo this once
7. SCP and SSH into your “server” to
1. Create postgis DB
2. load the data
3. Make a query or two
15
16. But since we all like to be cutting edge – time for
NoSQL with MongoDB!
16
17. Brief Facts about MongoDB
1) Document Store – stores in JSON (really BSON)
2) FOSS – written by the people at 10gen
3) Has very limited spatial
4) Good Enough for FourSquare, Craig’s List, and
OpenShift Service
17
18. Demo (MongoDB)
1. Create a Java application
2. Add MongoDB cartridge
3. SCP and SSH into your “server” to
1. load the data
2. Make a query or two
18
19. But what if you don’t want to write your own code
Time to deploy GeoServer and hook it up to PostGIS
Demo
4)Download the war file
5)Insert the jboss file
6)Add to local git repo
7)Deploy to OpenShift
8)Configure
19
20. Conclusion
1. All the spatial parts are ready to use today
2. OpenShift makes life great for devs
3. The tools are easy to use
4. Almost anything you need on a server
5. Did I mention – Free (as in Beer and FREEDOM!)
20