SlideShare a Scribd company logo
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
SPRINGONE2GX
WASHINGTON, DC
Lattice: A Cloud-Native Platform for
Your Spring Applications
Matt Stine
@mstine
mstine@pivotal.io
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
I wrote a little cloud book…
2
Available to you
compliments of Pivotal!
!
Hard copies available at the Pivotal booth.
!
Book Signing
Wednesday, 4-4:30 PM - Pivotal M4 Lounge
!
Get the FREE e-book
at http://bit.ly/cloud-native-book!
Cloud native applications compose simple patterns with
predictable performance, scaling, security and failure
characteristics to create solutions to complex problems
that can be quickly and flexibly adapted to take
advantage of new information.
Cloud native applications compose simple patterns with
predictable performance, scaling, security and failure
characteristics to create solutions to complex problems
that can be quickly and flexibly adapted to take
advantage of new information.
Cloud native applications compose simple patterns with
predictable performance, scaling, security and failure
characteristics to create solutions to complex problems
that can be quickly and flexibly adapted to take
advantage of new information.
Cloud native applications compose simple patterns with
predictable performance, scaling, security and failure
characteristics to create solutions to complex problems
that can be quickly and flexibly adapted to take
advantage of new information.
Cloud native applications compose simple patterns with
predictable performance, scaling, security and failure
characteristics to create solutions to complex problems
that can be quickly and flexibly adapted to take
advantage of new information.
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Some Simple Patterns with Predictable Characteristics
• 12 Factor (http://12factor.net)
• REST
• Pipes and Filters
• Service Discovery
• Circuit Breakers
8
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Cloud Natives with Complex Problems
9
$3.5B valuation
Financial Services
$3.5B valuation
Travel & Hospitality
$3.5B valuation
Transportation
$3.2B Acquisition by Google
Home Automation
$20B valuation
Entertainment
$26B valuation
Tesla--Automotive
$6B $50B $41B
$25B $33.5B
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Microservices: Quick and Flexible Adaptation
10
Loosely coupled service oriented
architecture with bounded contexts
If every service has to be updated in concert,
it’s not loosely coupled!
If you have to know about surrounding services
you don’t have a bounded context.
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 11
Without taking steps to ensure fault tolerance, 30
dependencies each with 99.99% uptime would
result in 2+ hours downtime/month (99.99%30 =
99.7% uptime = 2+ hours downtime in a month).
http://techblog.netflix.com/2012/02/fault-tolerance-in-high-volume.html
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 12
Build Reliable Systems
from
Unreliable Components
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 13
Continuous Delivery
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 14
ContinuousDelivery
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 15
ContinuouslyDeliver
Day One Day Two and Beyond
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Operations is the Secret Sauce
16
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
You are going to need a platform.
17
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Cloud Native at Your Service
18
Spring Boot
The Foundation
for
Twelve-Factor Apps
Spring Cloud
The Foundation
for
Distributed Systems
Pivotal Cloud Foundry
The Foundation
for
Containerized Workloads
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Let’s Focus on the Elastic Runtime…
19
Pivotal Cloud Foundry
The Foundation
for
Containerized Workloads
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 20
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
What problems does it solve?
• role based access to resources
• run code on demand
• coordinate cross service configurations
• route public requests
• read and write persistent data
• add and remove resources
• record internal and external events
• isolate resources and failures
• measure performance/health
• detect and determine failure

(plan & provoke failure)
• recover failures
• work tomorrow
21
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Diego
22
a distributed system that orchestrates
containerized workloads
HA Container
Execution Nodes
HA Container
Scheduler
and
Health Monitor
HA Consistent
Shared State
Diego
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
What are containers?
24
Resource
Isolation
• CPU
• Memory
• I/O
CGROUPS
Visibility/Access
Isolation
• pid
• net
• ipc
• mnt
NAMESPACES
Data
Isolation
• immutable root layer
• immutable child layers
• copy on write layer
UNION FILE SYSTEM
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
What is Docker?
25
Docker provides a super easy to grok UX
around filesystem image creation and
cgroup/namespace orchestration.
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 26
Garden API
Garden Linux Garden Windows
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
What do we run in containers?
27
TASKS
A Single Unit of Work
!
!
Runs at Most Once
LRPs
N Long Running
Instances
!
Distributed Across
Cells for HA
!
Monitored and
Restarted
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Meet the Receptor
28
Receptor!
(API)
Desired Tasks
Desired LRPs
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Desired Task
29
{
...
!
"rootfs": "docker:///docker-org/docker-image",
"env": [
{"name": "ENV_NAME_A", "value": "ENV_VALUE_A"},
{"name": "ENV_NAME_B", "value": "ENV_VALUE_B"}
],
!
"cpu_weight": 57,
"disk_mb": 1024,
"memory_mb": 128,
"privileged": true,
!
"action": ACTION(s) TO RUN,
!
...
}
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Actions
• RunAction: run proc in container
• DownloadAction: fetches and extract archive
• UploadAction: POST file from container to URL
• ParallelAction: run multiple actions in parallel
• SerialAction: runs multiple actions in order
• EmitProgressAction: wraps action and logs progress
• TimeoutAction: wrap action and fail if timed out
• TryAction: wrap action and ignore errors
30
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Desired LRP
31
{
...
"instances": 17,
"rootfs": "VALID-ROOTFS",
"env": [
{"name": "ENV_NAME_A", "value": "ENV_VALUE_A"},
{"name": "ENV_NAME_B", "value": "ENV_VALUE_B"}
],
"cpu_weight": 57,
"disk_mb": 1024,
"memory_mb": 128,
"privileged": true,
"setup": ACTION,
"action": ACTION,
"monitor": ACTION,
"start_timeout": N seconds,
"ports": [8080, 5050],
...
}
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Meet the BBS
32
Receptor!
(API)
Desired Tasks
Desired LRPs
BBS
Desired
!
Work
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Let’s Have an Auction
33
Receptor!
(API)
Desired Tasks
Desired LRPs
BBS
Desired
!
Work
Auctioneer
Rep Rep Rep
Desired
Work
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Let’s Have an Auction
34
Receptor!
(API)
Desired Tasks
Desired LRPs
BBS
Desired
!
Work
Auctioneer
Rep Rep Rep
Collect
Bids
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Let’s Have an Auction
35
Receptor!
(API)
Desired Tasks
Desired LRPs
BBS
Desired
!
Work
Auctioneer
Rep Rep Rep
Score and
Choose
Winner
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Inside the Cell
36
Rep!
!
Tasks
&
LRPs
Run
!
Action
Executor!
!
Actions
Garden!
!
Containers
(Platform
Independent)
Garden!
Linux!
!
Containers
(Linux)
Run
!
Container
Run
!
Linux
Container
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Specificity Gradient
37
Rep!
!
Tasks
&
LRPs
Executor!
!
Actions
Garden!
!
Containers
(Platform
Independent)
Garden!
Linux!
!
Containers
(Linux)
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
REPresenting the Actual Work
38
Receptor!
(API)
Desired Tasks
Desired LRPs
BBS
Desired
!
Work
Auctioneer
Rep Rep Rep
Actual
Work
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
What is the Truth?
39
BBS
Desired
State
Actual
State
Events EventsPolling Polling
ConvergerRep
STOP
THAT!
Auctioneer
START
THAT!
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
With a BOSH under the hood…
40
http://bosh.io
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
What problems does it solve?
• for a large distributed system
• deployment
• configuration changes
• updates/upgrades - minimal
downtime
• health checks and remediation
• scale out/scale in
• across multiple IaaS
41
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Deploying Cloud Foundry is HARD…
42
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
ENTER THE LATTICE
43
http://lattice.cf
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 44
THIS IS
LATTICE
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
How do I get a Lattice?
45
A Single VM Cluster
using Vagrant
vagrant up
A Multi-VM Cluster
using Terraform on:
• AWS
• Google
• DigitalOcean
• OpenStack
terraform apply
Lattice: A Cloud-Native Platform for Your Spring Applications
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 47
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
We need a catalyst…
48
Lattice: A Cloud-Native Platform for Your Spring Applications
Lattice: A Cloud-Native Platform for Your Spring Applications
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
• Multi-tenancy with resource
quotas
• Role-based access control
• Application security groups
• Highly-available components
• Zero-downtime, rolling upgrades
• Backing data service
orchestration
51
• Single-tenant

• Everyone is “cluster root”
• Wide-open networking
• Not all components HA
• Red-Black upgrades
• No data services
vs.
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 52
David Wadden
Lattice Product Manager
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 53
Matt Stine (@mstine / mstine@pivotal.io)
!
Developer Experience with Spring Cloud (Tuesday 12:45 PM - Salon E-H)
Spring XD Today and Tomorrow (Tuesday 12:45 PM - Salon N-P)
Message-Driven Microservices in the Cloud (Tuesday 4:30 PM - Salon E-H)
Cloud Native Data Flow Orchestration (Wednesday 8 AM - Salon N-P)
Learn More. Stay Connected.
@springcentral Spring.io/video

More Related Content

What's hot (20)

PDF
Deploying Microservices to Cloud Foundry
Matt Stine
 
PDF
How to Architect and Develop Cloud Native Applications
Sufyaan Kazi
 
PPTX
Declarative Infrastructure with Cloud Foundry BOSH
cornelia davis
 
PPTX
What's new in Spring Boot 2.0
VMware Tanzu
 
PDF
Building Cloud Native Architectures with Spring
Kenny Bastani
 
PDF
Building Distributed Systems with Netflix OSS and Spring Cloud
Matt Stine
 
PDF
Goto Berlin - Migrating to Microservices (Fast Delivery)
Adrian Cockcroft
 
PDF
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events
VMware Tanzu
 
PPTX
The journey to DevOps: What I learned after leading transformation at 2 Enter...
VMware Tanzu
 
PDF
Pivotal microservices spring_pcf_skillsmatter.pptx
Sufyaan Kazi
 
PDF
Dockercon 2015 - Faster Cheaper Safer
Adrian Cockcroft
 
PDF
Developers Are Users, Too
VMware Tanzu
 
PDF
Manchester geek night pcf 101
Sufyaan Kazi
 
PDF
Secrets of Successful Digital Transformers
VMware Tanzu
 
PDF
Pivotal spring boot-cloud workshop
Sufyaan Kazi
 
PPTX
Open stack + Cloud Foundry: Palo Alto Meetup February 2015
Joshua McKenty
 
PDF
IoT Scale Event-Stream Processing for Connected Fleet at Penske
VMware Tanzu
 
PDF
Spring Cloud Kubernetes: An Easier Path from Idea to Production
VMware Tanzu
 
PDF
Concevoir et déployer vos applications a base de microservices sur Cloud Foundry
VMware Tanzu
 
PDF
It's the End of the Cloud as We Know It
Matt Stine
 
Deploying Microservices to Cloud Foundry
Matt Stine
 
How to Architect and Develop Cloud Native Applications
Sufyaan Kazi
 
Declarative Infrastructure with Cloud Foundry BOSH
cornelia davis
 
What's new in Spring Boot 2.0
VMware Tanzu
 
Building Cloud Native Architectures with Spring
Kenny Bastani
 
Building Distributed Systems with Netflix OSS and Spring Cloud
Matt Stine
 
Goto Berlin - Migrating to Microservices (Fast Delivery)
Adrian Cockcroft
 
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events
VMware Tanzu
 
The journey to DevOps: What I learned after leading transformation at 2 Enter...
VMware Tanzu
 
Pivotal microservices spring_pcf_skillsmatter.pptx
Sufyaan Kazi
 
Dockercon 2015 - Faster Cheaper Safer
Adrian Cockcroft
 
Developers Are Users, Too
VMware Tanzu
 
Manchester geek night pcf 101
Sufyaan Kazi
 
Secrets of Successful Digital Transformers
VMware Tanzu
 
Pivotal spring boot-cloud workshop
Sufyaan Kazi
 
Open stack + Cloud Foundry: Palo Alto Meetup February 2015
Joshua McKenty
 
IoT Scale Event-Stream Processing for Connected Fleet at Penske
VMware Tanzu
 
Spring Cloud Kubernetes: An Easier Path from Idea to Production
VMware Tanzu
 
Concevoir et déployer vos applications a base de microservices sur Cloud Foundry
VMware Tanzu
 
It's the End of the Cloud as We Know It
Matt Stine
 

Viewers also liked (16)

PDF
Agile Development with OSGi
Matt Stine
 
PDF
Gradle起步走: 以CLI Application為例 @ JCConf 2014
Chen-en Lu
 
PPTX
Consumer Driven Contracts for microservices
Reshmi Krishna
 
PDF
Reactive Fault Tolerant Programming with Hystrix and RxJava
Matt Stine
 
PPTX
从玩具到生产 - Cloud Foundry 上海峰会2015年
Duncan Johnston-Watt
 
PDF
Establish The Core of Cloud Computing Application by Using Hazelcast (Chinese)
Joseph Kuo
 
PPTX
台中青商微講堂 2015 雲端工具活用術 by Lala
LaLa Mai
 
PDF
Honey's Data Dinner#13 跨領域專案開發經驗談(User Story Mapping)
beehivedata
 
PDF
我的敏捷测试宣言(Agile Testing Manifesto)
Xudong Yu
 
PDF
Honey's Data Dinner#8 資料科學實用技術、工具與實例分享
beehivedata
 
PPTX
Agile / Scrum
Yiwei Chen
 
PDF
提到 DevOps 到底在談些什麼玩意兒?
Chen Cheng-Wei
 
PDF
困境與轉型:一個小型開發團隊的 DevOps 學習之旅
Chen Cheng-Wei
 
PDF
Resilient Architecture
Matt Stine
 
PDF
Implementing microservices tracing with spring cloud and zipkin (spring one)
Reshmi Krishna
 
PDF
Consumer Driven Contracts and Your Microservice Architecture
Marcin Grzejszczak
 
Agile Development with OSGi
Matt Stine
 
Gradle起步走: 以CLI Application為例 @ JCConf 2014
Chen-en Lu
 
Consumer Driven Contracts for microservices
Reshmi Krishna
 
Reactive Fault Tolerant Programming with Hystrix and RxJava
Matt Stine
 
从玩具到生产 - Cloud Foundry 上海峰会2015年
Duncan Johnston-Watt
 
Establish The Core of Cloud Computing Application by Using Hazelcast (Chinese)
Joseph Kuo
 
台中青商微講堂 2015 雲端工具活用術 by Lala
LaLa Mai
 
Honey's Data Dinner#13 跨領域專案開發經驗談(User Story Mapping)
beehivedata
 
我的敏捷测试宣言(Agile Testing Manifesto)
Xudong Yu
 
Honey's Data Dinner#8 資料科學實用技術、工具與實例分享
beehivedata
 
Agile / Scrum
Yiwei Chen
 
提到 DevOps 到底在談些什麼玩意兒?
Chen Cheng-Wei
 
困境與轉型:一個小型開發團隊的 DevOps 學習之旅
Chen Cheng-Wei
 
Resilient Architecture
Matt Stine
 
Implementing microservices tracing with spring cloud and zipkin (spring one)
Reshmi Krishna
 
Consumer Driven Contracts and Your Microservice Architecture
Marcin Grzejszczak
 
Ad

Similar to Lattice: A Cloud-Native Platform for Your Spring Applications (20)

PPTX
The Cloud Native Journey
VMware Tanzu
 
PDF
Cloud-native Patterns (July 4th, 2019)
Alexandre Roman
 
PDF
Cloud-native Patterns
VMware Tanzu
 
PPTX
The Cloud Native Journey with Simon Elisha
Chloe Jackson
 
PDF
.NET Cloud-Native Bootcamp- Los Angeles
VMware Tanzu
 
PDF
Beyond 12 Factor - Developing Cloud Native Applications
Container Solutions
 
PDF
12 Factor, or Cloud Native Apps - What EXACTLY Does that Mean for Spring Deve...
VMware Tanzu
 
PDF
The Beginner’s Guide To Spring Cloud
VMware Tanzu
 
PDF
.NET Cloud-Native Bootcamp
VMware Tanzu
 
PPTX
"The Cloud Native Enterprise is Coming"
James Watters
 
PDF
Pivotal Cloud Foundry: A Technical Overview
VMware Tanzu
 
PDF
Pivotal Cloud Foundry: A Technical Overview
VMware Tanzu
 
PDF
Modern Software Architecture - Cloud Scale Computing
Giragadurai Vallirajan
 
PDF
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
VMware Tanzu
 
PDF
Success Factors for a Mature Microservices Implementation
Dustin Ruehle
 
PDF
Cloud-Native-Data with Cornelia Davis
VMware Tanzu
 
PDF
Cloud-native Data
cornelia davis
 
PDF
The Need of Cloud-Native Application
Emiliano Pecis
 
PDF
Sre With Java Microservices Patterns For Reliable Microservices In The Enterp...
sharatacosra
 
PDF
Cloud Native In-Depth
Siva Rama Krishna Chunduru
 
The Cloud Native Journey
VMware Tanzu
 
Cloud-native Patterns (July 4th, 2019)
Alexandre Roman
 
Cloud-native Patterns
VMware Tanzu
 
The Cloud Native Journey with Simon Elisha
Chloe Jackson
 
.NET Cloud-Native Bootcamp- Los Angeles
VMware Tanzu
 
Beyond 12 Factor - Developing Cloud Native Applications
Container Solutions
 
12 Factor, or Cloud Native Apps - What EXACTLY Does that Mean for Spring Deve...
VMware Tanzu
 
The Beginner’s Guide To Spring Cloud
VMware Tanzu
 
.NET Cloud-Native Bootcamp
VMware Tanzu
 
"The Cloud Native Enterprise is Coming"
James Watters
 
Pivotal Cloud Foundry: A Technical Overview
VMware Tanzu
 
Pivotal Cloud Foundry: A Technical Overview
VMware Tanzu
 
Modern Software Architecture - Cloud Scale Computing
Giragadurai Vallirajan
 
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
VMware Tanzu
 
Success Factors for a Mature Microservices Implementation
Dustin Ruehle
 
Cloud-Native-Data with Cornelia Davis
VMware Tanzu
 
Cloud-native Data
cornelia davis
 
The Need of Cloud-Native Application
Emiliano Pecis
 
Sre With Java Microservices Patterns For Reliable Microservices In The Enterp...
sharatacosra
 
Cloud Native In-Depth
Siva Rama Krishna Chunduru
 
Ad

More from Matt Stine (19)

PDF
Architectures That Bend but Don't Break
Matt Stine
 
PDF
Cloud Native Architecture Patterns Tutorial
Matt Stine
 
PDF
Cloud Foundry Diego: Modular and Extensible Substructure for Microservices
Matt Stine
 
PDF
Pivotal Cloud Platform Roadshow: Sign Up for Pivotal Web Services
Matt Stine
 
PDF
A Recovering Java Developer Learns to Go
Matt Stine
 
PDF
Cloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
Matt Stine
 
PDF
Vert.x
Matt Stine
 
PDF
Functional solid
Matt Stine
 
PDF
The Seven Wastes of Software Development
Matt Stine
 
PPTX
Information Sciences Solutions to Core Facility Problems at St. Jude Children...
Matt Stine
 
PDF
Achieve Your Goals
Matt Stine
 
KEY
Getting Things Done
Matt Stine
 
PPT
Feelin' Groovy: An Afternoon of Reflexive Metaprogramming
Matt Stine
 
PPT
Java(tm) Technology On Google App Engine
Matt Stine
 
PPT
Deploying Grails to Morph App Space
Matt Stine
 
KEY
JUG Leadership Lessons Learned
Matt Stine
 
KEY
Introduction to JMS and Message-Driven POJOs
Matt Stine
 
KEY
Case Study: SRM 2.0 - A next generation shared resource management system bui...
Matt Stine
 
KEY
Polyglot OSGi
Matt Stine
 
Architectures That Bend but Don't Break
Matt Stine
 
Cloud Native Architecture Patterns Tutorial
Matt Stine
 
Cloud Foundry Diego: Modular and Extensible Substructure for Microservices
Matt Stine
 
Pivotal Cloud Platform Roadshow: Sign Up for Pivotal Web Services
Matt Stine
 
A Recovering Java Developer Learns to Go
Matt Stine
 
Cloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
Matt Stine
 
Vert.x
Matt Stine
 
Functional solid
Matt Stine
 
The Seven Wastes of Software Development
Matt Stine
 
Information Sciences Solutions to Core Facility Problems at St. Jude Children...
Matt Stine
 
Achieve Your Goals
Matt Stine
 
Getting Things Done
Matt Stine
 
Feelin' Groovy: An Afternoon of Reflexive Metaprogramming
Matt Stine
 
Java(tm) Technology On Google App Engine
Matt Stine
 
Deploying Grails to Morph App Space
Matt Stine
 
JUG Leadership Lessons Learned
Matt Stine
 
Introduction to JMS and Message-Driven POJOs
Matt Stine
 
Case Study: SRM 2.0 - A next generation shared resource management system bui...
Matt Stine
 
Polyglot OSGi
Matt Stine
 

Recently uploaded (20)

PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PPTX
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PDF
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 

Lattice: A Cloud-Native Platform for Your Spring Applications

  • 1. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SPRINGONE2GX WASHINGTON, DC Lattice: A Cloud-Native Platform for Your Spring Applications Matt Stine @mstine [email protected]
  • 2. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ I wrote a little cloud book… 2 Available to you compliments of Pivotal! ! Hard copies available at the Pivotal booth. ! Book Signing Wednesday, 4-4:30 PM - Pivotal M4 Lounge ! Get the FREE e-book at http://bit.ly/cloud-native-book!
  • 3. Cloud native applications compose simple patterns with predictable performance, scaling, security and failure characteristics to create solutions to complex problems that can be quickly and flexibly adapted to take advantage of new information.
  • 4. Cloud native applications compose simple patterns with predictable performance, scaling, security and failure characteristics to create solutions to complex problems that can be quickly and flexibly adapted to take advantage of new information.
  • 5. Cloud native applications compose simple patterns with predictable performance, scaling, security and failure characteristics to create solutions to complex problems that can be quickly and flexibly adapted to take advantage of new information.
  • 6. Cloud native applications compose simple patterns with predictable performance, scaling, security and failure characteristics to create solutions to complex problems that can be quickly and flexibly adapted to take advantage of new information.
  • 7. Cloud native applications compose simple patterns with predictable performance, scaling, security and failure characteristics to create solutions to complex problems that can be quickly and flexibly adapted to take advantage of new information.
  • 8. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Some Simple Patterns with Predictable Characteristics • 12 Factor (http://12factor.net) • REST • Pipes and Filters • Service Discovery • Circuit Breakers 8
  • 9. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Cloud Natives with Complex Problems 9 $3.5B valuation Financial Services $3.5B valuation Travel & Hospitality $3.5B valuation Transportation $3.2B Acquisition by Google Home Automation $20B valuation Entertainment $26B valuation Tesla--Automotive $6B $50B $41B $25B $33.5B
  • 10. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Microservices: Quick and Flexible Adaptation 10 Loosely coupled service oriented architecture with bounded contexts If every service has to be updated in concert, it’s not loosely coupled! If you have to know about surrounding services you don’t have a bounded context.
  • 11. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 11 Without taking steps to ensure fault tolerance, 30 dependencies each with 99.99% uptime would result in 2+ hours downtime/month (99.99%30 = 99.7% uptime = 2+ hours downtime in a month). http://techblog.netflix.com/2012/02/fault-tolerance-in-high-volume.html
  • 12. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 12 Build Reliable Systems from Unreliable Components
  • 13. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 13 Continuous Delivery
  • 14. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 14 ContinuousDelivery
  • 15. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 15 ContinuouslyDeliver Day One Day Two and Beyond
  • 16. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Operations is the Secret Sauce 16
  • 17. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ You are going to need a platform. 17
  • 18. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Cloud Native at Your Service 18 Spring Boot The Foundation for Twelve-Factor Apps Spring Cloud The Foundation for Distributed Systems Pivotal Cloud Foundry The Foundation for Containerized Workloads
  • 19. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Let’s Focus on the Elastic Runtime… 19 Pivotal Cloud Foundry The Foundation for Containerized Workloads
  • 20. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 20
  • 21. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What problems does it solve? • role based access to resources • run code on demand • coordinate cross service configurations • route public requests • read and write persistent data • add and remove resources • record internal and external events • isolate resources and failures • measure performance/health • detect and determine failure
 (plan & provoke failure) • recover failures • work tomorrow 21
  • 22. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Diego 22 a distributed system that orchestrates containerized workloads
  • 23. HA Container Execution Nodes HA Container Scheduler and Health Monitor HA Consistent Shared State Diego
  • 24. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What are containers? 24 Resource Isolation • CPU • Memory • I/O CGROUPS Visibility/Access Isolation • pid • net • ipc • mnt NAMESPACES Data Isolation • immutable root layer • immutable child layers • copy on write layer UNION FILE SYSTEM
  • 25. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What is Docker? 25 Docker provides a super easy to grok UX around filesystem image creation and cgroup/namespace orchestration.
  • 26. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 26 Garden API Garden Linux Garden Windows
  • 27. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What do we run in containers? 27 TASKS A Single Unit of Work ! ! Runs at Most Once LRPs N Long Running Instances ! Distributed Across Cells for HA ! Monitored and Restarted
  • 28. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Meet the Receptor 28 Receptor! (API) Desired Tasks Desired LRPs
  • 29. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Desired Task 29 { ... ! "rootfs": "docker:///docker-org/docker-image", "env": [ {"name": "ENV_NAME_A", "value": "ENV_VALUE_A"}, {"name": "ENV_NAME_B", "value": "ENV_VALUE_B"} ], ! "cpu_weight": 57, "disk_mb": 1024, "memory_mb": 128, "privileged": true, ! "action": ACTION(s) TO RUN, ! ... }
  • 30. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Actions • RunAction: run proc in container • DownloadAction: fetches and extract archive • UploadAction: POST file from container to URL • ParallelAction: run multiple actions in parallel • SerialAction: runs multiple actions in order • EmitProgressAction: wraps action and logs progress • TimeoutAction: wrap action and fail if timed out • TryAction: wrap action and ignore errors 30
  • 31. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Desired LRP 31 { ... "instances": 17, "rootfs": "VALID-ROOTFS", "env": [ {"name": "ENV_NAME_A", "value": "ENV_VALUE_A"}, {"name": "ENV_NAME_B", "value": "ENV_VALUE_B"} ], "cpu_weight": 57, "disk_mb": 1024, "memory_mb": 128, "privileged": true, "setup": ACTION, "action": ACTION, "monitor": ACTION, "start_timeout": N seconds, "ports": [8080, 5050], ... }
  • 32. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Meet the BBS 32 Receptor! (API) Desired Tasks Desired LRPs BBS Desired ! Work
  • 33. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Let’s Have an Auction 33 Receptor! (API) Desired Tasks Desired LRPs BBS Desired ! Work Auctioneer Rep Rep Rep Desired Work
  • 34. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Let’s Have an Auction 34 Receptor! (API) Desired Tasks Desired LRPs BBS Desired ! Work Auctioneer Rep Rep Rep Collect Bids
  • 35. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Let’s Have an Auction 35 Receptor! (API) Desired Tasks Desired LRPs BBS Desired ! Work Auctioneer Rep Rep Rep Score and Choose Winner
  • 36. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Inside the Cell 36 Rep! ! Tasks & LRPs Run ! Action Executor! ! Actions Garden! ! Containers (Platform Independent) Garden! Linux! ! Containers (Linux) Run ! Container Run ! Linux Container
  • 37. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Specificity Gradient 37 Rep! ! Tasks & LRPs Executor! ! Actions Garden! ! Containers (Platform Independent) Garden! Linux! ! Containers (Linux)
  • 38. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ REPresenting the Actual Work 38 Receptor! (API) Desired Tasks Desired LRPs BBS Desired ! Work Auctioneer Rep Rep Rep Actual Work
  • 39. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What is the Truth? 39 BBS Desired State Actual State Events EventsPolling Polling ConvergerRep STOP THAT! Auctioneer START THAT!
  • 40. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ With a BOSH under the hood… 40 http://bosh.io
  • 41. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What problems does it solve? • for a large distributed system • deployment • configuration changes • updates/upgrades - minimal downtime • health checks and remediation • scale out/scale in • across multiple IaaS 41
  • 42. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Deploying Cloud Foundry is HARD… 42
  • 43. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ ENTER THE LATTICE 43 http://lattice.cf
  • 44. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 44 THIS IS LATTICE
  • 45. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ How do I get a Lattice? 45 A Single VM Cluster using Vagrant vagrant up A Multi-VM Cluster using Terraform on: • AWS • Google • DigitalOcean • OpenStack terraform apply
  • 47. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 47
  • 48. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ We need a catalyst… 48
  • 51. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ • Multi-tenancy with resource quotas • Role-based access control • Application security groups • Highly-available components • Zero-downtime, rolling upgrades • Backing data service orchestration 51 • Single-tenant
 • Everyone is “cluster root” • Wide-open networking • Not all components HA • Red-Black upgrades • No data services vs.
  • 52. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 52 David Wadden Lattice Product Manager
  • 53. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 53 Matt Stine (@mstine / [email protected]) ! Developer Experience with Spring Cloud (Tuesday 12:45 PM - Salon E-H) Spring XD Today and Tomorrow (Tuesday 12:45 PM - Salon N-P) Message-Driven Microservices in the Cloud (Tuesday 4:30 PM - Salon E-H) Cloud Native Data Flow Orchestration (Wednesday 8 AM - Salon N-P) Learn More. Stay Connected. @springcentral Spring.io/video