rapid application development in the cloud and on-premises with docker
TRANSCRIPT
![Page 1: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/1.jpg)
Rapid Application Development!in the Cloud and On-Premises!
with Docker !
Niklas Heidloff, IBMBluemix Developer [email protected]
![Page 2: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/2.jpg)
Rapid Application Development!§ Need for speed
§ Deliver new apps in days rather than months§ Innovate via functional prototypes rather than UI sketches
§ Need for simplicity§ Enable different types of developers including line of business
developers to build valuable apps
![Page 3: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/3.jpg)
New Methodologies and new Technologies!§ New methodologies
§ Agile§ Design Thinking / Minimal Viable Product
§ New technologies§ Open Source§ StackOverflow§ Tools, platforms, languages
![Page 4: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/4.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 5: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/5.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
![Page 6: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/6.jpg)
Containers to the Rescue!
![Page 7: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/7.jpg)
Containers vs. VMs!§ Lighter weight than VMs (virtual machines)
graphics from docker.com
![Page 8: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/8.jpg)
Enter Docker!§ Standardizes the packaging of applications and container
runtimes§ Write once run everywhere§ Package once deploy everywhere
![Page 9: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/9.jpg)
Introduction to Docker!§ Enabling application development efficiency, �
making deployment more efficient, �eliminating vendor ‘lock-in’ with true portability
§ Open§ Software§ Contribution§ Design§ Governance
![Page 10: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/10.jpg)
Docker Terminology!
§ Image
§ Container
§ Registry
§ Engine
Cloud On Prem
![Page 11: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/11.jpg)
Demo!§ Simple Java web application on Liberty Profile§ Create image locally§ Run container locally
![Page 12: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/12.jpg)
Sample Servlet!
![Page 13: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/13.jpg)
Dockerfile!
![Page 14: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/14.jpg)
Build Image!
![Page 15: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/15.jpg)
Run Container!
![Page 16: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/16.jpg)
Sample Application!
![Page 17: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/17.jpg)
Same Sample on Tomcat!
![Page 18: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/18.jpg)
Spring Boot Sample!
![Page 19: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/19.jpg)
Docker Maven Plugin!§ rhuss/docker-maven-plugin to build images and run
containers
§ mvn docker:build§ mvn docker:start§ mvn docker:stop§ mvn �
-Ddocker.removeAll �docker:remove
![Page 20: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/20.jpg)
Registries to share Images!§ Docker Hub
§ Public§ Private�
�
§ Docker Trusted Registry
![Page 21: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/21.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 22: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/22.jpg)
Demo!§ Push image to Bluemix§ Create container on Bluemix§ Monitor container
![Page 23: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/23.jpg)
Tag Image!
![Page 24: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/24.jpg)
Push Image!
![Page 25: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/25.jpg)
Push Image (cont.)!
![Page 26: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/26.jpg)
Image Registry!
![Page 27: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/27.jpg)
Run Container!
![Page 28: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/28.jpg)
Running Container – Overview !
![Page 29: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/29.jpg)
Sample Application!
![Page 30: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/30.jpg)
Running Container – Instances !
![Page 31: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/31.jpg)
Running Container – Monitoring !
![Page 32: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/32.jpg)
Running Container – Logs !
![Page 33: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/33.jpg)
Running Container – Advanced Logs !
![Page 34: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/34.jpg)
Vulnerability Advisor!
![Page 35: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/35.jpg)
Vulnerability Advisor (cont.)!
![Page 36: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/36.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 37: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/37.jpg)
Demo!§ Automate deployments via delivery pipelines
![Page 38: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/38.jpg)
Java Code Modification!
![Page 39: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/39.jpg)
Push Change!
![Page 40: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/40.jpg)
Automatic Maven Build!
![Page 41: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/41.jpg)
Automatic Docker Build!
![Page 42: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/42.jpg)
Automatic Container Creation!
![Page 43: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/43.jpg)
Completed Deployment!
![Page 44: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/44.jpg)
Changed Application!
![Page 45: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/45.jpg)
Bluemix Services for Docker Applications!§ Bluemix allows not only the hosting of Docker applications
but also provides more than 100 services to build rapidly applications without having to set up infrastructure
§ Services are provisioned when added to applications and can be accessed via REST APIs (plus other language bindings) with user specific credentials
![Page 46: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/46.jpg)
Bluemix Services!§ Databases§ Services to build web apps§ Cognitive services§ Backends for mobile apps§ Internet of Things§ Analytics and Big Data§ Access to on-prem services and data
![Page 47: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/47.jpg)
Demo!§ Leverage Bluemix services
![Page 48: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/48.jpg)
Docker to Cloud Foundry Bridge!
![Page 49: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/49.jpg)
Bind Services!
![Page 50: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/50.jpg)
Bind Services (cont.)!
![Page 51: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/51.jpg)
Bound Service with Credentials!
![Page 52: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/52.jpg)
Sample Application accessing Credentials!
![Page 53: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/53.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 adds enterprise capabilities for Docker images and containers
§ Try Docker in the cloud via the 30 days trial of Bluemix
![Page 54: Rapid Application Development in the Cloud and On-Premises with Docker](https://reader031.vdocuments.mx/reader031/viewer/2022030300/5880422a1a28abfd0a8b65d1/html5/thumbnails/54.jpg)
Thank you!