openshift geospatial capabilities

21
1 Platform as a Service (OpenShift PaaS) for Geospatial Applications Steven Citron-Pousty PaaS Dust Spreader, Red Hat

Upload: steven-citron-pousty

Post on 12-May-2015

2.768 views

Category:

Technology


0 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Openshift GeoSpatial Capabilities

1

Platform as a Service (OpenShift PaaS) for

Geospatial Applications

Steven Citron-PoustyPaaS Dust Spreader, Red Hat

Page 2: Openshift GeoSpatial Capabilities

2

Agenda

• Learn a little about Cloud and PaaS

• See some spatial running on PaaS

• Let you ask questions

• Set you up to ROCK!

Page 3: Openshift GeoSpatial Capabilities

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

Page 4: Openshift GeoSpatial Capabilities

4

What is OpenShift?

Red Hat's free, auto-scaling Platform as a Service (PaaS) for applications in the cloud.

Page 5: Openshift GeoSpatial Capabilities

5 Dalbera on Flickr

Page 6: Openshift GeoSpatial Capabilities

6

Kind of like Amazon, right? Nope.

Page 7: Openshift GeoSpatial Capabilities

7

What’s supported?

Page 8: Openshift GeoSpatial Capabilities

8Cook24v on Flickr

Page 9: Openshift GeoSpatial Capabilities

9

Page 10: Openshift GeoSpatial Capabilities

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

+ =

Page 11: Openshift GeoSpatial Capabilities

11Crsan on flickr

Page 12: Openshift GeoSpatial Capabilities

12

Let’s do some spatial

Page 13: Openshift GeoSpatial Capabilities

13

What do you need first – A spatial datastore

Let’s start with PostGIS

Page 14: Openshift GeoSpatial Capabilities

14 New Jersey Bird on flickr

Page 15: Openshift GeoSpatial Capabilities

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

Page 16: Openshift GeoSpatial Capabilities

16

But since we all like to be cutting edge – time for NoSQL with MongoDB!

Page 17: Openshift GeoSpatial Capabilities

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

Page 18: Openshift GeoSpatial Capabilities

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)

Page 19: Openshift GeoSpatial Capabilities

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

Page 20: Openshift GeoSpatial Capabilities

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

Page 21: Openshift GeoSpatial Capabilities

21

Password: storekbuildingAps:CodeForAmerica-GuestCodeForAmerica-Guest 5Ghz

[email protected]