VMworld 2013: Designing the Next Generation Application for the Public Cloud
Post on 16-Apr-2017
138 Views
Preview:
Transcript
Designing the Next Generation Application for the
Public Cloud
Shuki Binyamin, VMware
Raja Krishnasamy, VMware
PHC5903
#PHC5903
2
Agenda
Application Architectures
Real life examples
Enterprise Considerations
vCHS – Overview of Application & Data Services
Summary - vCHS in Action
3
Application Architectures – Traditional Web
Traditional
3-tier web
application Load
Balancer Application
Server
Database
4
Application Architectures – Distributed / Scaled Out
Distributed
Complex web
application
Load
Balancer
Frontend
AppServer
Backend
Worker
Frontend
Cache
Shared
Database
Shared
Blob Store
Backend
Cache
External
Email Svc
Long
running
tasks
Shared
MsgQ
5
Application Architectures - Mobile
Load
Balancer
Frontend
AppServer
Backend
Worker
Frontend
Cache
Shared
Database
Shared
Blob Store
Backend
Cache
External
Email Svc
Long
running
tasks
Shared
MsgQ Mobile
Either Business
to Employee or
Business to
Consumer
Load
Balancer Application
Server
Database
6
Agenda
Application Architectures
Real life examples
Enterprise Considerations
vCHS – Overview of Application & Data Services
Summary - vCHS in Action
7
Netflix
>30 Million subscribers, over 1/3 of the internet traffic
One of the most innovative company
In 2009 made a decision to move to Public Cloud
Spent years optimizing and making the service resilience
• ASGARD – Web interface for application deployments and cloud management
• SimianArmy: - Chaos Monkey, Gorilla Monkey, Latency Monkey,…
• Priam – Management tool for Cassandra
• ….
Resilient: “Survived” most of AWS outages.
Architecture: Highly distributed, stateless, REST API, Services oriented
8
Netflix – System Architecture
Source: http://www.slideshare.net/adrianco/netflix-velocity-conference-2011
9
Enterprise Example Architecture: VMware’s Aloha Application
Workday
Opalis
AD S
E
R
V
I
C
E
S
Events
REST Spring WS
RabbitM
Q
vCO
Postgres
Wavemaker App
REST
Aloha
SOAP
REST
CloudFoundry on vSphere Demo
10
• European Social Network Platform based in
Belgium
• 97 million members
• 9 billion page views a month
• Write-heavy app: 1.4/1.0 Write – read ratio
• 3000+ queries a second
• PHP + MemCached + MySQL
• 8000+ shards on 80+ hosts
12
Why do Sharding ?
Keep data-sets manageable
• Easier Data Access
• Easier Maintenance
Distribute data access
• Example – The Government
Distribute Write Operations
Archive old data for reporting
• Put away old data (example – Facebook)
Geographic Sharding
• Example: Real-estate companies
Sharding by business unit
SaaS ISVs
13
How does Netlog Shard
Top Master
w
Messages
r/w
Friends
r/w
Top Slave
r
Top Slave
r
Top Slave
r
Top Slave
r
Top Slave
r
Top Slave
r
14
Sharding Considerations
Keep dependent data together
Replicate Lookup data
Transaction based sharding
Session-based sharding
Federated Tables
Build a Shard Management Layer
…
15
Multitenant Architecture
Typical in the Public Cloud
Multiple tenants share the same Infrastructure
• Example: Multiple databases on the same instance
• Amazon Dynamo
• Azure SQL Database
Benefits
• Economics of scale
Drawbacks
• Noisy neighbour
• Doubtful Performance Guarantees
17
Recap …
Interesting Application Architectures
Massive Scale – Netflix
Enterprise App – Aloha
Social / Data Intensive – Netlog
Multitenant – Force
18
Agenda
Application Architectures
Real life examples
Enterprise Considerations
vCHS – Overview of Application & Data Services
Summary - vCHS in Action
19
Enterprise Considerations – Selecting a Cloud
Goals:
Agility: Ability to respond to the needs of the business
Cost Control through Multi-tenancy / consolidation; Capex to Opex.
Elasticity: Ability to grow with the business
But, you still need:
Identity Management
Predictable performance - control the noisy neighbors
Leverage investment in people, process and technology
Security / Compliance
• Known Security
• Data Ownership
20
Application Architectures
Real life examples
Enterprise Considerations
vCHS – Overview of Application & Data Services
Summary - vCHS in Action
21
vCloud Hybrid Service: Extending To The Cloud
VMware vCloud
Hybrid Service
Your Data Center
Any Application… No Changes
Software-Defined
Data Center
VMware vSphere &
vCloud Suite
Existing & New Apps
Seamless Networking
Common management
One Support call
IaaS cloud owned and operated by VMware based on VMware software
22
vCloud Hybrid Service: Any Mixture Of Two Flavors
Minimum size: 120GB vRAM 30GHz vCPU
Starts at: 6 TB
50 Mbps allocated 1 Gbps burstable 3 Public IPs
Your own private cloud instance
Physically isolated
Minimum size: 20GB vRAM 5GHz vCPU
(burst to 10GHz)
Starts at: 2 TB
10 Mbps allocated 50 Mbps burstable 2 Public IPs
Logically isolated
Fully private networking
Dedicated Cloud Virtual Private Cloud
23
vCloud Hybrid Service: Overview
vCloud Hybrid Service
vSphere
Integrated Management Console
VXLAN
vCloud Hybrid Service
Networking & Security
VDC 1 VDC 2
… App Services
Data Services
PaaS
24
Bring Your Own Licenses
Bring Your Own VMs
Bring Your Own Tools
Customer Components
VMware vCloud
Hybrid Service
vCHS – Overview of Delivery Components
Infrastructure Hardware & Facilities
Compute Storage Networking &
Security
OS Catalogs
Application Catalogs /
Templates / Managed Services
Infrastructure Management
Web Console vCloud API
25
Agenda
Application Architectures
Real life examples
Enterprise Considerations
vCHS – Overview of Application & Data Services
Summary - vCHS in Action
26
vCHS in Action – Demos @ VMWorld 2013
Introducing vCHS
Getting Started with vCHS
Hybrid Migration in Action
Hybrid Management
The Cloud for Applications
Hybrid Networking
27
Questions
Shuki Binyamin: shuki@vmware.com
Raja Krishnasamy: rkrishnasamy@vmware.com
28
Other VMware Activities Related to This Session
HOL:
HOL-SDC-1307
vCloud Automation Solutions
HOL-SDC-1314
vCloud Suite Use Cases - Application Provisioning (PaaS)
PHC5903
top related