openshift geospatial capabilities
Post on 12-May-2015
2.770 Views
Preview:
DESCRIPTION
TRANSCRIPT
1
Platform as a Service (OpenShift PaaS) for
Geospatial Applications
Steven Citron-PoustyPaaS Dust Spreader, Red Hat
2
Agenda
• Learn a little about Cloud and PaaS
• See some spatial running on PaaS
• Let you ask questions
• Set you up to ROCK!
3
1) You can use the command line
2) You know some spatial
3) You prefer to write code and apps over managing servers
Assumptions
4
What is OpenShift?
Red Hat's free, auto-scaling Platform as a Service (PaaS) for applications in the cloud.
5 Dalbera on Flickr
6
Kind of like Amazon, right? Nope.
7
What’s supported?
8Cook24v on Flickr
9
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
+ =
11Crsan on flickr
12
Let’s do some spatial
13
What do you need first – A spatial datastore
Let’s start with PostGIS
14 New Jersey Bird on flickr
15
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
Demo (PostGIS) *-domain.rhcloud.com
16
But since we all like to be cutting edge – time for NoSQL with MongoDB!
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
18
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
Demo (MongoDB)
19
But what if you don’t want to write your own code
Time to deploy GeoServer and hook it up to PostGIS
Demo
1)Download the war file
2)Insert the jboss file
3)Add to local git repo
4)Deploy to OpenShift
5)Configure
20
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!)
Conclusion
21
Password: storekbuildingAps:CodeForAmerica-GuestCodeForAmerica-Guest 5Ghz
Tamara.colby@gmail.com
top related