SlideShare una empresa de Scribd logo
1 de 26
Descargar para leer sin conexión
Build a Cloud Aware Application
                        Chris Haddad

              Selvaratnam Uthaiyashankar

Read more about PaaS at http://blog.cobia.net/cobiacomm

          Try StratosLive https://stratoslive.wso2.com/
Platform as a Service Criteria
• When to create Cloud aware applications?
• Cloud application use cases and patterns
• Architectural difference between web
  applications and cloud applications
• Cloud Aware Application Demo
• Key Metrics and Quick Start Use Cases
When to make applications Cloud
               Aware?
• Deliver application to massive consumer base (e.g.
  Twitter, Google, Pinterest, FaceBook)
• Services distributed across multiple providers
• Infrastructure cost optimization strategy
• Application resiliency improvement strategy
• Create an ecosystem platform supporting cross-
  partner digital business
Cloud Scale and Distributed Providers
                                                                          Business
                                             Functional                    Proces
                    Presentation and                                         Business
                        Mashups                 Role                         Process
                       Presentation            Functional                       Business
                           Role                   Role                           Process
                                                                                   Business
                       Presentation and            Functional
                                                      Role                        Process and
                           Mashups                   Functional                 Business Rules
                         Presentation and
                         Mashups                        code

 Client Tier

                                                                            Resource
                                    Integration Services                      Tier
                                                                               Resource
                                                                                Services
                                                                                   Resource
                                                                                   Services
                                    Integration Services



       Public Cloud Services
                                                           Private
                                                           Applications
Application Resiliency and Composition
                                                                                 Infrastructure as a
                                Composite                        Mobile             Service (IaaS)
                                Application                    Application

SaaS Application
                                                   Cloud                                  Web
                                                                                       application
                                                    API                                 Endpoint
                                                  Endpoint



                                              Integration Services



  Business Service Portfolio                                                 Application Portfolio
                                                    Hybrid
     Presentation Services
                                                   Platform
      Business
     Process and
                   Functional                      Services
                     Services
    Rules Services
      Resources Services
      Integration Services
Domain Specific Platform as a Service
Delivering Cross-Partner Digital Business Platform
Vertical Application 1     Vertical Application 2   Vertical Application 3

     App Data                   App Data                  App Data




                                                                              Summit
                                                                              Vertical
App Source Code            App Source Code           App Source Code
      App                        App                        App
  Configuration              Configuration              Configuration




                                                                             Vertical
                                                                              API
 Domain Services                          Domain Services

 Domain Artifacts                         Domain Artifacts




                                                                             Managed
                         Programming Languages




                                                                             by PaaS
                               Frameworks

                                Containers
                              OS/Hypervisor
                                 Hardware
Application Architecture Crossroads

                    Innovation




  Familiarity
Cloud Application Patterns                             18


              and Anti-Patterns


                                       Separation of concerns
   Failure Resilient                      Leaky interfaces
                                              Tightly coupled
Single threaded,                                  modules
serial execution
                    Embarrassingly Parallel /
      Minimal      Shared Nothing Architecture   Deterministic
    Consumption                                  performance
 Resource locks    Monolithic footprint Single tenancy model
            Deploy and execute on optimum topology
Cloud Aware Application Use Cases
    and Underlying Cloud Patterns
• Maximize utilization
   – Requires deterministic performance
   – Load balance based on tenant, service, and workload,
     context
• Increase reliability, availability, scalability
   – Shared nothing architecture
   – Stateless server-side elements
   – Consensus protocols
• Ecosystem platform
   – Monetize assets based on business value
   – Tenant/Consumer personalization and isolation
   – Sharing domain specific business capabilities
Architectural Difference Between Web
      Application and Cloud Application
      Web Application                       Cloud Application
•   Synchronous request-reply        •   Asynchronous interaction
    interaction                      •   Queues and workers
•   Centralized state (i.e. single   •   Scale out across datacenters
    database) and session                and providers
    management                       •   Distributed state and session
•   Clustered server instances           management
•   Silo architecture                •   Autonomous service instances
                                     •   Tenant context personalization
                                     •   Shared JVM / Shared Schema
                                     •   Shared nothing architecture
Cloud Architecture Best Practices
Transitioning to a New normal – Traditional practices may
not apply
• Distributed and federated interactions
   – Event based, heterogeneous systems, network latency
• Configurable containers and engines
   – Declarative data, rules, and process definitions
• De-normalized and simplified data models
   – Hadoop/BigTable, Hypertext media, simple NoSQL entities
• Expect failure
   – Systems span transactional control
• Applications decomposed into distinct services
   – Federated environment drives autonomy, statelessness, and
     composition
Cloud Application Platform Shared
      Middleware Services
PaaS Evaluation Framework

•   Cloud Characteristics
•   Cloud Dimensions
•   Production Ready
•   DevOps Activities and Phases
•   Cloud Architecture
•   Platform Services
•   Programming Model
PaaS Evaluation Framework
Cloud Architecture
• Tenancy, dynamic discovery, and distributed cache
• Fine-grained metering, billing, and reporting of
  business entities, activities, and interactions
• Scale discrete application service instances instead of
  scaling monolithic application instances
• Shared nothing architecture, Thirteen Dwarf
  Patterns, parallel processing, resource coordination
• Cloud service provisioning and load balancer
PaaS Evaluation Framework
Platform Services
• Presentation services
• Application and service container services
• Business process and business rule services
• Integration services and message brokers
• Composite application services (i.e. mashups and orchestration)
• Complex event processing services
• Data access and persistence services
• Development governance
• Application life-cycle management
• Automated run-time governance services
• Policy registry and repository services
• Identity management
• Security
• Service level management
• Compute, network, and storage infrastructure services
PaaS Evaluation Framework
Programming Model
• Actor model (i.e. message passing instead of function
  invocation
• RESTful interactions
• Dynamic recoverability
• Consensus protocols
• Asynchronous rather than synchronous interactions
• Shared nothing architecture
• Data partitioning and sharding
• Federated data queries
• Service orchestration
• Functional programming
• MapReduce
Cloud Application Demo
•   Register a new tenant
     – Show the self service aspect, multi tenancy aspect
     – Create and provision a new tenant on shared infrastructure
•   Demonstrate PaaS facilities available for a tenant (metering, billing, logs)
•   Upload an existing web application to the tenant
     – Demonstrate the zero cost/easy migration of applications
•   Creating a new hello world web application
     – Demonstrate the procedure to create an application
     – Deploy application to Cloud using WSO2 Dveloper Studio
•   Secure the web application(Tie the authentication to underlying user model).
•   Create a database
     – Relational storage model options
     – NoSQL storage model options
•   Access a database via web application
•   Expose a database table as data services.
•   Demonstrate WSO2 Stratos and WSO2 StratosLive application platform services
•   Explain the programming model + services
     – Access "CarbonContext” within applications
Key Metrics

• Foundation
  • Time to create new application environment
  • Time to redeploy application
• Optimize
  • Minimum and maximum scale
  • Scale frequency (i.e. time to scale up/down)
• Transformation
  • Time and effort required integrating business process, event
    processor – creating a complex app.
  • Time and effort required to apply policy across tenant(s)
  • Cost to operate application per user or transaction
Quick Start Use Cases

•   DevOps Tooling and On-demand self-service
•   Automated Governance
•   Service level management and elastic scale
•   Consumption based pricing and billing
Quick Start Use Cases

DevOps Tooling and On-demand self-service
• Use Cases
  – Rapidly provision application environment
  – Rapidly provision application tenant
  – Allocate, provision, monitor, manage, and administer
    resources across multiple tenants, nodes, and
    locations
  – Develop complex, composite integrated applications
• Key metrics
  – Time to create new application environment
  – Time to redeploy application
Quick Start Use Cases

Automated Governance
• Use Cases
   – Create users and configure rights
   – Deploy on preferred topology that meets deterministic
     performance requirements (e.g., replication, utilization,
     latency, bandwidth, and coherency)
   – Create service throttling and security governance (XACML)
     policies
• Key Metrics
   – Time and effort required integrating business process,
     event processor – creating a complex app.
   – Time and effort required to apply policy across tenant(s)
Quick Start Use Cases

Service level management and elastic scale
• Use cases
  – Ensure application satisfies consumer demand while
    maximizing resource utilization
     • Scale workload processing and increase performance while
       minimizing infrastructure spend
  – Load test application service
  – Demonstrate multi-tenant web application
• Key Metrics
  – Minimum and maximum scale
  – Scale frequency (i.e. time to scale up/down)
Quick Start Use Cases

Consumption based pricing and billing
• Use cases
  – View service logs
  – View bill by business value
• Key Metric
  – Cost to operate application per user or transaction
Resources
• Try StratosLive right now:
   – https://stratoslive.wso2.com/
• Read about Stratos:
   – http://wso2.com/cloud/stratos/
   – Source Download available
• White Paper
   – Selecting Platform as a Service
   – Platform as a Service TCO: multi-tenant shared container
• Blog Articles
   –   What is Platform as a Service?
   –   PaaS Evaluation Framework for CIOs and Architects
   –   How to simplify Platform as a Service Complexity
   –   Searching for Cloud Reference Architecture
• Contact us:
   – bizdev@wso2.com
Follow us:
                            http://twitter.com/#!/wso2

                                                         Follow us:
Contact us:
                                                  http://twitter.com/#!/wso2
http://wso2.com/contact/
                                                  http://twitter.com/#!/cobiacomm
lean . enterprise . middleware

Más contenido relacionado

Más de WSO2

WSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the CloudWSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the CloudWSO2
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2
 
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and ApplicationsWSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and ApplicationsWSO2
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2
 
WSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in UgandaWSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in UgandaWSO2
 

Más de WSO2 (20)

WSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the CloudWSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the Cloud
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and ApplicationsWSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
WSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in UgandaWSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in Uganda
 

Último

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 

Último (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 

Summer School - Building a Cloud-Aware Application

  • 1. Build a Cloud Aware Application Chris Haddad Selvaratnam Uthaiyashankar Read more about PaaS at http://blog.cobia.net/cobiacomm Try StratosLive https://stratoslive.wso2.com/
  • 2. Platform as a Service Criteria • When to create Cloud aware applications? • Cloud application use cases and patterns • Architectural difference between web applications and cloud applications • Cloud Aware Application Demo • Key Metrics and Quick Start Use Cases
  • 3. When to make applications Cloud Aware? • Deliver application to massive consumer base (e.g. Twitter, Google, Pinterest, FaceBook) • Services distributed across multiple providers • Infrastructure cost optimization strategy • Application resiliency improvement strategy • Create an ecosystem platform supporting cross- partner digital business
  • 4. Cloud Scale and Distributed Providers Business Functional Proces Presentation and Business Mashups Role Process Presentation Functional Business Role Role Process Business Presentation and Functional Role Process and Mashups Functional Business Rules Presentation and Mashups code Client Tier Resource Integration Services Tier Resource Services Resource Services Integration Services Public Cloud Services Private Applications
  • 5. Application Resiliency and Composition Infrastructure as a Composite Mobile Service (IaaS) Application Application SaaS Application Cloud Web application API Endpoint Endpoint Integration Services Business Service Portfolio Application Portfolio Hybrid Presentation Services Platform Business Process and Functional Services Services Rules Services Resources Services Integration Services
  • 6. Domain Specific Platform as a Service Delivering Cross-Partner Digital Business Platform Vertical Application 1 Vertical Application 2 Vertical Application 3 App Data App Data App Data Summit Vertical App Source Code App Source Code App Source Code App App App Configuration Configuration Configuration Vertical API Domain Services Domain Services Domain Artifacts Domain Artifacts Managed Programming Languages by PaaS Frameworks Containers OS/Hypervisor Hardware
  • 7. Application Architecture Crossroads Innovation Familiarity
  • 8. Cloud Application Patterns 18 and Anti-Patterns Separation of concerns Failure Resilient Leaky interfaces Tightly coupled Single threaded, modules serial execution Embarrassingly Parallel / Minimal Shared Nothing Architecture Deterministic Consumption performance Resource locks Monolithic footprint Single tenancy model Deploy and execute on optimum topology
  • 9. Cloud Aware Application Use Cases and Underlying Cloud Patterns • Maximize utilization – Requires deterministic performance – Load balance based on tenant, service, and workload, context • Increase reliability, availability, scalability – Shared nothing architecture – Stateless server-side elements – Consensus protocols • Ecosystem platform – Monetize assets based on business value – Tenant/Consumer personalization and isolation – Sharing domain specific business capabilities
  • 10. Architectural Difference Between Web Application and Cloud Application Web Application Cloud Application • Synchronous request-reply • Asynchronous interaction interaction • Queues and workers • Centralized state (i.e. single • Scale out across datacenters database) and session and providers management • Distributed state and session • Clustered server instances management • Silo architecture • Autonomous service instances • Tenant context personalization • Shared JVM / Shared Schema • Shared nothing architecture
  • 11. Cloud Architecture Best Practices Transitioning to a New normal – Traditional practices may not apply • Distributed and federated interactions – Event based, heterogeneous systems, network latency • Configurable containers and engines – Declarative data, rules, and process definitions • De-normalized and simplified data models – Hadoop/BigTable, Hypertext media, simple NoSQL entities • Expect failure – Systems span transactional control • Applications decomposed into distinct services – Federated environment drives autonomy, statelessness, and composition
  • 12. Cloud Application Platform Shared Middleware Services
  • 13. PaaS Evaluation Framework • Cloud Characteristics • Cloud Dimensions • Production Ready • DevOps Activities and Phases • Cloud Architecture • Platform Services • Programming Model
  • 14. PaaS Evaluation Framework Cloud Architecture • Tenancy, dynamic discovery, and distributed cache • Fine-grained metering, billing, and reporting of business entities, activities, and interactions • Scale discrete application service instances instead of scaling monolithic application instances • Shared nothing architecture, Thirteen Dwarf Patterns, parallel processing, resource coordination • Cloud service provisioning and load balancer
  • 15. PaaS Evaluation Framework Platform Services • Presentation services • Application and service container services • Business process and business rule services • Integration services and message brokers • Composite application services (i.e. mashups and orchestration) • Complex event processing services • Data access and persistence services • Development governance • Application life-cycle management • Automated run-time governance services • Policy registry and repository services • Identity management • Security • Service level management • Compute, network, and storage infrastructure services
  • 16. PaaS Evaluation Framework Programming Model • Actor model (i.e. message passing instead of function invocation • RESTful interactions • Dynamic recoverability • Consensus protocols • Asynchronous rather than synchronous interactions • Shared nothing architecture • Data partitioning and sharding • Federated data queries • Service orchestration • Functional programming • MapReduce
  • 17. Cloud Application Demo • Register a new tenant – Show the self service aspect, multi tenancy aspect – Create and provision a new tenant on shared infrastructure • Demonstrate PaaS facilities available for a tenant (metering, billing, logs) • Upload an existing web application to the tenant – Demonstrate the zero cost/easy migration of applications • Creating a new hello world web application – Demonstrate the procedure to create an application – Deploy application to Cloud using WSO2 Dveloper Studio • Secure the web application(Tie the authentication to underlying user model). • Create a database – Relational storage model options – NoSQL storage model options • Access a database via web application • Expose a database table as data services. • Demonstrate WSO2 Stratos and WSO2 StratosLive application platform services • Explain the programming model + services – Access "CarbonContext” within applications
  • 18. Key Metrics • Foundation • Time to create new application environment • Time to redeploy application • Optimize • Minimum and maximum scale • Scale frequency (i.e. time to scale up/down) • Transformation • Time and effort required integrating business process, event processor – creating a complex app. • Time and effort required to apply policy across tenant(s) • Cost to operate application per user or transaction
  • 19. Quick Start Use Cases • DevOps Tooling and On-demand self-service • Automated Governance • Service level management and elastic scale • Consumption based pricing and billing
  • 20. Quick Start Use Cases DevOps Tooling and On-demand self-service • Use Cases – Rapidly provision application environment – Rapidly provision application tenant – Allocate, provision, monitor, manage, and administer resources across multiple tenants, nodes, and locations – Develop complex, composite integrated applications • Key metrics – Time to create new application environment – Time to redeploy application
  • 21. Quick Start Use Cases Automated Governance • Use Cases – Create users and configure rights – Deploy on preferred topology that meets deterministic performance requirements (e.g., replication, utilization, latency, bandwidth, and coherency) – Create service throttling and security governance (XACML) policies • Key Metrics – Time and effort required integrating business process, event processor – creating a complex app. – Time and effort required to apply policy across tenant(s)
  • 22. Quick Start Use Cases Service level management and elastic scale • Use cases – Ensure application satisfies consumer demand while maximizing resource utilization • Scale workload processing and increase performance while minimizing infrastructure spend – Load test application service – Demonstrate multi-tenant web application • Key Metrics – Minimum and maximum scale – Scale frequency (i.e. time to scale up/down)
  • 23. Quick Start Use Cases Consumption based pricing and billing • Use cases – View service logs – View bill by business value • Key Metric – Cost to operate application per user or transaction
  • 24. Resources • Try StratosLive right now: – https://stratoslive.wso2.com/ • Read about Stratos: – http://wso2.com/cloud/stratos/ – Source Download available • White Paper – Selecting Platform as a Service – Platform as a Service TCO: multi-tenant shared container • Blog Articles – What is Platform as a Service? – PaaS Evaluation Framework for CIOs and Architects – How to simplify Platform as a Service Complexity – Searching for Cloud Reference Architecture • Contact us: – bizdev@wso2.com
  • 25. Follow us: http://twitter.com/#!/wso2 Follow us: Contact us: http://twitter.com/#!/wso2 http://wso2.com/contact/ http://twitter.com/#!/cobiacomm
  • 26. lean . enterprise . middleware