Top Banner
Designing the Next Generation Application for the Public Cloud Shuki Binyamin, VMware Raja Krishnasamy, VMware PHC5903 #PHC5903
31

VMworld 2013: Designing the Next Generation Application for the Public Cloud

Apr 16, 2017

Download

Technology

VMworld
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: VMworld 2013: Designing the Next Generation Application for the Public Cloud

Designing the Next Generation Application for the

Public Cloud

Shuki Binyamin, VMware

Raja Krishnasamy, VMware

PHC5903

#PHC5903

Page 2: VMworld 2013: Designing the Next Generation Application for the Public Cloud

2

Agenda

Application Architectures

Real life examples

Enterprise Considerations

vCHS – Overview of Application & Data Services

Summary - vCHS in Action

Page 3: VMworld 2013: Designing the Next Generation Application for the Public Cloud

3

Application Architectures – Traditional Web

Traditional

3-tier web

application Load

Balancer Application

Server

Database

Page 4: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 5: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 6: VMworld 2013: Designing the Next Generation Application for the Public Cloud

6

Agenda

Application Architectures

Real life examples

Enterprise Considerations

vCHS – Overview of Application & Data Services

Summary - vCHS in Action

Page 7: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 9: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 10: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 11: VMworld 2013: Designing the Next Generation Application for the Public Cloud

11

What is Data Sharding

Breakdown large databases into smaller ones

A-Z

S-Z

A-F

N-R

G-M

Page 12: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 13: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 14: VMworld 2013: Designing the Next Generation Application for the Public Cloud

14

Sharding Considerations

Keep dependent data together

Replicate Lookup data

Transaction based sharding

Session-based sharding

Federated Tables

Build a Shard Management Layer

Page 15: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 16: VMworld 2013: Designing the Next Generation Application for the Public Cloud

16

Multitenant Architecture

Customer A

Customer X

Customer B

ME

TA

DA

TA

DA

TA

Pla

tfo

rm S

erv

ices

Page 17: VMworld 2013: Designing the Next Generation Application for the Public Cloud

17

Recap …

Interesting Application Architectures

Massive Scale – Netflix

Enterprise App – Aloha

Social / Data Intensive – Netlog

Multitenant – Force

Page 18: VMworld 2013: Designing the Next Generation Application for the Public Cloud

18

Agenda

Application Architectures

Real life examples

Enterprise Considerations

vCHS – Overview of Application & Data Services

Summary - vCHS in Action

Page 19: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 20: VMworld 2013: Designing the Next Generation Application for the Public Cloud

20

Application Architectures

Real life examples

Enterprise Considerations

vCHS – Overview of Application & Data Services

Summary - vCHS in Action

Page 21: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 22: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 23: VMworld 2013: Designing the Next Generation Application for the Public 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

Page 24: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 25: VMworld 2013: Designing the Next Generation Application for the Public Cloud

25

Agenda

Application Architectures

Real life examples

Enterprise Considerations

vCHS – Overview of Application & Data Services

Summary - vCHS in Action

Page 26: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 27: VMworld 2013: Designing the Next Generation Application for the Public Cloud

27

Questions

Shuki Binyamin: [email protected]

Raja Krishnasamy: [email protected]

Page 28: VMworld 2013: Designing the Next Generation Application for the Public Cloud

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

Page 29: VMworld 2013: Designing the Next Generation Application for the Public Cloud

THANK YOU

Page 30: VMworld 2013: Designing the Next Generation Application for the Public Cloud
Page 31: VMworld 2013: Designing the Next Generation Application for the Public Cloud

Designing the Next Generation Application for the

Public Cloud

Shuki Binyamin, VMware

Raja Krishnasamy, VMware

PHC5903

#PHC5903