Sei sulla pagina 1di 54

APP-CAP2770

Plan, Deploy & Manage Modern Applications on vSphere Infrastructure

Ankur Agarwal, VMware, Inc. Rajesh Khazanchi, VMware, Inc.

#vmworldapps

Disclaimer

This session may contain product features that are


currently under development.

This session/overview of the new technology represents


no commitment from VMware to deliver these features in any generally available product.

Features are subject to change, and must not be included in


contracts, purchase orders, or sales agreements of any kind.

Technical feasibility and market demand will affect final delivery. Pricing and packaging for any new technologies or features
discussed or presented have not been determined.

Agenda
What and Why of Modern Applications Planning Nanotrader Deploying Nanotrader Monitoring and Managing

Confidential

(Not So) Common Knowledge

4 VMware Confidential

Confidential

every business is a software business.

Confidential

Whats Happening with Applications Today?

Written with frameworks


Developer productivity and innovation

New Application Types


Mobile, SaaS, social Apps released early and often

Data intensive
Emerging requirements: elasticity, multi-cloud Web orientation drives exponential data volumes

Deployed on virtual and cloud infrastructure


vSphere

Confidential

New Era Requires a Shift: Elasticity from Apps to Data


Develop using modern frameworks: agile apps decoupled from middleware Leverage runtime container optimized for vSphere: provision in seconds Store app state in elastic data cache: maximize app scalability Use cloud-friendly messaging protocols: enable flexible app integration Access app data through elastic data fabric and/or in-memory SQL: maximize data scalability
7 Confidential

Classic Web Application Architecture

Presentation

Monitor and Manage

Web Tier

Web Server

App Tier

App Server

Platform Tier

Database
IaaS

Messaging

Confidential

Classic Web Application Architecture

Presentation

Monitor and Manage

Web Tier

Web Server

App Tier

App Server

Integration Services

Platform Tier

Database
IaaS

Messaging

10

Confidential

NanoTrader A Modern Web Application


Mobile alerts on real-time risk vFabric App Presentation Management Services
vFabric APM App Director

Monitor and Manage


VMware ESX

Web Tier

Web Server
...

NanoTrader Web App <static>

App Tier

Account Service

App Server
...

Quotes Service

Orders Service

Holding Service

Cache

Integration

Integration Services
... EM4J

...

Platform Tier

vFabric vPostgres

...

Database

In-Memory Database

Data Warehouse

...

...

Messaging

Messaging Services

...

IaaS
11 Confidential

NanoTrader A Modern Web Application


Mobile alerts on real-time risk vFabric App Management Services
vFabric APM App Director

VMware ESX

Web Tier

NanoTrader Web App <static>

...

App Tier

Account Service

Quotes Service

Orders Service

Holding Service

Cache

Integration

...

...

...

EM4J

Platform Tier

vFabric vPostgres

In-Memory Database

Data Warehouse

Messaging Services

...

...

...

...

IaaS
12 Confidential

NanoTrader Application Architecture


Mobile alerts on real-time risk vFabric App Management Services
vFabric APM App Director

VMware ESX

vFabric Web Server

NanoTrader Web App <static>

...
VMware ESX

vFabric App Server

Account Service

Quotes Service

Orders Service

Holding Service

Cache

Integration

...

...
VMware ESX

...

EM4J

vFabric Platform Services

vFabric vPostgres

In-Memory Database

Data Warehouse

Messaging Services

...

...
VMware ESX

...

...

vCloud
13 Confidential

Small Deployment 10 VMs*


Good for internal apps Up to 500 (50% elasticity) concurrent threads DB size 10 GB
NanoTrader Web App <static> vFabric APM App Directo r

...
VMware ESX

VMware ESX

Web Servers - 2 Service VMs 3 Integration VMs 2 DB VMs 2 Messaging VM - 1


*VM is assumed to be 4 GB *DB VM is 4GB
14

Account Service

Quotes Orders Servic Servic e e

Holdin gServi ce

Cach e

Integra tion

...

...
VMware ESX
InMemory Database

...

EM4J

Messaging Services

...

...

...

...

VMware ESX

vCloud

Confidential

Medium Deployment 26 VMs*



Good for external apps serving (Distributed within Region, not globally ) Up to 1000 concurrent threads (about 10K users) Real Time SQL Database less than 50 GB
NanoTrader Web App <static> vFabric APM App Directo r

...
VMware ESX

VMware ESX

Web Servers - 8 Service VMs 10 Integration VMs 4 DB VMs 2 Messaging VM - 2


*Service VM is assumed to be 8 GB *DB VM is 32GB
15

Account Service

Quotes Orders Servic Servic e e

Holdin gServi ce

Cach e

Integra tion

...

...
VMware ESX
InMemory Database

...

EM4J

Messaging Services

...

...

...

...

VMware ESX

vCloud

Confidential

Large Deployment 50 VMs*



Good for external, global apps serving Up to 10000 concurrent threads Real Time SQL Database up to 300 GB
NanoTrader Web App <static> vFabric APM App Directo r

...
VMware ESX

VMware ESX

Web Servers - 10 Service VMs 16 Integration VMs 8 DB VMs 8 Messaging VM - 2


*VM is assumed to be 8 GB *DB VM is 36GB
16

Account Service

Quotes Orders Servic Servic e e

Holdin gServi ce

Cach e

Integra tion

...

...
VMware ESX
InMemory Database

...

EM4J

Messaging Services

...

...

...

...

VMware ESX

vCloud

Confidential

Traditional Deployment & Configuration Tools Break in the Cloud


Complex and time consuming
Bottom up thinking Vertical and static approach On going management is procedural and
reactive
Deploy MW
OS OS

Configure MW

OS

OS

OS

Proliferation of IT assets
Lack of standardization increases
permutations of software components
Configure OS

Not cloud aware


Each deployment plan is tied to a specific
infrastructure service

Deploy OS

17

Confidential

Application Management Challenges in the World of Cloud


How do I reduce my operational expenses ? How can I increase agility and predictability?

How do reduce my business workload provisioning time?

How do I keep up with a pace of managing constant application meeting LOBs SLAs?

How do I leverage existing infrastructure and self service to scale for future growth?

How do I manage growing business risk introduced by a hybrid cloud approach?

Manage applications holistically and separately from

Todays application teams needs to be able to:

the supporting infrastructure.

Help manage applications that move across, and run


across, public and private clouds

Horizontally integrates management across


deployment, monitoring and change

18

Confidential

IT Business Management

VMware s Active Application Management Solutions


Realizing IT Transformation through vFabric Application Management Suite
VMware vFabric Application Director
An application provisioning, update lifecycle and release automation solution designed specifically to help application teams to accelerate and automate the deployment of applications across the cloud

VMware vFabric Application Performance Manager


An application performance management solution to provide application owners with the real-time visibility and control they need to manage their SLAs in the cloud

19

Confidential

Nano Trader : deploy and manage lifecycle

2
Public Private

Model Nano Trader

Deploy across Public or Private Cloud

Manage update lifecycle & Release automation


20 Confidential

Auto Scale Nano Trader, Integrated Application Management

Nano Trader application blueprint

21

Confidential

Nano Trader application blueprint

22

Confidential

Nano Trader application blueprint

23

Confidential

Provisioning Nano Trader with Application Director across Public or Private Cloud

Nano Trader Blueprint

Public AWS Cloud

Application Director

Public Public Cloud

VMware Amazon Cloud Private

Model once, deploy any where Standardize deployments Application portability

24

Confidential

Application Director manages update lifecycle and release automation


Production
Private Cloud

5
Change

Nano Trader Blueprint

Production

Stage
Public Cloud Change

4
Change

Promote to Next Stage

Make a change code, config, scale-out


Update Profile

Test
Public Amazon Cloud

Change

Change Impact Analysis Dependency Mapping Auto generate Update flow

Apply Change

25

Confidential

Update Lifecycle Detects change impacts, identifies dependencies and


generates auto-flows

26

Confidential

Nano Trader update lifecycle in Application Director

Scale Out

27

Confidential

Nano Trader update lifecycle in Application Director

Applied Security fix

28

Confidential

Nano Trader update lifecycle in Application Director

Scale out

29

Confidential

Steps to auto-scale Nano Trader


Import application topology Set auto-scale alerts

One Click import functionality in Application Performance Manager, leveraging Application Director APIs

Set application auto-scale alert based on performance metrics like usage, health, middleware. Alert calls Application Director APIs for auto-scale out.

30

Confidential

Nano Trader monitored in APM

31

Confidential

Nano Trader Topology Sync

32

Confidential

Nano Trader Topology Sync

Application topology sync

33

Confidential

Auto Scaling Nano Trader

Auto Scaling based on usage alerts

34

Confidential

Summary

2
Private Public

Flexible architecture to deliver declarative, cloud agnostic application blueprints

Multi cloud supports enables novendor lock-in

Manage update lifecycle by managing change, Impact analysis,


35 Confidential

Collaborative, integrated application management

Cloud Application Management Marketplace

https://solutionexchange.vmware.com/store/category_groups/application-management? Contact app-management@vmware.com for partnership!


36 Confidential

Questions

37

Confidential

FILL OUT A SURVEY


EVERY COMPLETE SURVEY IS ENTERED INTO DRAWING FOR A $25 VMWARE COMPANY STORE GIFT CERTIFICATE

APP-CAP2770

Plan, Deploy & Manage Modern Applications on vSphere Infrastructure

Ankur Agarwal, VMware, Inc. Rajesh Khazanchi, VMware, Inc.

#vmworldapps

BACKUP

40

Enabling the Lifecycle for Any App, Anywhere


ANY type of app

Private Public Custom IaaS PaaS Custom PaaS

Provision Secure Monitor Update

41

A fresh Look at Todays Application Landscape

Written in diverse frameworks and languages


Traditional (Java, .Net) and Modern Frameworks

Developed with agile or iterative methodologies


Apps released early and often

Deployed on virtual and cloud infrastructure


Span across Private, Public and Hybrid Clouds
Private Clouds

Public/Private/ Hybrid Cloud


Public Clouds

Source: http://en.wikipedia.org/wiki/Agile_software_development

42

Impact of Cloud and DevOps, on the Provisioning Process


Traditional app provisioning
Setup Infrastructure Setup Application Middleware Deploy and configure application middleware Connect it to Database Deploy Application Development Test Production Different Clouds

4 days to 8 weeks

Configure N/w and Storage Deploy and Configure OS

What app provisioning should be


An application architect uses a self-serve application provisioning portal to fully provision & update applications across any registered cloud

Minutes

43

Impact of Cloud and DevOps, on Monitoring and Maintenance Process


Traditional app monitoring/updates
Deploy
Update

Monitor

Trouble shoot War room Fix

Guess ?

Time

Accuracy

False start

What app monitoring/updates should be


Optimize
Change

Build
Time Accuracy

Deploy

Monitor

Continuous, factual data about application performance

44

Goals for our Products


Enable the Cloud Operating Model
Model once, Deploy anywhere Let the cloud richness shine through

Enable the DevOps model


Enable collaborative model Provide agility with efficiency

Enable any app


Open & Flexible & Extensible Enable application lifecycle

Enable apps in their journey to PAAS


45

A Model Driven Approach to Application Provisioning


Catalog of Application Services Application Blueprint Deployment Profiles Deployments

Dev
Web Server
OS

Application Server

Test
OS OS OS

Messaging

In-memory database

OS

Prod

46

Collaborative Platform for Various Roles


Application Blueprint
Application Binaries Application Stack - (Middleware, OS) Architect Deployment Profile (prod)

Logical Application Topology with Application Policies, Configurations Pre-instrumented with App Monitoring

Deployment Profile
(dev)

Deployment Profile (test)

Collection of deployment settings Makes blueprints portable across clouds

App Dev, QA, Release

Standardized configurations of OS, Middleware

Catalog Deployment Environments


EC2 Cloud Admin Public vCloud Private vCloud Middleware Admin

47

Ongoing Updates : Model Driven App Management

Change Change

Deployment

Application Blueprint
Application Binaries
Change Change

Application Stack - (Middleware, OS)


Change

Deployment

Promote Update to Production

Make a change code, config, scale-out

Update Profile

Analyze impact & auto-generate flow with dependencies


48

Performance Monitoring
Application Health
Avg Hits/Minute, Avg Latency, Errors Avg Network Latency
OS

Network Transactions

Automatically traces
transactions Measures transaction times Latency, Usage, and Throughput

Thread Pool, JDBC Pool, Number of JVM

Queue Size, Enqueue Count

Application Infrastructure

Monitors
OS OS OS

infrastructure/middleware Collects thousands of metrics across all tiers web, app, messaging, DB.

Servlets, beans Code latency


OS

Code

Instruments the application


code to easily detect bad code that impacts application performance

49

IT Transformation Through Continuous Application Management


Realizing IT Transformation through vFabric Application Management Suite
VMware vFabric Application Director
An application operations solution designed specifically to help application teams to accelerate and automate the deployment and updates of applications across the cloud

VMware vFabric Application Performance Manager


An application performance management solution to provide application owners with the real-time visibility and control they need to manage their SLAs in the cloud

50

Summarizing : Integrated Active Application Management


Overview

Cloud agnostic Application Blueprints


that can deploy to ANY Cloud

Application Monitoring Dashboard that


provides in-depth application visibility and correlates app changes to its performance

Automatic Impact Analysis to perform


EFFECTIVE Updates on the app reducing the app downtime.

51

Day Trader High Level Architecture

52

Architecture Comparison
Category Architecture Service Architecture Presentation Tier UI Style Target Backend Fault Tolerance Virtualization Optimized Blueprint Based Deployment IT Chaos Simulator Integration Focus Cloud DayTrader Monolithic WS* App. Server Centric Multipage Interface Desktop RDBMS No No No No Code J2EE features Private, IaaS Nanotrader Modular REST/Json Browser Centric Single Page Interface Desktop, Mobile, Tablet RDBMS, SQL based Data Grid Yes Yes Yes Yes Configuration Solution Any

53

NanoTrader Reference Architecture


Mobile alerts on real-time risk vFabric App Management Services
vFabric APM App Director

VMware ESX

vFabric Web Server

NanoTrader Web App <static>

...
VMware ESX

Resilient: all components auto-restart Elastic: all components auto-scale Efficient: EM4J manages Java VM memory
Orders Service Holding Service Integration

vFabric App Server

Account Service

Quotes Service

Cache

...

...
VMware ESX

...

EM4J

vFabric Platform Services

vFabric vPostgres

In-Memory Database

Data Warehouse

Messaging Services

...

...
VMware ESX

...

...

vCloud
54

Nanotrader Deployment Architecture

55

Potrebbero piacerti anche