![Page 1: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/1.jpg)
Niklas Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net
Rapid Application Development in the Cloud and On-Premises with Docker !
![Page 2: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/2.jpg)
Example: Minecraft!
![Page 3: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/3.jpg)
Example: Minecraft!
![Page 4: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/4.jpg)
Example: Minecraft!
![Page 5: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/5.jpg)
Example: Minecraft!
![Page 6: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/6.jpg)
Example: Minecraft!
![Page 7: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/7.jpg)
Example: Minecraft!
![Page 8: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/8.jpg)
Rapid Application Development!§ Need for speed and need for simplicity
§ New methodologies and technologies make the core coding fast and simple
![Page 9: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/9.jpg)
Rapid Deployment ?!§ Coding is often rapid, but deployment is (mostly) not§ Issue: Different target platforms with different configurations
§ Expanded role of developers: Not only responsible to write code but responsible for full life cycle up to the testing in production environments§ Old developer excuse “it works on my machine” doesn’t count any
longer
![Page 10: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/10.jpg)
DevOps!§ DevOps supports developers to automate testing and
deployments through delivery pipelines
§ But deployments can still be challenging§ Different types of applications§ Different target environments�
§ Containers to the Rescue
![Page 11: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/11.jpg)
Containers vs. VMs!§ Lighter weight than VMs (virtual machines)
![Page 12: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/12.jpg)
Enter Docker!§ Standardizes the packaging of applications and container
runtimes§ Write once run everywhere
![Page 13: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/13.jpg)
Sample Servlet!
![Page 14: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/14.jpg)
Dockerfile!
![Page 15: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/15.jpg)
Build Image!
![Page 16: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/16.jpg)
Run Container!
![Page 17: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/17.jpg)
Registries to share Images!§ Docker Hub
§ Public§ Private�
�
§ Docker Trusted Registry
![Page 18: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/18.jpg)
Docker on IBM Bluemix!§ Bluemix is IBM’s application platform in the cloud based on
Cloud Foundry§ IBM extends and connects Docker containers to
production-ready enterprise environments§ IBM hosted private registry§ Run containers in local datacenters or in the cloud§ External IP addresses§ Integrated monitoring and logging§ Security readiness guidance via Vulnerability Advisor
![Page 19: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/19.jpg)
Tag Image!
![Page 20: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/20.jpg)
Push Image!
![Page 21: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/21.jpg)
Push Image (cont.)!
![Page 22: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/22.jpg)
Image Registry!
![Page 23: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/23.jpg)
Run Container!
![Page 24: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/24.jpg)
Running Container – Overview !
![Page 25: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/25.jpg)
Running Container – Instances !
![Page 26: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/26.jpg)
Running Container – Monitoring !
![Page 27: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/27.jpg)
Running Container – Logs !
![Page 28: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/28.jpg)
Running Container – Advanced Logs !
![Page 29: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/29.jpg)
Vulnerability Advisor!
![Page 30: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/30.jpg)
Vulnerability Advisor (cont.)!
![Page 31: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/31.jpg)
Automation via Delivery Pipelines!§ To simplify the process to build images and run containers,
delivery pipelines can be used § Different deployment strategies can be used to deploy to
different target environments without downtimes
![Page 32: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/32.jpg)
Java Code Modification!
![Page 33: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/33.jpg)
Push Change!
![Page 34: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/34.jpg)
Deployment Pipeline!
![Page 35: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/35.jpg)
Changed Application!
![Page 36: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/36.jpg)
ToDo Sample Application!
![Page 37: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/37.jpg)
Spring Boot Application!
![Page 38: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/38.jpg)
REST Controller!
![Page 39: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/39.jpg)
Mongo Repository!
![Page 40: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/40.jpg)
Dockerfile!
![Page 41: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/41.jpg)
MongoDB URI!
![Page 42: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/42.jpg)
Docker Compose!
![Page 43: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/43.jpg)
Bind Bluemix Service!
![Page 44: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/44.jpg)
Hybrid Sample Application!
![Page 45: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/45.jpg)
UrbanCode Build and Deploy!
![Page 46: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/46.jpg)
IBM UrbanCode Build and Deploy!
![Page 47: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/47.jpg)
Take-Aways!§ Docker containers allow the standardized packaging of
applications and easy deployments to different environments
§ Docker is currently the de-facto container standard and is evolving into the Open Container Initiative
§ IBM added enterprise capabilities for Docker images and containers
§ Try Docker in the cloud via the 30 days trial of Bluemix
![Page 48: Rapid Application Development in the Cloud and On … Heidloff, IBM Bluemix Developer Advocate @nheidloff heidloff.net Rapid Application Development in the Cloud and On-Premises with](https://reader031.vdocument.in/reader031/viewer/2022030801/5b0aba4f7f8b9a604c8ce5c1/html5/thumbnails/48.jpg)
Thank you!