forum pa 2015 - microservices with ibm bluemix

19
Giulio Santoli Sviluppo di un Sistema a Microservizi con IBM Bluemix

Upload: gjuljo

Post on 27-Jul-2015

164 views

Category:

Software


0 download

TRANSCRIPT

Page 1: FORUM PA 2015 - Microservices with IBM Bluemix

Giulio Santoli

Sviluppo di un Sistema a

Microservizi con IBM Bluemix

Page 2: FORUM PA 2015 - Microservices with IBM Bluemix

© 2015 IBM Corporation2

Agenda

• Bluemix, the Cloud evolution

• Microservices Applications

• Demo

Page 3: FORUM PA 2015 - Microservices with IBM Bluemix

© 2015 IBM Corporation3

Cloud is driving the new IT

...there is no way back

Page 4: FORUM PA 2015 - Microservices with IBM Bluemix

© 2015 IBM Corporation4

The new IT is Hybrid

Page 5: FORUM PA 2015 - Microservices with IBM Bluemix

© 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

Page 6: FORUM PA 2015 - Microservices with IBM Bluemix

© 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

Page 7: FORUM PA 2015 - Microservices with IBM Bluemix

© 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.

Page 8: FORUM PA 2015 - Microservices with IBM Bluemix

© 2015 IBM Corporation8

Agenda

• Bluemix, the Cloud evolution

• Microservices Applications

• Demo

Page 9: FORUM PA 2015 - Microservices with IBM Bluemix

© 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)

Page 10: FORUM PA 2015 - Microservices with IBM Bluemix

© 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

Page 11: FORUM PA 2015 - Microservices with IBM Bluemix

© 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

Page 12: FORUM PA 2015 - Microservices with IBM Bluemix

© 2015 IBM Corporation12

http://martinfowler.com/articles/microservices.html

Cross-functional teams lead to

capability-oriented architectures

Cross-fuctional teams... .... organized around capabilities

Page 13: FORUM PA 2015 - Microservices with IBM Bluemix

© 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.

Page 14: FORUM PA 2015 - Microservices with IBM Bluemix

© 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 ..

Page 15: FORUM PA 2015 - Microservices with IBM Bluemix

© 2015 IBM Corporation15

Agenda

• Bluemix, the Cloud evolution

• Microservices Applications

• Demo

Page 16: FORUM PA 2015 - Microservices with IBM Bluemix

© 2015 IBM Corporation16

Microservices with Docker

AnalysisApplication

MongoLab Bluemix

RESTApplication

CLIENT

DashboardApplication

Page 17: FORUM PA 2015 - Microservices with IBM Bluemix

© 2015 IBM Corporation17

CLIENT

Redis

AutoscalingAutoscalingAutoscaling

(page1) (page2) (page3)

(reverse proxy)

Web IDE(Orion)

DeliveryPipeline

GIT

DevOps Services

FACEBOOK

UI Composition Pattern

Bluemix

Page 18: FORUM PA 2015 - Microservices with IBM Bluemix

© 2015 IBM Corporation18

References

Page 19: FORUM PA 2015 - Microservices with IBM Bluemix

© 2015 IBM Corporation19

Thank you

IBM Bluemixdigital innovation for the Hybrid Cloud

ibm.biz/Bluemix2015