WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
Codemotion Rome 2015 - Microservices with IBM Bluemix and DevOps Services
1. ROME 27-28 march 2015
Lab Hands-on: Sviluppo di un sistema a
Microservizi con IBM Bluemix
giulio_santoli@it.ibm.com – IBM
@gjuljo
Giulio Santoli
ibm.biz/Bluemix2015
2. ROME 27-28 march 2015 - Giulio Santoli
Microservices, a definition
“Microservices are tiny apps talking
with uniform interface installed as
well-behaved OS services.”
lightweight, small footprint, follow
Single Responsibility Pattern
RESTful. decoupled, scalable,
discoverable.
self-contained, run with a single
one-liner command
Eduards Sizovs (www.slideshare.net/eduardsi)
3. ROME 27-28 march 2015 - Giulio Santoli
Siloed teams lead to siloed architectures
http://martinfowler.com/articles/microservices.html
4. ROME 27-28 march 2015 - Giulio Santoli
Conway’s Law
Organizations which design systems
are constrained to produce designs
which are copies of the communication
structures of these organizations.
- Conway, Melvin E. (April 1968)
“
”
5. ROME 27-28 march 2015 - Giulio Santoli
Cross-functional teams lead to
capability-oriented architectures
http://martinfowler.com/articles/microservices.html
8. ROME 27-28 march 2015 - Giulio Santoli
Bluemix is an open-standards, cloud-based platform for building,
running, and managing applications.
IBM DevOps Services
Manage the software lifecycle, from planning
to production
Internet of Things
Integrate your apps with the physical world
Watson Services
Leverage the power of Cognitive Computing in your apps
Dallas
(now)
London (now)
Bluemix Public Location
SoftLayer Data Center
What is Bluemix?
9. ROME 27-28 march 2015 - Giulio Santoli
Code
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Code
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Code
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Bluemix is more than PaaS
*Bluemix Local coming Summer 2015
Customer Managed
Service Provider Managed
Infrastructure
as a Service
Platform
as a Service
Traditional
on-premises
10. ROME 27-28 march 2015 - Giulio Santoli
Bluemix DevOps Services
Cloud
Foundry
Docker
Containers
Open Stack
VMs
Agile
Planning
Web IDE
(Orion)
Delivery
Pipeline
Git
Hosting
BETABETA
Bluemix & DevOps Services
Bluemix is an application run-time environment, DevOps Services handles
the software lifecycle, from project to delivery.
BETABETA
11. ROME 27-28 march 2015 - Giulio Santoli
DevOps Services: microservices in action
13. ROME 27-28 march 2015 - Giulio Santoli
UI Composition Pattern Example
NGINX
APP1
REDIS
CLIENT
APP2 APPN
Bluemix
FACEBOOK
Web IDE
(Orion)
Delivery
Pipeline
GIT
DevOps Services
14. ROME 27-28 march 2015 - Giulio Santoli
Get the lab instructions at the following link:
http://www.slideshare.net/gjuljo/codemotion-rome-2015-bluemix-lab-tutorial
15. ROME 27-28 march 2015 - Giulio Santoli
More references and docs
- BLUEMIX DOCS
https://www.ng.bluemix.net/docs
https://developer.ibm.com/bluemix
- PREREQUISITES AND DOWNLOAD
https://developer.ibm.com/bluemix/support/#prereqs
https://www.ng.bluemix.net/docs/#starters/BuildingWeb.html#building_web
- COMMAND LINE AND VCAP_SERVICES ENVIRONMENT VARIABLE
https://www.ng.bluemix.net/docs/#cli/index.html#cli
http://docs.cloudfoundry.org/devguide/deploy-apps/environment-variable.html
- MANIFEST GUIDE (manifest.yml)
http://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html
- BUILDPACK FROM CLOUD FOUNDRY COMMUNITY
https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/Buildpacks
16. ROME 27-28 march 2015 - Giulio Santoli
Tutorials
- BUILD YOUR FIRST NODE.JS WEB SITE
https://www.youtube.com/watch?v=GRQnwVhYeWU
http://www.ibm.com/developerworks/library/wa-simplenode1-app/index.html
- EXAMPLE HYBRID MOBILE APP AND PUSH NOTIFICATION
http://www.ibm.com/developerworks/mobile/library/mo-push-apache-cordova-app
- EXAMPLE JAVA EE AND CLOUDANT
https://developer.ibm.com/bluemix/2014/07/08/cloudant_on_bluemix
- EXAMPLE MEAN STACK (MongoDB, Express, AngularJS, Node.js)
http://www.ibm.com/developerworks/web/library/wa-nodejs-polling-app/index.html
- EXAMPLE NODE-RED, TWITTER AND WATSON Q&A
http://www.ibm.com/developerworks/cloud/library/cl-twitterbot-watson-bluemix-app/index.html
- GETTING STARTED WITH DOCKER
https://developer.ibm.com/bluemix/2014/12/04/ibm-containers-beta-docker
17. ROME 27-28 march 2015 - Giulio Santoli
Leave your feedback on Joind.in!
https://joind.in/event/view/3347