FORUM PA 2015 - Microservices with IBM Bluemix
Transcript of FORUM PA 2015 - Microservices with IBM Bluemix
Giulio Santoli
Sviluppo di un Sistema a
Microservizi con IBM Bluemix
© 2015 IBM Corporation2
Agenda
• Bluemix, the Cloud evolution
• Microservices Applications
• Demo
© 2015 IBM Corporation3
Cloud is driving the new IT
...there is no way back
© 2015 IBM Corporation4
The new IT is Hybrid
© 2015 IBM Corporation5
Customer Managed
Service Provider Managed
Infrastructure
as a Service
Code
Data
Runtime
Middleware
OS
Virtualization
S ervers
Storage
Networking
Code
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Platform as
a Service
* Bluemix Local coming Summer 2015
Built on open technologies
Code
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Traditional
on-premises
Bluemix is the cornerstone for Hybrid Clouds
© 2015 IBM Corporation6
Bluemix is an open-standards, cloud-based platform for building, running, and managing
applications.
IBM DevOps ServicesManage the software lifecycle, from planning
to production
Internet of ThingsIntegrate your apps with the physical world
Watson ServicesLeverage the power of Cognitive Computing in your apps
Dallas
(now)
London
(now)
Bluemix Public Location
SoftLayer Data Center
Bluemix is more than a PaaS
© 2015 IBM Corporation7
Bluemix DevOps Services(for Bluemix)
Cloud
Foundry
Docker
Containers
Open Stack
VMs
Agile
Planning
Web IDE
(Orion)
Delivery
Pipeline
Git
Hosting
BETA BETA
Bluemix and DevOps Services
Bluemix is an application run-time environment
based on Open Standards.
DevOps Services handles the software
lifecycle,from project to delivery.
© 2015 IBM Corporation8
Agenda
• Bluemix, the Cloud evolution
• Microservices Applications
• Demo
© 2015 IBM Corporation9
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)
“
”
© 2015 IBM Corporation10
http://martinfowler.com/articles/microservices.html
Siloed teams lead to siloed architectures
Siloed-fuctional teams... .... lead to siloed applications
UISpecialists
Middlewarespecialists
DBAs
© 2015 IBM Corporation11
“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)
Microservices, a definition
© 2015 IBM Corporation12
http://martinfowler.com/articles/microservices.html
Cross-functional teams lead to
capability-oriented architectures
Cross-fuctional teams... .... organized around capabilities
© 2015 IBM Corporation13
http://martinfowler.com/articles/microservices.html
Microservices v.s. Monolithic: Scalability
A monolithic application puts all itsfunctionality into a single process..
... and scales by replicating the monolith on multple servers.
A microservice achitecture puts each functionality into a separate service..
... and scales by distributing these servicesacross servers, replicating as needed.
© 2015 IBM Corporation14
Microservices v.s. Monolithic: Database
http://martinfowler.com/articles/microservices.html
A monolithic architecture uses the same database for all services.
A microservice achitecture uses the bestdatabase ..
© 2015 IBM Corporation15
Agenda
• Bluemix, the Cloud evolution
• Microservices Applications
• Demo
© 2015 IBM Corporation16
Microservices with Docker
AnalysisApplication
MongoLab Bluemix
RESTApplication
CLIENT
DashboardApplication
© 2015 IBM Corporation17
CLIENT
Redis
AutoscalingAutoscalingAutoscaling
(page1) (page2) (page3)
(reverse proxy)
Web IDE(Orion)
DeliveryPipeline
GIT
DevOps Services
UI Composition Pattern
Bluemix
© 2015 IBM Corporation18
References
© 2015 IBM Corporation19
Thank you
IBM Bluemixdigital innovation for the Hybrid Cloud
ibm.biz/Bluemix2015