WSO2 Stratos 2010 September Workshop

38
Introduction to WSO2 Cloud Platform Presenter Afkham Azeez Senior Software Architect & Senior Manager WSO2 Inc.

description

 

Transcript of WSO2 Stratos 2010 September Workshop

Page 1: WSO2 Stratos 2010 September Workshop

Introduction to WSO2 Cloud Platform

Presenter

Afkham AzeezSenior Software Architect & Senior Manager

WSO2 Inc.

Page 2: WSO2 Stratos 2010 September Workshop

About Me● Architected the WSO2 Carbon & WSO2 Stratos

platforms● Member, Apache Software Foundation● Committer & PMC member on a number of

Apache projects● Senior Manager, WSO2 PaaS

– Manage the Stratos team which spans across all product groups

● LinkedIn http://lk.linkedin.com/in/afkhamazeez

Page 3: WSO2 Stratos 2010 September Workshop

Cloud Computing● Ability to buy computations power, storage or

services on demand● Service Delivery Model

– What is given “as a Service”

– “as a Service” ● Pay per use● Self service provisioning● Virtually unlimited resources● Resource sharing

● Cloud Deployment Model– Where is the cloud deployed

Page 4: WSO2 Stratos 2010 September Workshop

Cloud Computing – Service Delivery Model

For end-users

For developers, integrators, architects

For infrastructure specialists

Page 5: WSO2 Stratos 2010 September Workshop

Cloud Computing – Deployment Model

● In public– IaaS, PaaS, SaaS available on the Internet– Use one of the cloud service providers– Information is stored and managed by provider under SLA

● In Private– Have a cloud, in-house– IaaS provides by hardware on your data centers– PaaS running on your IaaS– SaaS executing on your PaaS

● Or use both– Hybrid Cloud

Page 6: WSO2 Stratos 2010 September Workshop

© WSO2 2010

Enterprise IT in 2010

6

Page 7: WSO2 Stratos 2010 September Workshop

© WSO2 2010

Enterprise IT in 2015+

7

Page 8: WSO2 Stratos 2010 September Workshop
Page 9: WSO2 Stratos 2010 September Workshop

Some aims of ours with Stratos● Configure an Identity Server in the Cloud

– Either bootstrap with users or connect to existing AD/LDAP– Use with Google Apps, Salesforce.com as well as other Stratos services

● Go online and deploy a WAR file

● Seamless access control for Tomcat webapps– Including OpenID/OAuth support

● Seamless access control for your Governance Registry– Yes, you get a Governance Registry out-of-the-box

● Every service you deploy is automatically governed, monitored and metered

And a lot more too…

Page 10: WSO2 Stratos 2010 September Workshop

web.xml

<login-config><auth-method>BASIC</auth-method><realm-name>Basic Auth</realm-name>

</login-config>

Automatically ties into Stratos Identity

Page 11: WSO2 Stratos 2010 September Workshop

WSO2 Platform as a Service

● Available as a public cloud– https://cloud.wso2.com– Hosted with Amazon EC2

● Or in the private cloud– In house deployment of pass– Available based on a variety of IaaS (UEC, etc.)

● Or both– Hybrid solution architecture

Page 12: WSO2 Stratos 2010 September Workshop

Why Public Cloud?

● No need to buy machines

● No need to setup

● No need to spend anything, if we are not using

● No need to wait, if you need more computing power

● It is just out there, ready to be used

Page 13: WSO2 Stratos 2010 September Workshop

Why not Public Cloud● Because it is out there :)

– Data is wealth, often key to competitive advantage● Not supposed to move it out-premisses

– Due to some security reasons● Take no chance on sensitive elements in IT

– You cannot move your mainframe to your cloud● Legacy apps are better off the way they are

– Quality of service

● Availability, SLA

– Regulations● Government and industry regulations

– Like all banks should have the data center within the country

● Greater total cost over time

Page 14: WSO2 Stratos 2010 September Workshop

Private Cloud to the Rescue

● Cloud in-house

● All cloud platform advantages intact

● Stratos can be deployed onto a private cloud setup

– Leverage “cloud native” aspects

Page 15: WSO2 Stratos 2010 September Workshop

Pre-Requisites for a Private Cloud● IaaS

– Hardware● Computers (CPU/Memory/virtualization)● Large storage● High speed network connectivity

– Cloud ready OS● e.g. Ubuntu Server

– Cloud Infrastructure ● e.g. Eucalyptus

Page 16: WSO2 Stratos 2010 September Workshop

User Experience of Stratos

Page 17: WSO2 Stratos 2010 September Workshop

Why “Cloud Native” on Private Cloud?● Distributed / Dynamically Wired (works properly in the cloud)

– Finds services across applications – Reuse services from other departments e.g. People information required by all of

Finance, Engineering and Sales● Elastic (uses the cloud efficiently)

– Scales up and down as needed– Some departments might want varying resources with varying bandwidth with varying

priority● Multi-tenant (only costs when you use it)

– Virtual isolated instances to facilitate isolation between departments etc.– e.g. Sales vs Finance tenants. Finance want complete isolation for some sensitive

services● Self-service (in the hands of users)

– De-centralized creation and management of tenants– No need to come to IT department to gain access – served via portal – no need to be on

the queue or waiting list● Granularly Billed and Metered (pay for just what you use)

– Allocate costs to exactly who uses them– Bill and cost various departments per use – Get rid of the situations where unused computing assets lying in one department while

the other departments are starving for the same● Incrementally Deployed and Tested (supports seamless live upgrade)

– Not disrupt other operations© WSO2 2010

Page 18: WSO2 Stratos 2010 September Workshop

Autoscaling

● The Solution

– Traditional solution● Buying safety-net capacity

– Better solution ● Scale-up the system when the load increases● Scale-down the system when the load

decreases● Should not have idling nodes● Pay only for the actual computing power &

bandwidth utilized● Cloud independent autoscaling

Page 19: WSO2 Stratos 2010 September Workshop

19

Deploying a Service on the Cloud

AMI Instances

Page 20: WSO2 Stratos 2010 September Workshop

20

Deploying a Service on the Cloud

Page 21: WSO2 Stratos 2010 September Workshop

21

Deploying a Service on the Cloud

Page 22: WSO2 Stratos 2010 September Workshop

22

Deploying a Service on the Cloud

Service is available now

Page 23: WSO2 Stratos 2010 September Workshop

23

Autoscaling – Steady load

Page 24: WSO2 Stratos 2010 September Workshop

24

Autoscaling – Load increasing

Load Increases

Page 25: WSO2 Stratos 2010 September Workshop

25

Autoscaling – Load increasing

Startup new instances

Page 26: WSO2 Stratos 2010 September Workshop

26

Autoscaling – Steady load

New instances join group

Page 27: WSO2 Stratos 2010 September Workshop

27

Autoscaling – Load decreasing

Load Decreases

Page 28: WSO2 Stratos 2010 September Workshop

28

Autoscaling – Load decreasing

Terminate instances

Page 29: WSO2 Stratos 2010 September Workshop

29

Autoscaling – Steady load

Page 30: WSO2 Stratos 2010 September Workshop

30

Analysis & Results

Page 31: WSO2 Stratos 2010 September Workshop

31

Analysis & Results

Page 32: WSO2 Stratos 2010 September Workshop

“Multi-tenancy” within organizations

● Can be used to give departments their own PaaS world to operate in

● Yet all share same hardware resources– Not all departments need resources at the same time– Really pay per use– Opportunity to unify departmental level small server

pools ● Drastically reduce admin/management costs

– One software installation to maintain

● Use differentiated QoS

Page 33: WSO2 Stratos 2010 September Workshop

Achieving Tenant Isolation

● Each tenant is given a Security Domain● Each domain is isolated and do not have

access to other domains– Data isolation

– Logic Isolation

Page 34: WSO2 Stratos 2010 September Workshop

Example: Multitenant Artifact Deployment & Dispatching

Page 35: WSO2 Stratos 2010 September Workshop

Public / Private Cloud Bridging - CSG

Page 36: WSO2 Stratos 2010 September Workshop

Public / Private Cloud Bridging - VPC

http://aws.amazon.com/vpc/

Page 37: WSO2 Stratos 2010 September Workshop

Why use a PaaS in a…

● Public Cloud– Fast time to market– Makes it easier to write scalable code

● Private Cloud– Give each team their own instant infrastructure– Govern centrally but code and deploy by team– Automated governance, registry, identity– Instant BAM

● SaaS market– Build multi-tenant apps faster

Page 38: WSO2 Stratos 2010 September Workshop

Summary● WSO2 private cloud solution gives you:

– An enterprise grade PaaS ● On Amazon or in your Datacenter

– Deploy existing webapps, create new composite apps● Use what you need

– Completely multi-tenanted and elastically scaling● Cloud Native

– Tooling for development & management● Highly effective and productive

● Built on battle-hardened, proven middleware– In production at eBay, Deutsche Bank, Prudential, Kaiser Permanente

and others● Only vendor with a comprehensive PaaS offering with zero lock-in