wso2con eu 2016: wso2 cloud and platform as a service strategy

50
WSO2 Cloud & Platform as a Service Strategy Imesh Gunaratne Software Architect, WSO2

Upload: wso2-inc

Post on 17-Jan-2017

218 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

WSO2 Cloud & Platform as a Service Strategy

Imesh GunaratneSoftware Architect, WSO2

Page 2: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Agenda

• WSO2 Cloud• WSO2 Managed Cloud• WSO2 Platform as a Service Solutions

– Kubernetes– OpenShift– Mesos DC/OS– Cloud Foundry

Page 3: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

WSO2 Cloud

Page 4: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

WSO2 Cloud

API Cloud

Device Cloud

App Cloud

Identity CloudAnalytics Cloud

Integration Cloud

Cloud image source: Freepik

The WSO2 public cloud offering for hosting applications, managing APIs, integrations, analytics, identity and devices.

Page 5: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Application Hosting - App Cloud (Beta)

Page 6: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Application Hosting - App Cloud (Beta)

Page 7: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Application Hosting - App Cloud (Beta)

Page 8: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Application Hosting - App Cloud (Beta)

Page 9: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

API Hosting - API Cloud

Page 10: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

API Hosting - API Cloud

Page 11: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

API Hosting - API Cloud

Page 12: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

API Hosting - API Cloud

Page 13: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

API Hosting - API Cloud

Page 14: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Integration Cloud - Coming Up

Page 15: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Integration Cloud - Coming Up

Page 16: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Integration Cloud - Coming Up

Page 17: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Integration Cloud - Coming Up

Page 18: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

WSO2 Managed Cloud

Page 19: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

WSO2 Managed Cloud

On Premise Data Center

US East | US West | EU | Asia Pacific | South America

Hosted and managed by WSO2

Datacenter icon source: Martial Red

Page 20: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

WSO2 Platform as a Service Solutions

Page 21: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

WSO2 PaaS Solutions

PaaS solutions certified by WSO2 for deploying WSO2 middleware

Page 22: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Problems Solved • Configuration management• Virtual machine/container image creation• Deployment automation• Carbon cluster discovery• Internal/external load balancing• Rolling out updates

Page 23: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Deploying WSO2 Middleware on Kubernetes

Page 24: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

An Introduction to Kubernetes

BorgGoogle’s first container

cluster manager

OmegaGoogle’s second container

cluster manager

KubernetesGoogle’s initiative to build

a general purpose container cluster manager

Page 25: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

An Introduction to Kubernetes

Page 26: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Reference Architecture 1 for Kubernetes

Pod 1 Pod 2

Manager Cluster Services

Pod 3 Pod 4 Pod n

Worker Cluster Services

Manager Replication Controller

Worker Replication Controller

Client

Gov Reg

Conf Reg

User Store

Page 27: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Reference Architecture 2 for Kubernetes

Pod 1

Gateway Mgr Services

Pod 2 Pod 3

Gateway Worker Services

Client

Pod 4 Pod 5

Key Manager Services

Pod 6 Pod 7

Store Services

Gateway Mgr RC

Gateway Worker RC

Key Manager RC

Store RCGov Reg

Conf Reg

User Store

API-M DB

A volume mount for synchronizing API artifacts

Pod 8 Pod 9

Publisher Services

Publisher RC

Page 28: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Monitoring Kubernetes Cluster Health

Page 29: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

The Solution Stack for Kubernetes

Configuration Management WSO2 Puppet modules:https://github.com/wso2/puppet-modules

Virtual Machine/Container images

WSO2 Dockerfiles:https://github.com/wso2/dockerfiles

Deployment Automation Replication controllers, services, bash scripts: https://github.com/wso2/kubernetes-artifacts

Cluster Discovery WSO2 Kubernetes membership scheme:https://github.com/wso2/kubernetes-artifacts

Internal/External Load Balancing

Services, service load balancers:https://github.com/wso2/kubernetes-artifacts

Page 30: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Deploying WSO2 Middleware on OpenShift

Page 31: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

An Introduction to OpenShift

OpenShift V3 = Kubernetes + Following; source code management, builds, deployments, managing container images, team and user tracking

https://docs.openshift.org/latest/architecture/index.html

Page 32: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

OpenShift Dashboard

Page 33: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

The Solution Stack for OpenShift

Configuration Management WSO2 Puppet modules:https://github.com/wso2/puppet-modules

Virtual Machine/Container images

WSO2 Dockerfiles:https://github.com/wso2/dockerfiles

Deployment Automation Replication controllers, services, bash scripts: https://github.com/wso2/kubernetes-artifacts

Cluster Discovery WSO2 Kubernetes membership scheme:https://github.com/wso2/kubernetes-artifacts

Internal/External Load Balancing

Services, service load balancers:https://github.com/wso2/kubernetes-artifacts

Page 34: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Deploying WSO2 Middleware on Mesos DC/OS

Page 35: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

An Introduction to Apache Mesos

Image source: Anton Kirillov, Data processing platforms architectures [1]

Page 36: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

An Introduction to Mesos DC/OS

Cluster Manager

PaaS UI | CLI | Package RepositoryBatch Job Scheduler

Page 37: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Mesos DC/OS Dashboard

Page 38: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Reference Architecture for Mesos DC/OS

C 1 C 2

Manager Marathon Applicatio

C 3 C 4 C n

Worker Marathon Application

Marathon Load Balancer

Gov Reg

Conf Reg

User Store

Client

Manager Marathon Application

Worker Marathon Application

Page 39: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

The Solution Stack for Mesos DC/OS

Configuration Management WSO2 Puppet modules:https://github.com/wso2/puppet-modules/tree/mesos-platform-dev

Virtual Machine/Container images

WSO2 Dockerfiles:https://github.com/wso2/dockerfiles

Deployment Automation Marathon applications, bash scripts:https://github.com/wso2-incubator/mesos-artifacts

Cluster Discovery WSO2 Mesos membership scheme:https://github.com/wso2-incubator/mesos-artifacts

Internal/External Load Balancing

Marathon load balancer:https://github.com/wso2-incubator/mesos-artifacts

Page 40: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Deploying WSO2 Middleware on Cloud Foundry

Page 41: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

An Introduction to Cloud Foundry

Page 42: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

An Introduction to Cloud Foundry

Page 43: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Limitations in the Current Architecture

• A container can only expose one transport/port. • Only HTTP traffic can be routed via the router.• SSL get terminated at the router.• Internal routing rules cannot be defined.• Autoscaling can only be done based on CPU usage.

Warning icon source: http://www.flaticon.com/free-icon/warning-triangle_10190

Page 44: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Reference Architecture for Cloud Foundry

C 1 C 2

Manager Marathon Applicatio

C 3 C 4 C n

Worker Marathon Application

CF Router

Gov Reg

Conf Reg

User Store

Client

Manager CF Application

Worker CF Application

Page 45: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Deployment Architecture

Page 46: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Cloud Foundry Dashboard

Page 47: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Cloud Foundry Analytics

Page 48: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

The Solution Stack for Cloud Foundry

Configuration Management WSO2 Puppet modules:https://github.com/wso2/puppet-modules

Virtual Machine/Container images

Not required (managed by CF)

Deployment Automation CF applications + binary buildpack:cf push wso2esb -c "/bin/bash bin/wso2server.sh" -b https://github.com/cloudfoundry/binary-buildpack.git

Cluster Discovery WSO2 Cloud Foundry membership scheme:https://github.com/isurulucky/cloudfoundry-membership-scheme-for-carbon

Internal/External Load Balancing

CF router, Nginx

Page 49: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

References

[1] Anton Kirillov, Data Processing Platforms Architectures: http://www.slideshare.net/akirillov/data-processing-platforms-architectures-with-spark-mesos-akka-cassandra-and-kafka

Page 50: WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy

Thank You!

#WSO2ConEU

Share your feedback for this session

wso2con.com/app