stratos appfactory in the cloud tampa meetup-2013-09

32
Apache Stratos (incubating) on Amazon EC2, StratosLive, App Factory, and Multi-Tenant Carbon Framework Chris Haddad @cobiacomm on Twitter http://blog.cobia.net/cobiacomm Read more about Platform as a Service (PaaS) at http://blog.cobia.net/cobiacomm/tag /paas

Upload: chris-haddad

Post on 08-May-2015

545 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Stratos AppFactory in the Cloud tampa meetup-2013-09

Apache Stratos (incubating) on Amazon EC2, StratosLive, App Factory, and

Multi-Tenant Carbon FrameworkChris Haddad

@cobiacomm on Twitterhttp://blog.cobia.net/cobiacomm

Read more about Platform as a Service (PaaS) at http://blog.cobia.net/cobiacomm/tag/paas

Page 2: Stratos AppFactory in the Cloud tampa meetup-2013-09

Drivers for a new IT model

Addressing Long Tail Markets Accelerating IT Adoption

The New API-Centric WebAvoiding the Innovators Dilemma

Page 3: Stratos AppFactory in the Cloud tampa meetup-2013-09

When to deliver? Right Now• Time to create a new product– Time to design and build– Time to complete a product trial

• Time to enter a new market– Time to onboard local partners– Time to create a marketing

campaign• Time to react to market events• Dwell time – time waiting for

the next operation to commence or complete

Page 4: Stratos AppFactory in the Cloud tampa meetup-2013-09

Our PaaS Vision intersectsConnected Business Objectives

A connected business seamlessly • integrates people, process, and data across an

extended value chain• decreases interaction cost • automatically adapts business activity in response to

market events

Page 5: Stratos AppFactory in the Cloud tampa meetup-2013-09

Integrated

Accessible

Collaborative

Adaptive

Connected Business AttributesAccelerates interactions inside and outside the organization

Reduces interaction friction and cost

Increases engagement and enhances productivity

Senses business activity and automatically adapts

Page 6: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 6

Technology Trends Shaping PaaS

• Rise in cloud based DevOps and ALM adaptation• Rise in demand for hybrid cloud configurations• Big data analysis and complex event processing in the

cloud • Greater emphasis on required change management

and cost benefits when enterprise organizations select aPaaS instead of CEAP

Page 7: Stratos AppFactory in the Cloud tampa meetup-2013-09

Cloud Native• Distributed/Dynamically Wired (works properly in the cloud)

• Supports deploying in a dynamically sized cluster• Finds services across applications even when they move

• Elastic (Uses the cloud efficiently)• Scales up and down as needed• Works with the underlying IaaS

• Multi-tenant (Only costs when you use it)• Virtual isolated instances with near zero incremental cost • Implies you have a proper identity model

• Self-service (in the hands of users)• De-centralized creation and management of tenants• Automated Governance across tenants

• Granularly Billed and Metered (pay for just what you use)• Allocate costs to exactly who uses them

• Incrementally Deployed and Tested (seamless live upgrades)• Supports continuous update, side-by-side operation, in-place testing and

incremental production

Page 8: Stratos AppFactory in the Cloud tampa meetup-2013-09

Cloud-Native Log Service

Page 9: Stratos AppFactory in the Cloud tampa meetup-2013-09

Cloud Native Difference

http://wso2.com/whitepapers/cloud-native-advantage-multi-tenant-shared-container-paas

Page 10: Stratos AppFactory in the Cloud tampa meetup-2013-09

Tenant-aware and Service-Aware Load Balancing

Page 11: Stratos AppFactory in the Cloud tampa meetup-2013-09

Cloud-Native Application Delivery:Mask Topology Details with Policy-based

Artifact Distribution Controller

Page 12: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 12

WSO2 PaaS Offering - Key Differentiators

• A complete set of Cloud-Native middleware services enabling complex project delivery

• Enterprise-ready foundation– Scale, performance, SLA, integration

• Re-shapes team collaboration and reduces wait states– Incorporates DevOps processes– Fosters Application Lifecycle Management and Governance

best practices• Business driven PaaS

– Lowest run-time cost– CxO dashboards delivering portfolio visibility– Development and DevOps dashboards presenting activity,

iterations, and project blockers– Showback/chargeback billing

Page 13: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 13

Stratos History• June 2010 – Stratos 1.0 alpha and early availability of StratosLive

• November 2010 – Stratos 1.0 launched

• July 2011 – Stratos 1.5 and supported StratosLive

• January 2012 – Stratos 1.5.2

• November 2012 – Stratos 1.6

• February 2013 – Stratos 2.0 beta

• June 2013 – Stratos 2.0 Generally available

• June 2013 – WSO2 donates Stratos 2.0 Foundation to Apache

• Sept/Oct 2013 – First Apache release planned

Page 14: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 14

Stratos Livehttps://stratoslive.wso2.com

Page 15: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 15

StratosLive Capabilities

• Multi-tenant management and sign-up• Multiple levels of engagement– demo -> enterprise

• Each tenant can manage their own user base– Including Google Apps links or linkage to their own

LDAP• A complete platform– Applications, integration, business process,

eventing, data, and analytics available

Page 16: Stratos AppFactory in the Cloud tampa meetup-2013-09

Stratos 2.0 Key differentiators: Inherently multi-tenant, polyglot runtime, enterprise-class services

Page 17: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 17

Stratos 2.0

• What is new?– Cartridge model (Polyglot)

• Pluggable services• Non-Java / Non-Carbon services• Multiple instances of a cartridge per tenant• Single Tenant or Multi-Tenant cartridges

– Command Line– Git – jclouds and support for many more IaaS clouds– Domain Mapping– Tenant aware load-balancer and Private Jet Mode

Page 18: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 18

Apache Stratos

Page 19: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 19

Apache Stratos (incubating)

Page 20: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 20

What did / didn’t go to Apache

• In Apache– Core framework– Cloud Controller, Elastic Load Balancer, Stratos Controller, etc– Cartridges for Tomcat, MySQL, PHP

• Dependency on WSO2 open source repos:– Carbon framework

• WSO2 add-ons– Carbon cartridges (e.g. ESB, AS, BPS, API Manager, CEP, etc)– Billing and Metering framework– Logging Framework

Page 21: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 21

Apache Stratos Roadmap

• Support for non-HTTP load balancing – HAProxy plugin, etc

• New architecture for auto-scaling decision making– Support WSO2 CEP, Apache Storm, etc– Improvements to policy

• E.g. start new instances in sync in every region

• Pure LXC cartridges – No requirement to re-create cartridges for different IaaS layers

• Support for deployment plans – Multiple connected cartridges– OASIS CAMP and/or enhancements to CAR file model

Page 22: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 22

WSO2 PaaS Roadmap • Dynamic, policy based elastic sharing and resource pooling

– tenant assignment to shared and private partitions via policy statements.

– Dynamic, policy based partitioning of private and shared resources across tenants and services

• IT Business– Enhance billing to demonstrate custom showback/chargeback on

all tracked elements. – Dashboard to visually depict usage per tenant, per user, per

application, per service. • Additional Cloud Services

– API Management as a Service offered as an aPaaS service.– Cloud IDE

• Expansion of ecosystem community surrounding Apache Stratos (incubating)

Page 23: Stratos AppFactory in the Cloud tampa meetup-2013-09

Enterprise DevOps PaaS

Page 24: Stratos AppFactory in the Cloud tampa meetup-2013-09

WSO2 App FactoryEnterprise DevOps PaaS

Page 25: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 25

WSO2 App Factoryhttps://appfactorypreview.wso2.com

Page 26: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 26

WSO2 App Factoryhttps://appfactorypreview.wso2.com

Page 27: Stratos AppFactory in the Cloud tampa meetup-2013-09

04/11/2023 27

StratosLive -> WSO2 Cloud

Page 28: Stratos AppFactory in the Cloud tampa meetup-2013-09

Comparing PaaS Frameworks to PaaS Platforms

Page 29: Stratos AppFactory in the Cloud tampa meetup-2013-09
Page 31: Stratos AppFactory in the Cloud tampa meetup-2013-09

On-Premise SaaS

• Step 1: Setup and Configuration– Download WSO2 Application Server– Configure Tenants– Setup mySQL database

• Step 2: Application Installation– Load CarbonSaaSTest Web Application

• Step 3: Test out Multi-tenancy– Cache, Registry, Users Management, Tenant

database

Page 32: Stratos AppFactory in the Cloud tampa meetup-2013-09

In-the-Cloud SaaS on PaaS

• Step 1: Create WSO2 StratosLive aPaaS account– https://stratoslive.wso2.com

• Step 2: Configure database– Navigate to Storage Service– Click Relational Storage Provisioning

• Create a new database server instance• Add Database: toolsdb• Create database user: toolman• Create database privilege template• Attach database user• Create datasource

• Step 3: Upload database