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

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

  • Login to see the comments

  • 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,
  2. 2. Agenda Motivation Containerization (Docker) Reproducible Research ❤ Containers Docker for Geospatial Sensor Webs
  3. 3. Pets vs. Cattle Motivation
  4. 4. Docker
  5. 5. Slide by Docker inventor & Docker, Inc. CTO Solomon Hykes, DockerCon 2014
  6. 6. 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 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.
  10. 10. 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; zipper by RRZEIcons, cursor by Subhashish Panigrahi, via Wikimedia Commons;
  14. 14.
  15. 15. Docker for Geospatial Sensor Webs
  16. 16. 52°North Helgoland $ docker run -p 80:8080 52north/helgoland $ 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 http://../491-52n-sensorweb-sos-bundle-4-3-7 RUN unzip -d sos-bundle 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
  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
  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) 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
  22. 22. Thanks for your attention! What are your questions? @o2r_project @nordholmen