d-day 2015 hybrid cloud ibm

22
© 2015 IBM Corporation Hybrid Cloud and API economy with Docker Yves Eychenne, IBM Cloud Advisor [email protected] , @yeychenne

Upload: devops-d-day

Post on 12-Jan-2017

227 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Hybrid Cloud and API economy

with Docker

Yves Eychenne, IBM Cloud [email protected],

@yeychenne

Page 2: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

World Class Cloud Infrastructure

Cloud Business Apps

OAuth

Digital Innovation Platform

IBM Cloud OPENby design™

Open Source. Open Governance. Memory centric. Real-time. Containers. Scripts.

Page 3: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation3

Customer Managed

Service Provider Managed

Bluemix, managed PaaS from IBM.One month free. Freemium model. 500.000 registered users for its 1st

anniversary

Infrastructure as

a Service

Code

Data

Runtime

Middleware

OS

Virtualization

Servers

Storage

Networking

Code

Data

Runtime

Middleware

OS

Virtualization

Servers

Storage

Networking

Platform as

a Service

*Bluemix Local coming Summer 2015

Built on open

technologies:

Page 4: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

What is Bluemix?DevOps

Tooling

+

Flexible Compute Options to Run Apps / Services

Instant Runtimes Containers Virtual Machines

+ + +

Integration and

API Mgmt

+

Catalog of Services that Extend Apps’ Functionality

Web Data Mobile AnalyticsCognitive IoT Security Yours

+

Your Own Hosted Apps / Services

Platform Deployment Options that Meet Your Workload Requirements

Bluemix

Public

Bluemix

Dedicated

Bluemix

Local*

Powered by IBM SoftLayer In Your Data Center

4

Page 5: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Your Own App's and Choice of Language and Runtime

• Out-of-the-Box:

Java, JavaScript / NodeJS, Ruby / RoR & Sinatra, PHP, Python, GO

• Bring-Your-Own Buildpack

5

Page 6: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Choice of technologies and tools

6

ComputeChoose the level of

infrastructure

abstraction based

on your app’s

architectural needs.

Dev ToolingFrom editors to source

code management to

continuous delivery, you

can use Bluemix’

powerful tooling or

easily bring your own.

LocationDeploy apps to Bluemix

Public (in a growing

number of geos), your

own dedicated cloud

Bluemix, or one that

runs within your data

center (Local*).

ServicesPick from a catalog of

IBM, third party,

open source, or your

own services to

extend your apps.

IBM

Third Party

Open Source

Yours

*Bluemix Local coming Summer 2015

Page 7: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Enterprise integration, data, and API management

Five key integration, data, and API management capabilities are now built directly into

Bluemix, making hybrid application architecture even easier and more flexible.

7

Secure

Gateway

Connect and

Compose

DataWorks

API

Management

API

Harmony

Securely access data and applications in other

clouds, enterprise data centers and locally on developer

laptops

Data services like: Shape data, load data, provision

masked data, profile data, and classify data let you

prepare your data for use in production apps

Create REST APIs from on-premises or cloud

endpoints (DB2, SFDC, etc). Assemble multiple APIs

into a single API using Node-RED for composition

Publish, promote, and oversee your APIs in a secure,

scalable environment. Includes the creation of end user

support resources that define and document the API

Find the right API for your app. Built from a corpus of the

world’s public APIs, it understands relationships between

already selected APIs and new ones being searched

Page 8: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Bluemix Use Case: renovate a monolithic 3-tier web application with microservices.

8

Monolithic app Microservices

Scaling Scaling

Page 9: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Docker Value IBM Value-add Customer Value

Docker Hub Registry holds a

repository of 75000+ docker

images

• IBM hosted public registry containing IBM

images - linked to Docker Hub

• Client unique registry available on and off

premises

• Curated Enterprise-ready Images

Customers have at their finger tips

the images they require to deploy

containers that meet their business

needs and strategy

Open-source, standardized,

lightweight , self sufficient LXC

container technology

• Enhanced performance with bare metal

deployment

• Run images to local datacenter or cloud

• Deployment choice with pSeries & zSeries

Hybrid Cloud choice and flexibility to choose the right mix for their business

Build, ship and run standardized

containers

• Integrated monitoring & logging

• Elasticity to grow storage & container needs

• life-cycle management of containers and

data volumes

Docker simplicity and ease of use

with the Enterprise-level of integrity

and confidence to run a business

Container connections using links

and service discovery

• Private net work communication

• External IP address

Extends and connects Docker

containers to production-ready

Enterprise environments

+ =

IBM Containers – A Bluemix Runtime

Deploy and manage distributed cloud workloads in a Hybrid environment packaged as Docker containers

9

+ =

+ =

Hybrid Cloud

~70% of enterprises to pursue hybrid cloud

computing by 2015*

*Source: Gartner, p.6, Private Cloud Matures, Hybrid Cloud is Next, Gartner G00255302, Sept 6, 2013

+ =

Page 10: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation10

Continuous delivery

Manage & monitor

Instant feedback

Track and plan

Dev tools and web

IDE

Repos

Continuous integration

Vulnerability testing

Plan and

measure

Release and

deploy

Develop and

test

Monitor and

optimize

Monitoring

and Analytics

Bluemix enables full application lifecycle management and devops

Page 11: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Devops: What, Where &How

What to

be

deployed

Where to be

deployed (On-

prem or Multiple

Cloud Resources)

- Patterns

How to be

deployed

Page 12: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

12

Composite Applications

Components

Re-usable WorkflowsEnvironment

Management

SIT

PROD

The “What”

The “How”

The “Where”

Deployment

Automation

Devops: What, Where &How – mapped to Docker

Images from image registry Deploy containers from

image component

Deploy to docker hosts or IBM Container Service

Page 13: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Bluemix with IBM Containers simplifies Docker containers integration and management

13

– Automate Docker image builds

– Manage and distribute Docker images in private image registries

– Easily host containers in the cloud

– Scale and auto-recovery built-in

– Logging and Monitoring built-in

– Integration with Cloud Foundry

– Integration with OpenStacks VMs and services

– Integration with all Bluemix services (data services, analytics; single sign on, API management…)

Page 14: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

IaaS

(Virtual Machines, VLAN)

Docker Project at IBM France LabDocker is used by the “Operational Decision Manager” (ex ILOG RULES) development team

Docker Container

WAS Liberty

ODM

Component

ODM Foundation Environment

(DB2 HA/DR, IHS)

Smarter Process

Foundation Environment

(WebSeal, LDAP, IaaS Operations, Authentication &

Authorization, Docker Registry)

ODM Docker Images produced by our software factory

Decision Center (DC)

Decision Server Console (DSC) aka RES Console

Decision Server Execution (DSE) aka HTDS

Decision Server Validation(DSV) aka SSP/Decision Runner

Additional Foundation Docker Images

IHS

ODM on Cloud Portal

DB2 HA (Future – currently use DB2 VMs)

Page 15: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation15

Lifecycle of DevOps with Bluemix Docker

Create Dockerfile

Commitchange

BuildDocker Image

Publish ToDocker Registry

RunDocker Container

RunDocker Container

Auto Deploy

Edit ApplicationSource code

Web Editor Web Editor Web Git Auto Build

Bluemix

Catalog

Manual Deploy

Create Dockerfile

Commitchange

BuildDocker Image

Publish ToDocker Registry

RunDocker Container

Page 16: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Modify Build Configuration

16

Click on the up right icon of Build Stage. Then click Configure Stage.

Click here to continue.

Page 17: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Modify Build Configuration

17

Let’s change the Build type..

Select IBM Container Service as Build Type.

Page 18: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Build Docker Image

18

Switch to EDIT CODE perspective to see the result. Build & Deploy

The docker image have been created.

Page 19: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

View Docker Image in Bluemix Catagory

19

Login in to Bluemix and Switch to Catalog.

Surprise!!Your docker image is shown in the Catalog now.

Page 20: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Run Container

20

The container is successfully deployed.

Page 21: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Demo

21

Page 22: D-DAY 2015 Hybrid Cloud IBM

© 2015 IBM Corporation

Thanks !

Questions?