a use case with cloud foundry deployment
TRANSCRIPT
www.huawei.com
Slide title :40-47pt
Slide subtitle :26-30pt
Color::white
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
HUAWEI TECHNOLOGIES CO., LTD.
A telecom use case with Cloud Foundry deployment Krishna Kumar & Dhilip Kumar
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
2
Who are we? Huawei’s PaaS team (Cloud Foundry)
Krishna M Kumar Lead Architect
Runs PaaS India Team
Dhilip Kumar S Engineer
Writes go programs for living
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
3
Case Study Huawei’s Internal Product X
•Huawei is a huge company, which has so many products developed in-house to
help us on the day to day needs.
•We selected one such Huawei’s internal product X that is suitable for PaaS
migration.
•Understand their current deployment architecture
• Understand their spike and average behavior
• Understand Hardware utilization
• How to isolate among different installation?
•Propose a new solution based on PaaS
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
4
Internal Product X Introduction
• An E-Com website
• Hosted in different continents on different data centers • Based on the popular community version of the E-Commerce framework Magento • Community version is Written in PHP , talks to MySQL and can be configured to use Redis as a Cache • Huawei highly customized the open source community version to fit our needs • Average Number of users logged into the website 800 to 1000 could spike to 17,000 during peak • Average page loads of user from 600/min could spike to 20,000 / min
0
2000
4000
6000
8000
10000
12000
14000
16000
18000
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Days of a Month
No of Users
0
5000
10000
15000
20000
25000
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Days of a Month
Page Load / Min
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
5
HT
TP
Tra
ffic
12
12
8
8
Internal Product X Architecture
24
8
8
User
Order
Etc.
SSO
12
8
HT
TP
Tra
ffic
Cache Hits
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
6
Elastic scalability - VMs are created as needed manually. This is very inefficient and slow
Multi-tenancy – Separate VMs for handling this requirements
Customization - Adapting to various geographical environment – Separate setups are constructed for each area
Provisioning – Creating a new instance for dev or staging, etc. takes a quite lots of time. There is no automation built-in – manual deployment
Feature Rollout – Key Features enhancement and redeployment to Test/Staging production is manual
Internal Product X Current Issues
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
7
The Plan Get Magento
Use Huawei
PaaS Dev
environment
Use VM’s from
Huawei IAAS
Port Magento
to PaaS Install Magento
Record user
activity using
Jmeter
Record user
activity using
Jmeter
Run script and
get results
Run script and
get result
Propose the new PaaS
solution to the customer
Analyze the result
against current issue
map to customer’s
requirement
IAAS PaaS
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner
logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
8
Magento is an open-source content management system for e-commerce web sites Magento supports both Community and Enterprise edition #1 eCommerce Platform: IR Top 1000 More than 240,000 merchants worldwide 300+ solution and technology partner $25billion+ volume per year
Few Magneto customers
Architecture
Magento Introduction
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner
logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
9
Magento Facts about Magento
• Not a 12 Factor Application
• High dependency with Database
• A simple home page refresh could issue 20+ Queries to the database
• Database has hardcoded redirection locations
• Database details are updated via configuration file and not environment variables
-> F5 -> -> F5 ->
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner
logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
10
Huawei PaaS Cloud Layout - Overview
PaaS Management Service management Identity management
Cloud Foundry V2 Cloudify VMs
K8S
IaaS (Openstack, FusionSphere, VMWare)
PaaS Portal / CLI Customer facing front end Portal. Rarely CLI is used.
Built-in Service & Out side service. Third party Interface.
Primary PaaS solution. V2 DEA deployed.
VM provisioned from here.
App Developer Service Provider PaaS Admin
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner
logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
11
The Setup
• Setup Magento Stand-alone using community edition • Port Magento community edition in Huawei PaaS based on cloud foundry • Stress test on both the environment using an automation tool • Observe the results and hardware utilization • Observe the challenges while porting the app • Observe the benefits of moving such an app to PaaS
32
8
JMETER
8
DEA
JMETER
gorouter
CC
HM9000 Warden Container running Magento
POC
IaaS PaaS
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
12
DEMO
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
13
Elastic scalability – Easy to Achieve as App Servers are run inside a container.
Multi-tenancy – Easy to achieve as multiple Orgs and Spaces can be created.
Customization - Adapting to various geographical environment – Separate setups are constructed for each area
Provisioning – Its as easy as ‘cf push’ and provision of the Application is done
Feature Rollout – Blue – Green deployment technique can be used update the app with zero down time.
Internal Product X Current Issues - Resolved
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
14
How we moved the apps to Huawei PaaS Cloud
New Design Considerations Use all the out-of-the-box service brokers available.
Deploy the web application the best possible way – in containers. Initiate separate VMs/Containers for each function in the architecture – loosely coupled.
Maintain the current Security Architecture layout
Migration Considerations Maintain the legacy system as it is; for failover as well as for service validation.
Backend service migration step-by-step; Must support all the features of the existing system.
Migrate the applications cloud native way; don’t just copy. [Adapt to 12-factor model as much as possible]
Migrate apps for large scale adoption; not just for this particular use case.
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
15
New Hosting Model - Architecture
Nginx (serve static pages)
Php FPM
Container 1
VM / DEA / VM
Php FPM
Container 2
Front End Access – Portals / Browser
Backend
Systems
UP
OMS
OFS
WMS
PTS
Serv
ice
Bro
kers
Php FPM
Container N
Go Router
Php FPM
Container 3
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
16
DEA (Warden)
New Hosting Model – Workflow
PHP PHP PHP
PHP PHP PHP
Broker
MySQL
Redis
memcached
Router
gorouter
Controller
CC
HM 9000
UI Browser PaaS cli
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
17
Challenges…. The top 6….
Educate the customer about PaaS and its potential benefits
Implementation of application stacks – Build Packs, customization, etc. Router & Load Balancer configuration
Multi-tenancy model implementation
Automatic Scaling requirements based on load and scale down if necessary.
Performance tuning to meet the expectations!
Not a green field integration – legacy systems & its complexities
Convert to cloud native apps – 12 factor app
Challenges Resolution
Educate the Customer Perform a POC/Demo
Buildpacks Customize them
Router & Load Balancer Replace with gorouter
Auto Scaling Elastic scaling available out of the box in CF
Auto-Scaling depends on PaaS Provider
Performance Application specific metrics are collected and used
with SLA
Cloud Nativity Convert to 12 factor app
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
18
12 Factor Compatibility
Factor Is Compatible Easy Difficult
Codebase
Dependency
Configuration
Backing Services
Build, Release, Run
Process
Port Binding
Concurrency
Disposability
Dev / Prod Parity
Logs
Admin Process
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
19
Summary
Better utilization of Hardware Easy multi-tenant hosting Moving an Enterprise application with legacy backend is very complex
Cloud foundry helps a large extend to move web application tier
Lots of manual jobs involved to move the system to PaaS
Some kind of Cloud Foundry migration assistant tool will help a lot
Finally, Lots of learning and great Satisfaction!!!
HUAWEI TECHNOLOGIES CO., LTD.
Slide title :32-35pt
Color: R153 G0 B0
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Slide text :20-22pt
Bullets level 2-5:
18pt
Color:Black
Corporate Font :
FrutigerNext LT Medium
Font to be used by customers and
partners :
Arial
Top right corner
for field-mark,
customer or
partner logotypes.
----------------
The following
nine groups of
colors are an
example of how
our design colors
can be used,
please take note
that you should
only use one
design color
group per slide.
For specific
usage details,
refer to the
“Typesetting
Standard”.
20
Q&A
Thank You!
Copyright©2011 Huawei Technologies Co., Ltd. All Rights Reserved.
The information in this document may contain predictive statements including, without limitation, statements regarding
the future financial and operating results, future product portfolio, new technology, etc. There are a number of factors
that could cause actual results and developments to differ materially from those expressed or implied in the predictive
statements. Therefore, such information is provided for reference purpose only and constitutes neither an offer nor an
acceptance. Huawei may change the information at any time without notice.