Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Containers for sensor web services, applications and research @ Sensor Web Conference, Münster

245 views

Published on

Using Docker for research and production in the Sensor Web / OGC SWE domain with examples from 52°North Sensor Observation Service and Helgoland.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Containers for sensor web services, applications and research @ Sensor Web Conference, Münster

  1. 1. Containers for Sensor Web Services, Applications and Research Aug 30, 2016 @ Geospatial Sensor Webs Conference, Münster, Germany Daniel Nüst, University of Münster, daniel.nuest@uni-muenster.de
  2. 2. Agenda Motivation Containerization (Docker) Reproducible Research ❤ Containers Docker for Geospatial Sensor Webs
  3. 3. http://www.slideshare.net/gmccance/cern-data-centre-evolution Pets vs. Cattle Motivation
  4. 4. Docker
  5. 5. Slide by Docker inventor & Docker, Inc. CTO Solomon Hykes, DockerCon 2014
  6. 6. https://www.docker.com/use-cases Motivation: mainstream IT use cases
  7. 7. Open access Open access to data Open access to data and procedures Reproducibility platforms (identification/citation/credit, viewing, and downloading) Meta-publications (Nature, Nature Geosciences, Science, …) Motivation: Open Science https://openaccessbutton.org/ Missing for reproducibility of computational research: access to and archival of runtime environments
  8. 8. To cut to the chase... Who of you can reproduce a scientific analysis conducted 5 years ago today? Who of you is sure she can start a multi-service demonstrator of a research project that was finished today in 5 years?
  9. 9. https://github.com/docker https://docker.com
  10. 10. https://www.docker.com/what-docker https://en.wikipedia.org/wiki/Operating-system-level_virtualization https://youtu.be/ki8CZkutoxQ Containerization using kernel features: namespaces libcontainer, LXC cgroups Houses vs. Appartments Docker @ ARM / RaspberryPI !
  11. 11. Docker basics Dockerfile … … Docker Image Docker Container build run pause stop/kill start logs cp exec rm stats docker-compose configuration … … use n Docker Container Docker Container Docker Container up down Docker CLI Docker Engine Docker Registry run
  12. 12. Docker for Reproducible Research
  13. 13. Executable Research Compendium Docker logo courtesy of Docker Inc.; Trafic lights Bluemix via Wikimedia Commons; crowbar by Delapouite via game-icons.net; zipper by RRZEIcons, cursor by Subhashish Panigrahi, via Wikimedia Commons;
  14. 14. http://o2r.info/almost
  15. 15. Docker for Geospatial Sensor Webs
  16. 16. 52°North Helgoland $ docker run -p 80:8080 52north/helgoland http://172.17.0.2:8080/#/ $ docker run -p 80:80 geocontainers/52n-helgoland http://localhost/#/ Differences: BRANCH env var, nginx vs. node, git clone during build (Hub)
  17. 17. 52°North SOS Whole (!) Dockerfile based on Debian (unsimplified) FROM tomcat:9 WORKDIR /tmp RUN curl -L -o sos-bundle.zip http://../491-52n-sensorweb-sos-bundle-4-3-7 RUN unzip -d sos-bundle sos-bundle.zip RUN cp sos-bundle/*.war $CATALINA_HOME/webapps/52n-sos-webapp.war RUN rm -r * Command to run image based on Alpine $ docker run --rm -p 80:8080 geocontainers/52n-sos-alpine # http://localhost/52n-sos-webapp/ docker-compose configuration (SOS + PostGIS DB)
  18. 18. 52°North SOS on Docker Cloud with AWS EC2 ”1 Minute Deployment”
  19. 19. Docker for Geospatial Projects https://wiki.osgeo.org/wiki/DockerImages http://geocontainers.org
  20. 20. Docker for Geospatial Sensor Webs We need to catch up with mainstream IT Collaborate more effectively (prod/dev/research) Spread software more easily and more DevOps friendly by bringing down requirements to 1 software and installation to 1 command Quickly (re) create dev, demo, test, production (customer!) environments Effective deployment of the latest software thin your own infrastructure or in the cloud http://simpleicon.com/money-7.html
  21. 21. Docker for Geospatial Sensor Webs - How? 1. Use it! You admins won’t mind. Your work will be easier. 2. Provide and share (!) images and docker-compose files for popular services on Docker Hub (52°North is getting started) https://github.com/Geonovum/smartemission/tree/master/docker/sos52n 3. Keep in mind during implementation (e.g. configurability) 4. Add getting services cloud ready + scalable prominently to all funding efforts 5. Experiment with desktop apps https://wiki.52north.org/Documentation/Docker https://hub.docker.com/u/52north/
  22. 22. Thanks for your attention! What are your questions? http://o2r.info/almost http://o2r.info @o2r_project daniel.nuest@wwu.de @nordholmen

×