Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
-
Upload
imesh-gunaratne -
Category
Documents
-
view
81 -
download
1
Transcript of Private PaaS for the Enterprise - Apache Stratos & WSO2 Private PaaS
Private PaaS for the Enterprise: Apache Stratos & WSO2 Private PaaS
Lakmal WarusawithanaDirector Cloud Architecture, WSO2 Inc
Vise President - Apache Stratos
Imesh GunaratneSenior Technical Lead, WSO2 Inc
PMC Member - Apache Stratos
Agenda
๏ Introduction to Apache Stratos
๏ Introduction to Containers
๏ Introduction to Docker
๏ Introduction to CoreOS and Flannel
๏ Introduction to Kubernetes
๏ Apache Stratos integration with Docker, CoreOS
and Kubernetes
๏ Introduction to WSO2 Private PaaS
๏ WSO2 Private PaaS Demo - Kubernetes, WSO2 ESB
Apache Stratos
๏ Apache Stratos is a highly-extensible Platform-as-a-Service (PaaS) framework that helps run Apache Tomcat, PHP, and MySQL applications and can be extended to support many more environments on all major cloud infrastructures
๏ Stratos initially developed by WSO2 and last year donated to Apache Software Foundation
๏ After successfully complete the incubating process Stratos now graduated as Top Level Project
Apache Stratos Layered Architecture
What are containers?
What are containers?
What are containers?
What are containers?
What are containers?
What are containers?
What are containers?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
What is Docker?
How does images are stored in Registry?
Docker File System
Demo - Basic Docker
๏ boot2docker
๏ Create basic container
๏ Write a dockerfile
๏ Build a docker Image
๏ Create a container using created docker image
๏ Access via host machine port
What is CoreOS?
CoreOS Cluster
CoreOS update management
What is Flannel?
What is Kubernetes?
๏ Kubernetes is a platform for hosting Docker containers in a clustered environment with multiple Docker hosts
๏ Provides container grouping, load balancing, auto-healing, manual scaling features ...etc
๏ Project was started by Google
๏ Contributors == Google, CodeOS, Redhat, Mesosphere, Microsoft, HP, IBM, VMWare, Pivotal, SaltStack, etc
Key Concepts of Kubernetes
๏ Pod - A group of Containers๏ Labels - Labels for identifying pods๏ Proxy/Service - A load balancer for Pods๏ etcd - A metadata service๏ cAdvisor - Container Advisor provides
resource usage/performance statistics๏ Replication Controller - Manages replication
of pods๏ Scheduler - Schedules pods in worker nodes๏ API Server - Kubernetes API server
Kubernetes Pods
Kubernetes Pods
Kubernetes Labels
Kubernetes Labels
Kubernetes Services
CoreOS with Kubernetes
Apache Stratos L1 Architecture for Docker based Cartridges
Stratos Architecture with Docker Support
Kubernetes Resources Used by Stratos
● A Kubernetes Service is created for each transport/port mapping defined in the cartridge.
● Kubernetes Service is a load balancing service for Pods.
● A Kubernetes Pod is created for each member in a cluster.
● A Kubernetes Pod is a group of Docker containers.
● Kubernetes creates a separate Docker container for networking.
Introduction to WSO2 Private PaaS
Introduction to WSO2 Private PaaS
๏ The WSO2 Private PaaS is a complete, enterprise-grade solution, offering an open Platform as a Service (PaaS)
๏ At the core of WSO2 Private PaaS, lies Apache Stratos , providing cloud-native capabilities such as multi-tenancy, elastic scaling, self-service provisioning, metering, billing and resource pooling among several other functionalities
๏ More significantly, it also adds functionality to host pre-integrated, fully multi-tenant WSO2 Carbon middleware products as cartridges that deliver a range of cloud PaaS services
WSO2 Cartridge Component Architecture
Configurator Component Architecture
WSO2 Private PaaS/Kubernetes Deployment Architecture
Load Balancer Architecture
WSO2 Private PaaS Demo
● ESB Docker Image Creation
● Deploying ESB in PPaaS on Kubernetes
● Artifact Distribution
● Autoscaling
● Load Balancing
More Information!
● http://lakmalsview.blogspot.com/2013/12/sneak-peek-into-apache-stratos.html
● https://sysadmincasts.com/episodes/31-introduction-to-docker
● https://www.youtube.com/watch?v=tsk0pWf4ipw● http://stratos.apache.org● https://cwiki.apache.
org/confluence/display/STRATOS/4.1.0+Stratos+M2+Developer+Preview
● https://github.com/coreos/etcd● https://github.com/coreos/flannel
Thank You