Cross platform native development with appcelerator titanium (2014 devnexus)
Lattice: A Cloud-Native Platform for Your Spring Applications
-
Upload
matt-stine -
Category
Software
-
view
1.691 -
download
1
Transcript of Lattice: A Cloud-Native Platform for Your Spring Applications
![Page 1: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/1.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
SPRINGONE2GXWASHINGTON, DC
Lattice: A Cloud-Native Platform for Your Spring Applications
Matt Stine @mstine
![Page 2: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/2.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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!
![Page 3: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/3.jpg)
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.
![Page 4: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/4.jpg)
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.
![Page 5: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/5.jpg)
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.
![Page 6: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/6.jpg)
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.
![Page 7: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/7.jpg)
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.
![Page 8: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/8.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
Some Simple Patterns with Predictable Characteristics
• 12 Factor (http://12factor.net) • REST • Pipes and Filters • Service Discovery • Circuit Breakers
8
![Page 9: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/9.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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
![Page 10: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/10.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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.
![Page 11: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/11.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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
![Page 12: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/12.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 12
Build Reliable Systems from
Unreliable Components
![Page 13: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/13.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 13
Continuous Delivery
![Page 14: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/14.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 14
ContinuousDelivery
![Page 15: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/15.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 15
ContinuouslyDeliverDay One Day Two and Beyond
![Page 16: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/16.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
Operations is the Secret Sauce
16
![Page 17: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/17.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
You are going to need a platform.
17
![Page 18: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/18.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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
![Page 19: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/19.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
Let’s Focus on the Elastic Runtime…
19
Pivotal Cloud Foundry
The Foundation for
Containerized Workloads
![Page 20: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/20.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 20
![Page 21: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/21.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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
![Page 22: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/22.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
Diego
22
a distributed system that orchestrates containerized workloads
![Page 23: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/23.jpg)
HA Container Execution Nodes
HA Container Scheduler
and Health Monitor
HA Consistent Shared State
Diego
![Page 24: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/24.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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
![Page 25: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/25.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
What is Docker?
25
Docker provides a super easy to grok UX around filesystem image creation and
cgroup/namespace orchestration.
![Page 26: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/26.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 26
Garden API
Garden Linux Garden Windows
![Page 27: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/27.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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
![Page 28: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/28.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
Meet the Receptor
28
Receptor!(API)
Desired Tasks
Desired LRPs
![Page 29: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/29.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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, ! ... }
![Page 30: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/30.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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
![Page 31: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/31.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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], ... }
![Page 32: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/32.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
Meet the BBS
32
Receptor!(API)
Desired Tasks
Desired LRPs
BBSDesired !
Work
![Page 33: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/33.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
Let’s Have an Auction
33
Receptor!(API)
Desired Tasks
Desired LRPs
BBSDesired !
Work
Auctioneer
Rep Rep Rep
Desired Work
![Page 34: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/34.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
Let’s Have an Auction
34
Receptor!(API)
Desired Tasks
Desired LRPs
BBSDesired !
Work
Auctioneer
Rep Rep Rep
Collect Bids
![Page 35: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/35.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
Let’s Have an Auction
35
Receptor!(API)
Desired Tasks
Desired LRPs
BBSDesired !
Work
Auctioneer
Rep Rep Rep
Score and Choose Winner
![Page 36: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/36.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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
![Page 37: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/37.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
Specificity Gradient
37
Rep!!Tasks
& LRPs
Executor!!Actions
Garden!!Containers (Platform
Independent)
Garden!Linux!!
Containers (Linux)
![Page 38: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/38.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
REPresenting the Actual Work
38
Receptor!(API)
Desired Tasks
Desired LRPs
BBSDesired !
Work
Auctioneer
Rep Rep Rep
Actual Work
![Page 39: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/39.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
What is the Truth?
39
BBSDesired State
Actual State
Events EventsPolling Polling
ConvergerRepSTOP THAT! Auctioneer
START THAT!
![Page 40: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/40.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
With a BOSH under the hood…
40
http://bosh.io
![Page 41: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/41.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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
![Page 42: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/42.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
Deploying Cloud Foundry is HARD…
42
![Page 43: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/43.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
ENTER THE LATTICE
43
http://lattice.cf
![Page 44: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/44.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 44
THIS IS LATTICE
![Page 45: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/45.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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
![Page 46: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/46.jpg)
![Page 47: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/47.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 47
![Page 48: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/48.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/
We need a catalyst…
48
![Page 49: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/49.jpg)
![Page 50: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/50.jpg)
![Page 51: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/51.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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.
![Page 52: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/52.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 52
David Wadden Lattice Product Manager
![Page 53: Lattice: A Cloud-Native Platform for Your Spring Applications](https://reader031.fdocuments.us/reader031/viewer/2022022202/587b3c351a28ab9c0e8b4cd9/html5/thumbnails/53.jpg)
Unless otherwise indicated, these s l ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/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