Openshift GeoSpatial Capabilities

3,072 views

Published on

My Talk at the SF Geomeetup meeting. I didin't get through all the slides but they are here.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,072
On SlideShare
0
From Embeds
0
Number of Embeds
1,915
Actions
Shares
0
Downloads
18
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Openshift GeoSpatial Capabilities

  1. 1. Platform as a Service (OpenShift PaaS) for Geospatial Applications Steven Citron-Pousty PaaS Dust Spreader, Red Hat1
  2. 2. Agenda • Learn a little about Cloud and PaaS • See some spatial running on PaaS • Let you ask questions • Set you up to ROCK!2
  3. 3. Assumptions 1) You can use the command line 2) You know some spatial 3) You prefer to write code and apps over managing servers3
  4. 4. What is OpenShift? Red Hats free, auto-scaling Platform as a Service (PaaS) for applications in the cloud.4
  5. 5. 5 Dalbera on Flickr
  6. 6. Kind of like Amazon, right? Nope.6
  7. 7. What’s supported?7
  8. 8. Cook24v on Flickr8
  9. 9. 9
  10. 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
  11. 11. Crsan on flickr 11
  12. 12. Let’s do some spatial12
  13. 13. What do you need first – A spatial datastore Let’s start with PostGIS13
  14. 14. 14 New Jersey Bird on flickr
  15. 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. 16. But since we all like to be cutting edge – time forNoSQL with MongoDB!16
  17. 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 Service17
  18. 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 two18
  19. 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)Configure19
  20. 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
  21. 21. Password: storekbuilding Aps: CodeForAmerica-Guest CodeForAmerica-Guest 5Ghz Tamara.colby@gmail.com21

×