vmworld 2013: three advantages of running cloud foundry in a vmware private cloud
DESCRIPTION
VMworld 2013 Tarik Dwiek, EMC Steve Flanders, VMware Learn more about VMworld and register at http://www.vmworld.com/index.jspa?src=socmed-vmworld-slideshareTRANSCRIPT
![Page 1: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/1.jpg)
Three Advantages of Running Cloud Foundry
in a VMware Private Cloud
Tarik Dwiek, EMC
Steve Flanders, VMware
PHC4478
#PHC4478
![Page 2: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/2.jpg)
2
Agenda
Introduction
Cloud Foundry v1
VMware Private Cloud Advantages
• 1. High Availability and Disaster Recovery
• 2. Performance and Scalability
• 3. Predictable IaaS Operations
• 4. BONUS!
Cloud Foundry + VMware Roadmap (DEMO!)
Wrapping Up (PRIZES!)
![Page 3: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/3.jpg)
3
Introduction
![Page 4: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/4.jpg)
4
Presenters
Steve Flanders
• Senior Solutions Architect, VMware
• VCAP-DCA
• @smflanders
• sflanders.net
Tarik Dwiek
• Global Architect, EMC
• VCP
• @tdwiek
![Page 5: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/5.jpg)
5
Cloud Foundry
What is Cloud Foundry?
• Cloud Foundry is an open platform as a service, providing a choice of clouds,
developer frameworks and application services. Cloud Foundry makes it faster
and easier to build, test, deploy and scale applications. It is an open source
project and is available through a variety of private cloud distributions and
public cloud instances.
How can I use Cloud Foundry? Cloud Foundry is available as:
• An open source project where developers and community members can
collaborate and contribute to the project
• A complete version of Cloud Foundry that runs in a virtual machine on a
developer’s Mac or PC (Micro Cloud Foundry)
• Multiple hosted instances provided by Pivotal and partners
• An on-premise software edition provided by Pivotal (coming soon)
Source: http://www.cloudfoundry.com/faq
![Page 6: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/6.jpg)
6
From Virtual Machine to Application
Infrastructure
One
JVM
VM
App
Container 1
App Server
JVM
Container 2
App Server
JVM
Dev Framework Dev Framework
App Server
Configurations Manifests, Automations
Infrastructure
Two
JVM
VM
Dev Framework
App Server
Configurations
App App App
Infrastructure
One
Infrastructure
Two
![Page 7: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/7.jpg)
7
Cloud Foundry Architecture
User Authentication and Authorization
Router
DEA Pool
Service Gateway Apps
Service Connector
Health Manager
Messaging
Cloud Controller
Build Packs
Service Nodes
Cloud Foundry BOSH
Micro Clouds
Private Clouds
Public Clouds
Cloud Provider Interface
![Page 8: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/8.jpg)
![Page 9: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/9.jpg)
9
Operating A Service – Common Priorities
Uptime
• If running a cloud service, it must be available
• Some amount of downtime is to be expected so applications must compensate
Manageability
• Modular – multiple types of components in a pre-defined unit of measure
• Isolated – one type of component in a pre-defined unit of measure
Performance
• Shared (Limit) – unknown minimum and known maximum
• Dedicated (Reservation) – known minimum and potential maximum
Scalability
• Scale-out – more resources only
• Scale-out + Redistribution – more resources and spread out the load
![Page 10: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/10.jpg)
10
Operating A Service – Non-priorities
Hardware configuration and protocols
• Server versus blade
• 2-socket versus 4-socket
• FC versus iSCSI versus NFS
Really does not matter
• Cost
• Requirements
![Page 11: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/11.jpg)
11
Public vs. Private vs. Hybrid Cloud
Every cloud has advantages and disadvantages
Benefits of leveraging multiple types of clouds
Requirements, requirements, requirements
• Uptime
• Manageability
• Performance
• Scalability
![Page 12: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/12.jpg)
12
Cloud Foundry v1 Our experiences running cloudfoundry.com
![Page 13: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/13.jpg)
13
Cloud Foundry – Intensive Tasks
Cloud Foundry Upgrade
• Cloud Foundry performs upgrades 2-3x per week. During an upgrade, a
portion of the environment is impacted, while the majority of the environment
can remain online
• The architecture must be able to support the upgrade with VM response times
achieving acceptable latency in order not to disrupt users which are still online
• The upgrade must complete within published maintenance windows
Health Manager Restart
• The Health Manager service is responsible for keeping applications alive and
ensuring that if an application crashes then the processes it ran are restarted
• Latencies must remain within acceptable limits in order not to impact the
environment during this process
Replication
• In order to support a DR strategy, a replication solution must allow for quick
recovery and minimal impact to the environment while protecting data
![Page 14: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/14.jpg)
14
Cloud Foundry – Testing
Workloads tested
• Stemcell upgrade and downgrade with 10,000 “bad” applications
• Restart 20 applications with 512 instances of each application
• Failover to another datacenter
Scenarios tested
• Storage goes offline
• ESXi host goes offline
• vCenter Server goes offline
• Disaster recovery
![Page 15: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/15.jpg)
15
Storage Systems
Cloud Foundry – Environment
Storage Systems
Storage Systems
Storage Systems
Storage Systems
Storage Systems
Storage Systems
![Page 16: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/16.jpg)
![Page 17: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/17.jpg)
17
Cloud Foundry – Observed Storage Characteristics
IO sizes vary
• 4KB predominant
• 128KB
• 256KB
Mostly random with some sequential patterns
Bursty for small periods of time (< 20 seconds)
• Ex. 3.5x more IOPS needed in 10 seconds
Mostly writes
• 20/80 - Read/Write Ratio
![Page 18: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/18.jpg)
18
Cloud Foundry – Host IOPS
![Page 19: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/19.jpg)
19
Cloud Foundry – Guest IOPS
![Page 20: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/20.jpg)
20
VMware Private Cloud Advantages
![Page 21: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/21.jpg)
21
High Availability and Disaster Recovery
![Page 22: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/22.jpg)
22
Physical
Achieve higher than three 9s availability
• Meet enterprise SLAs
• Components with low failure rates
HA Built into the components
• No need to design into the application
Disaster Recovery
• Site-to-Site protection
• Robust failover mechanisms
• Consistency for applications
![Page 23: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/23.jpg)
23
Virtual
HA
FT
SRM
• SRM does not support vCloud Director!
• True, but other ways exist (e.g.
http://blogs.vmware.com/vcloud/2012/02/overview-of-disaster-recovery-in-
vcloud-director.html)
![Page 24: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/24.jpg)
![Page 25: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/25.jpg)
25
Performance and Scalability
![Page 26: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/26.jpg)
26
Physical
Meet specific IO SLAs
Tenancy control
Intelligent features
• Caching
• Automated tiering
• Non-disruptive volume migration
Ability to quickly mitigate performance issues
Easier to scale all or specific parts of the underlying infrastructure
![Page 27: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/27.jpg)
27
Virtual
Resources
• Add hosts
• Add storage
• Add networks
• Hot-add
Provisioning
• Linked clones
VMware
• HA enhancements (master/slave)
• Storage enhancements (ATS, VAAI, VASA)
• Multiple clusters to provider VDC (VCD)
![Page 28: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/28.jpg)
28
Cloud
Resources
• Pools
• Tiers
Software-defined
• Complete blue prints (vCloud Automation Center)
• Complete workflows (vCenter Orchestrator)
• API driven components (Nicira / NSX)
![Page 29: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/29.jpg)
29
Predictable IaaS Operations
![Page 30: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/30.jpg)
30
Overview
IaaS controls the performance of the PaaS
What does your infrastructure give you?
Is performance consistent?
Are certain operations faster/slower than others?
Do things happen as you expect?
“Many things can be said about vSphere and its API, but it is very consistent in
response times, and it hardly ever lies to you.” – Martin Englund
(http://blog.cloudfoundry.com/2013/06/18/dealing-with-eventual-consistency-in-
the-aws-ec2-api/)
![Page 31: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/31.jpg)
31
Physical
Customization
• Leverage best practices
Redundancy and HA
• Redundant components
• Automatic failover
Efficiencies
• Automated tiering
• Buffering and caching
Replication
• Local
• Remote
![Page 32: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/32.jpg)
32
Converged Infrastructure
What is converged infrastructure?
• Compute, network and storage in a pre-configured, tested and standardized
unit of delivery
• Examples: Vblock, FlexPod, VSPEX
Advantages of converged infrastructure
• Time to deployment
• Simplification of management
• Lower TCO
• Improved utilization
• Known fault domains
• Determinist performance and capacity
![Page 33: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/33.jpg)
33
Virtual
Features
• DRS / SDRS
• HA / FT
• NIOC / SIOC
• Auto Deploy / Host Profiles
• Control
Visibility
• vCenter Infrastructure Navigator
• vCenter Operations (structured data)
• vCenter Log Insight (unstructured data)
![Page 34: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/34.jpg)
34
BONUS!
![Page 35: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/35.jpg)
35
Hybrid Cloud Availability
![Page 36: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/36.jpg)
36
Beyond Private Cloud
Why Hybrid Cloud?
• Using full potential of private cloud
• Some workloads do not need to be in a private cloud
• Need burstable capacity
VMware Hybrid Cloud
• vCloud Hybrid Service
• vCloud Network and Security
• vCloud Connector
![Page 37: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/37.jpg)
37
Seamlessly Extend to the Hybrid Cloud
VMware vCloud
Hybrid Service
On Premises
Or
Private Cloud
Off Premises
VMware vSphere &
vCloud Suite
Existing & New Apps
Seamless Networking
Common management
One Support call
VMware vCloud Hybrid Service
The Ready-to-Run Cloud. Any Application. No Changes.
IaaS cloud owned and operated by VMware based on VMware software
![Page 38: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/38.jpg)
![Page 39: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/39.jpg)
39
Roadmap
![Page 40: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/40.jpg)
40
Cloud Foundry + VMware
Cloud Foundry adoption limitations
• BOSH is great…for developers
• Cloud Foundry is not easy to deploy
Why deploy on VMware?
• vSphere version of Cloud Foundry
• Intuitive and fast deployment
• Bundled as an OVA
• Pretty GUI
• Online in less than an hour
• Planned integration with VMware products
![Page 41: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/41.jpg)
41
Demo!
![Page 42: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/42.jpg)
42
Configure – Infrastructure
![Page 43: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/43.jpg)
43
Configure – Platform
![Page 44: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/44.jpg)
44
Deploy!
![Page 45: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/45.jpg)
45
Done!
$ cf target api.sflanders.net
$ cf login admin
Password> ********
$ cf create-org org1
$ cf create-space space1
$ cf switch-org org1
$ cf create-user user1
![Page 46: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/46.jpg)
46
Wrapping Up
![Page 47: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/47.jpg)
47
Summary
Running cloudfoundry.com
• Upgrades
• Restarts
• Replication
• Storage matters!
Three distinct advantages of VMware private clouds
• High Availability and Disaster Recovery
• Performance and Scalability
• Predictable IaaS Operations
Hybrid cloud compliments private cloud
Data and experiences to help you make a more informed decision
![Page 48: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/48.jpg)
48
Summary
Infrastructure
Platform
App Infrastructure
Platform
App
![Page 49: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/49.jpg)
THANK YOU
![Page 50: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/50.jpg)
![Page 51: VMworld 2013: Three Advantages of Running Cloud Foundry in a VMware Private Cloud](https://reader033.vdocuments.mx/reader033/viewer/2022060117/5586e548d8b42a20728b4690/html5/thumbnails/51.jpg)
Three Advantages of Running Cloud Foundry
in a VMware Private Cloud
Tarik Dwiek, EMC
Steve Flanders, VMware
PHC4478
#PHC4478