Date post: | 08-May-2015 |
Category: |
Technology |
Upload: | chris-haddad |
View: | 544 times |
Download: | 0 times |
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
Drivers for a new IT model
Addressing Long Tail Markets Accelerating IT Adoption
The New API-Centric WebAvoiding the Innovators Dilemma
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
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
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
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
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
Cloud-Native Log Service
Cloud Native Difference
http://wso2.com/whitepapers/cloud-native-advantage-multi-tenant-shared-container-paas
Tenant-aware and Service-Aware Load Balancing
Cloud-Native Application Delivery:Mask Topology Details with Policy-based
Artifact Distribution Controller
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
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
04/11/2023 14
Stratos Livehttps://stratoslive.wso2.com
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
Stratos 2.0 Key differentiators: Inherently multi-tenant, polyglot runtime, enterprise-class services
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
04/11/2023 18
Apache Stratos
04/11/2023 19
Apache Stratos (incubating)
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
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
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)
Enterprise DevOps PaaS
WSO2 App FactoryEnterprise DevOps PaaS
04/11/2023 25
WSO2 App Factoryhttps://appfactorypreview.wso2.com
04/11/2023 26
WSO2 App Factoryhttps://appfactorypreview.wso2.com
04/11/2023 27
StratosLive -> WSO2 Cloud
Comparing PaaS Frameworks to PaaS Platforms
Recommended Reading• The Path to Responsive IT– http://wso2.com/whitepapers/the-path-to-respon
sive-it
• DevOps Meets ALM in the Cloud– http://wso2.com/whitepapers/devops-meets-alm-
in-the-cloud-cloud-devops-paas
• Cloud-Native Advantage– http://wso2.com/whitepapers/cloud-native-advan
tage-multi-tenant-shared-container-paas
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
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