35
Presented by: Developing Hybrid Cloud Applications Oct 2015 @dancberg Daniel Berg IBM Distinguished Engineer Cloud Foundation & DevOps

Developing Hybrid Cloud Applications

Embed Size (px)

Citation preview

Page 1: Developing Hybrid Cloud Applications

Presented by: Developing Hybrid Cloud Applications

Oct 2015 @dancberg

Daniel Berg IBM Distinguished Engineer Cloud Foundation & DevOps

Page 2: Developing Hybrid Cloud Applications

2

The next billion dollar idea starts with a single developer

That developer starts with a single line of code

Page 3: Developing Hybrid Cloud Applications

3

•  Cloud is powering digital disruption – enabling businesses to accelerate the pace of innovation.

•  Executed well, this is driving rapid value creation and an ability to seize market opportunities.

Hotel Retail Social Transport

The world’s largest accommodation provider, owns no real estate.

The world’s most valuable retailer, has

no inventory.

The world’s most popular media

company, creates no content.

The world’s largest taxi

company, owns zero vehicles.

Era of Digital Disruption

Page 4: Developing Hybrid Cloud Applications

4

Innovation Optimization

of new applications will be deployed via the cloud

of IT budgets spent maintaining systems ~70% 85%

Integration

Challenge to balancing investments

Page 5: Developing Hybrid Cloud Applications

5

Cloud adoption

Networking Networking Storage Storage Servers Servers

Virtualization Virtualization O/S O/S Middleware Middleware Mid Config Mid Config Data Data Applications Applications

Tradi&onalOn-Premises

InfrastructureasaService

Customiza&on;highercosts;slower&metovalue

Standardiza&on;lowercosts;faster&metovalue

Networking Storage Servers

Virtualization O/S Middleware Mid Config Data Applications

Pla>ormasaService

Page 6: Developing Hybrid Cloud Applications

6

Computing is entering a new cognitive era

Relationship Extraction

Questions &

Answers

Language Detection

Personality Insights

Keyword Extraction

Image Link Extraction

Feed Detection

Visual Recognition

Concept Expansion

Concept Insights

Dialog Sentiment Analysis

Text to Speech

Tradeoff Analytics

Natural Language Classifier

Author Extraction

Speech to Text

Retrieve &

Rank

Watson News

Language Translation

Entity Extraction

Tone Analyzer

Concept Tagging

Taxonomy

Text Extraction

Message Resonance

Image Tagging

Face Detection

Answer Generation

Usage Insights

Fusion Q&A

Video Augmentation

Decision Optimization

Knowledge Graph

Risk Stratification

Policy Identification

Emotion Analysis

Decision Support

Criteria Classification

Knowledge Canvas

Easy Adaptation

Knowledge Studio Service

Statistical Dialog

Q&A Qualification

Factoid Pipeline

Case Evaluation

The Waston that competed on Jeopardy! in 2011 comprised what is now a single API—Q&A—built on five underlying technologies.

Since then, Watson has grown to a family of 28 APIs.

By the end of 2016, there will be nearly 50 Watson APIs— with more added every year.

Natural Language Processing

Machine Learning

Question Analysis

Feature Engineering

Ontology Analysis

IBM Watson IBM Bluemix

Page 7: Developing Hybrid Cloud Applications

7

Cost reduction plays •  Building your private cloud IaaS

–  Rapid provisioning –  Enabling DevOps

•  Source capacity from the public cloud –  Compute –  Storage

Hybrid Cloud

Innovation plays •  Building systems of engagement

apps –  Mobile –  Social

•  Internet of Things

Shared Off-Premises Cloud

Dedicated On-Premises Cloud

Existing IT Dedicated Off-Premises Cloud

Cloud Enablement

Cloud Adoption

Page 8: Developing Hybrid Cloud Applications

8

Hybrid Cloud Scenarios

Dev and Test Off Premises Cloud for Burst Capacity

Cloud Front-End Portable Workloads

Page 9: Developing Hybrid Cloud Applications

9

Evolution of Workloads

Existing IT

App Servers

+ +

Database Web Servers

Applications

Cloud-Enabled

App Servers

+ +

Database Web Servers

Applications

Dedicated Local Shared

Services

Cloud-Native

Services Applications

Managed Runtimes

Page 10: Developing Hybrid Cloud Applications

Cloud Enabled

Page 11: Developing Hybrid Cloud Applications

11

Faster and more consistent application environment deployments

Developers/ Testers

Integrators

Specialists Compute, Network,

and Storage

Platforms

Apps

Environment!

Application

Middleware Config

Middleware

OS Config

Hardware Envi

ronm

ent

Blu

eprin

t

Design Deploy

Long, complex lifecycle with manual steps!

Small iterative changes!…! …!

Page 12: Developing Hybrid Cloud Applications

12

•  Standardize cloud-enabled deployment patterns with OpenStack HEAT

•  Applications are managed throughout the entire release process with predictable automation and inventory services

•  Full-stack blueprints capture the relationships between applications and cloud infrastructure

•  OpenStack API provides standards for interacting with all cloud resources

Pattern-based deployments with OpenStack HEAT

Heat Blueprints

UrbanCode Deploy

Compute Network Storage

Your Applications & Middleware Software

Page 13: Developing Hybrid Cloud Applications

13

Rapidly deploy application environments in 3 simple steps

Provideportabilityacrossheterogeneousvirtualdatacenter,privateandpublicclouds

3.   Portableacrossdifferentvirtualizedinfrastructure

Assemblemul8-8erapplica8onenvironmentsanddefineauto-scalingpoliciestomeetopera8onalneeds.

2.   Assemblemul&-&erandscalableenvironmentblueprints

1.   Createstacks

Load Balancer

Web Servers

App Servers

Database Servers

Firewall

DescribefullstackenvironmentsusinginfrastructurebuildingblockslikeImages,Middlewarescripts,andApplica8oncode

VMware vCenter

Private

Application

Middleware Config

Middleware

OS Config

Hardware Envi

ronm

ent

Blu

eprin

t

Policies

Dedicated Local Virtual Datacenter Shared

Page 14: Developing Hybrid Cloud Applications

Cloud Native

Page 15: Developing Hybrid Cloud Applications

15

12 Factor App for Cloud Native

http://12factor.net

Page 16: Developing Hybrid Cloud Applications

16

PROS •  Simple to develop •  Simple to deploy •  Simple to test CONS •  Large •  Long deployment times •  Difficult to scale •  Reliability •  Difficult to adapt and

change

Monolithic Architecture

Page 17: Developing Hybrid Cloud Applications

17

•  Componentized •  Organized around business

capabilities

•  Decentralized data

•  API communication

•  Enables continuous delivery

•  Embrace evolutionary changes

•  Designed for failure

Microservices Architecture

Page 18: Developing Hybrid Cloud Applications

18

•  Failures WILL happen

•  Their root causes can be complex and affect different number of users

•  Reduce the likelihood of correlated failures

•  Recover quickly

•  Proactive detection of problems before they happen

Causes for failures

Datacenter

Server Rack

Server

Virtual Server

Code

Request

Page 19: Developing Hybrid Cloud Applications

19

Patterns of Resiliency

From “Release IT! Design and Deploy Production-Ready Software” by Michael T Nygard

Page 20: Developing Hybrid Cloud Applications

20

Ø Simple services but complex distributed systems

Ø  IT overhead Ø  Configuration management Ø  HA/DR for each service Ø  Capacity requirements are dramatically higher Ø  High degree of automation is required

Ø Asynchronous communication nature is difficult

Ø DevOps skills are a must

Microservices do have a cost

Page 21: Developing Hybrid Cloud Applications

21

Docker Mission

Docker is an open platform for building distributed applications for developers and system administrators.

Build Ship Run

Anywhere

Any App

Page 22: Developing Hybrid Cloud Applications

22

Image •  A read-only snapshot of a container stored in Docker Hub to be used as a template for

building containers

Container •  The standard unit in which the application service resides or transported Docker Hub •  Available in SaaS or Enterprise to deploy anywhere you choose •  Stores, distributes and shares container images Docker Engine •  A program that creates, ships and runs application containers •  Runs on any physical and virtual machine or server locally, in private or public cloud •  Client communicates with Engine to execute commands

Docker Basics – A shipping container for code

SaaS Enterprise

Page 23: Developing Hybrid Cloud Applications

23 23

AppA

Hypervisor (Type 2)

Host OS

Server

GuestOS

Bins/Libs

AppA’

GuestOS

Bins/Libs

AppB

GuestOS

Bins/Libs

VM

GuestOS

GuestOS

App A’

Host OS

Server

Bins/Libs

App A

Bins/Libs

App B

App B

App B

App B

’ Container

Containersareisolated,butshareOSand,whereappropriate,bins/libraries…faster,lessoverhead

VMs vs Containers

Page 24: Developing Hybrid Cloud Applications

24

Page 25: Developing Hybrid Cloud Applications

25

Foundation services for building Cloud Native Applications

Page 26: Developing Hybrid Cloud Applications

26

Good Reads

Drivinginnova8onwithinanenterpriseac8nglikeastartup

PaKernsforbuildingresilientandrobustapplica8ons

Usingmicroservicesforcloudna8veapplica8onswithIBMBluemix

Page 27: Developing Hybrid Cloud Applications

Delivery Patterns

Page 28: Developing Hybrid Cloud Applications

28

Page 29: Developing Hybrid Cloud Applications

29

Continuous Delivery

Speed delivery of change with low risk and greater feedback

Page 30: Developing Hybrid Cloud Applications

30

Two-Speed IT is Today’s Reality

System of Engagement

System of Record

Page 31: Developing Hybrid Cloud Applications

31

Using the Bluemix platform and Bluemix services such as the Delivery Pipeline, developers can quickly automate the delivery of high quality changes with zero downtime through Bluemix spaces all the way to production (space).

Cloud Native Delivery

•  High speed •  Microservices •  Developer driven •  Low operational

overhead •  Built-in DevOps

capabilities

Page 32: Developing Hybrid Cloud Applications

32

Cloud Enabled Delivery

•  Multiple source control systems drive builds in CI that integrate with a multi-platform deployment system

•  SoR managed on-prem using patterns

•  Single pattern used for both on-prem and off-prem deployments

Page 33: Developing Hybrid Cloud Applications

33

Hybrid Cloud Application Delivery

•  Pipelines to deliver cloud-native microservices

•  Microservices connect

to SoR services via an API and a Secure Gateway

•  Existing IT or cloud-enabled pattern exposed via API on-premises

Cloud-Native microservices

Existing IT and/or Cloud-Enabled Patterns

Page 34: Developing Hybrid Cloud Applications

34

•  Cloud is the driver for faster Innovation

•  Developers must be operationally inclined with DevOps skills to build effective cloud applications

•  Hybrid cloud is the norm delivery model

Summary

Check out bluemix.net for hybrid cloud application development

Page 35: Developing Hybrid Cloud Applications

THANK YOU @dancberg