Download - Deploying and Testing Microservices
![Page 1: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/1.jpg)
TESTING & DEPLOYING MICROSERVICESSam Newman Flowcon, September 2014
1
![Page 2: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/2.jpg)
@samnewman@flowconsf
Accounts
Returns
Invoicing
Shipping
Inventory
Customer Service
![Page 3: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/3.jpg)
@samnewman@flowconsf
Accounts
Returns
Invoicing
Shipping
Inventory
Customer Service
Focused around a business domain
![Page 4: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/4.jpg)
@samnewman@flowconsf
Accounts
Returns
Invoicing
Shipping
Inventory
Customer Service
Focused around a business domain
Technology Agnostic API
![Page 5: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/5.jpg)
@samnewman@flowconsf
Accounts
Returns
Invoicing
Shipping
Inventory
Customer Service
Focused around a business domain
Technology Agnostic API
Small
![Page 6: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/6.jpg)
@samnewman@flowconsf
Independently Releasable
![Page 7: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/7.jpg)
@samnewman@flowconsf
Testing
Deployment
![Page 8: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/8.jpg)
@samnewman@flowconsf
Host
Service
![Page 9: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/9.jpg)
@samnewman@flowconsf
Host
Service
Host
Service Service
Service Service
VS
![Page 10: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/10.jpg)
@samnewman@flowconsf
Host
Service
Host
Service Service
Service Service
Much Easier To Reason About
VS
![Page 11: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/11.jpg)
@samnewman@flowconsf
Host
Service
Host
Service Service
Service Service
Much Easier To Reason About
Easier To Provision
VS
![Page 12: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/12.jpg)
@samnewman@flowconsf
Host
Service
Host
Service Service
Service Service
Much Easier To Reason About
Easier To Provision
Fewer Side-effects
VS
![Page 13: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/13.jpg)
@samnewman@flowconsf
Host
Service
Host
Service Service
Service Service
Much Easier To Reason About
Easier To Provision
Fewer Side-effects
VS
Enforces Interdependence
![Page 14: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/14.jpg)
@samnewman@flowconsf
Host
Service
Host
Service Service
Service Service
Much Easier To Reason About
Easier To Provision
Fewer Side-effectsLower host-management overhead
VS
Enforces Interdependence
![Page 15: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/15.jpg)
@samnewman@flowconsf
Host
Service
Host
Service Service
Service Service
Much Easier To Reason About
Easier To Provision
Fewer Side-effectsCheaper!
Lower host-management overhead
VS
Enforces Interdependence
![Page 16: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/16.jpg)
@samnewman@flowconsf
Reducing Host Management Overhead?
![Page 17: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/17.jpg)
@samnewman@flowconsf
API-driven Host Provisioning
![Page 18: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/18.jpg)
@samnewman@flowconsf
Virtualisation Platforms
![Page 19: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/19.jpg)
@samnewman@flowconsf
VMWare
Virtualisation Platforms
![Page 20: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/20.jpg)
@samnewman@flowconsf
VMWareAWS
Digital Ocean
Virtualisation Platforms
![Page 21: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/21.jpg)
@samnewman@flowconsf
Step 0: Provision Host
![Page 22: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/22.jpg)
@samnewman@flowconsf
Step 0: Provision Host
Step 1: Configure Host
![Page 23: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/23.jpg)
@samnewman@flowconsf
Step 0: Provision Host
Step 2: Install Service
Step 1: Configure Host
![Page 24: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/24.jpg)
@samnewman@flowconsf
Step 0: Provision Host
Step 2: Install Service
Step 1: Configure Host
![Page 25: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/25.jpg)
@samnewman@flowconsf
![Page 26: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/26.jpg)
@samnewman@flowconsf
Ansible
Puppet
Chef
![Page 27: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/27.jpg)
@samnewman@flowconsf
Ansible
Puppet
Chef
![Page 28: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/28.jpg)
@samnewman@flowconsf
Ansible
Puppet
Chef
AWS
Digital Ocean
OpenStack
VMWare
![Page 29: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/29.jpg)
@samnewman@flowconsf
Ansible
Puppet
Chef
AWS
Digital Ocean
OpenStack
VMWare
Vagrant
![Page 30: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/30.jpg)
@samnewman@flowconsf
Ansible
Puppet
Chef
AWS
Digital Ocean
OpenStack
VMWare
Vagrant
Immutable Servers
![Page 31: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/31.jpg)
@samnewman@flowconsf
Ansible
Puppet
Chef
AWS
Digital Ocean
OpenStack
VMWare
Vagrant
Immutable Servers
Fast Spin-up
![Page 32: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/32.jpg)
@samnewman@flowconsf
Ansible
Puppet
Chef
AWS
Digital Ocean
OpenStack
VMWare
Vagrant
Immutable Servers
Fast Spin-up
Provider Agnostic
![Page 33: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/33.jpg)
@samnewman@flowconsf
Ansible
Puppet
Chef
AWS
Digital Ocean
OpenStack
VMWare
Vagrant
Immutable Servers
Fast Spin-up
Provider Agnostic
Feedback Can Suffer
![Page 34: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/34.jpg)
@samnewman@flowconsf
Ansible
Puppet
Chef
AWS
Digital Ocean
OpenStack
VMWare
Vagrant
Immutable Servers
Fast Spin-up
Provider Agnostic
Feedback Can Suffer
Cycle Time
![Page 35: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/35.jpg)
@samnewman@flowconsf
Immutable Servers
![Page 36: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/36.jpg)
@samnewman@flowconsf
Cost?
![Page 37: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/37.jpg)
@samnewman@flowconsf
Machine
Base OS
Hypervisor
VM
OS
Apps
VM
OS
Apps
VM
OS
Apps
![Page 38: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/38.jpg)
@samnewman@flowconsf
Machine
Base OS
Hypervisor
VM
OS
Apps
VM
OS
Apps
VM
OS
Apps
Expensive!
![Page 39: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/39.jpg)
@samnewman@flowconsf
![Page 40: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/40.jpg)
@samnewman@flowconsf
![Page 41: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/41.jpg)
@samnewman@flowconsf
DOCKER
![Page 42: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/42.jpg)
@samnewman@flowconsf
DOCKER
Machine
![Page 43: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/43.jpg)
@samnewman@flowconsf
DOCKER
Machine
Base OS
![Page 44: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/44.jpg)
@samnewman@flowconsf
DOCKER
Machine
Base OS
Docker
![Page 45: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/45.jpg)
@samnewman@flowconsf
DOCKER
Machine
Base OS
Docker
Apps
![Page 46: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/46.jpg)
@samnewman@flowconsf
DOCKER
Machine
Base OS
Docker
Apps Apps
![Page 47: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/47.jpg)
@samnewman@flowconsf
DOCKER
Machine
Base OS
Docker
Apps Apps Apps
![Page 48: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/48.jpg)
@samnewman@flowconsf
DOCKER
Machine
Base OS
Docker
Apps Apps Apps
Docker Image Registry
![Page 49: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/49.jpg)
@samnewman@flowconsf
DOCKER
Machine
Base OS
Docker
Apps Apps Apps
Docker Image Registry
![Page 50: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/50.jpg)
@samnewman@flowconsf
DOCKER
Machine
Base OS
Docker
Apps Apps Apps
Docker Image Registry
![Page 51: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/51.jpg)
@samnewman@flowconsf
![Page 52: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/52.jpg)
@samnewman@flowconsf
![Page 53: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/53.jpg)
@samnewman@flowconsf
Semi-permanent Servers
![Page 54: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/54.jpg)
@samnewman@flowconsf
Semi-permanent Servers
Image-based Deployments
![Page 55: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/55.jpg)
@samnewman@flowconsf
Semi-permanent Servers
Image-based Deployments
Docker
![Page 56: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/56.jpg)
@samnewman@flowconsf
Testing
![Page 57: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/57.jpg)
@samnewman@flowconsf
The Monolith
DB
![Page 58: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/58.jpg)
@samnewman@flowconsf
The Monolith
DB
![Page 59: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/59.jpg)
@samnewman@flowconsf
The Monolith
DB
![Page 60: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/60.jpg)
@samnewman@flowconsf
The Monolith
DB
![Page 61: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/61.jpg)
@samnewman@flowconsf
InventoryAccounts
Returns
Invoicing
Shipping
Customer Service
![Page 62: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/62.jpg)
@samnewman@flowconsf
InventoryAccounts
Returns
Invoicing
Shipping
Customer Service
Inventory
![Page 63: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/63.jpg)
@samnewman@flowconsf
InventoryAccounts
Returns
Invoicing
Shipping
Customer Service
Inventory
![Page 66: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/66.jpg)
@samnewman@flowconsf
Shipping
InventoryAccounts
Returns
Invoicing
Customer Service
![Page 67: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/67.jpg)
@samnewman@flowconsf
Shipping
InventoryAccounts
Returns
Invoicing
Customer Service
![Page 68: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/68.jpg)
@samnewman@flowconsf
Shipping
InventoryAccounts
Returns
Invoicing
Customer Service
![Page 69: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/69.jpg)
@samnewman@flowconsf
Shipping
InventoryAccounts
Returns
Invoicing
Customer Service
![Page 70: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/70.jpg)
@samnewman@flowconsf
Shipping
InventoryAccounts
Returns
Invoicing
Customer Service
![Page 71: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/71.jpg)
@samnewman@flowconsf
![Page 72: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/72.jpg)
@samnewman@flowconsf
Browsers
![Page 73: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/73.jpg)
@samnewman@flowconsf
Timing
Browsers
![Page 74: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/74.jpg)
@samnewman@flowconsf
Provisioning of Environments
Timing
Browsers
![Page 75: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/75.jpg)
@samnewman@flowconsf
Provisioning of Environments
Networks
Timing
Browsers
![Page 76: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/76.jpg)
@samnewman@flowconsf
Deployment
Provisioning of Environments
Networks
Timing
Browsers
![Page 77: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/77.jpg)
@samnewman@flowconsf
Deployment
Provisioning of Environments
Networks
Timing
Browsers Diagnosis
![Page 78: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/78.jpg)
@samnewman@flowconsf
Shipping Inventory
CONSUMER-DRIVEN CONTRACTS
![Page 79: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/79.jpg)
@samnewman@flowconsf
Expectations
Shipping Inventory
CONSUMER-DRIVEN CONTRACTS
![Page 80: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/80.jpg)
@samnewman@flowconsf
Expectations
Shipping Inventory
CONSUMER-DRIVEN CONTRACTS
![Page 81: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/81.jpg)
@samnewman@flowconsf
Expectations
Prod
Shipping Inventory
CONSUMER-DRIVEN CONTRACTS
![Page 82: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/82.jpg)
@samnewman@flowconsf
Expectations
Prod
Shipping Inventory
CONSUMER-DRIVEN CONTRACTS
![Page 83: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/83.jpg)
@samnewman@flowconsf
![Page 84: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/84.jpg)
@samnewman@flowconsf
https://github.com/realestate-com-au/pact
![Page 85: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/85.jpg)
@samnewman@flowconsf
No Integration Tests?
![Page 86: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/86.jpg)
@samnewman@flowconsf
Journeys
![Page 87: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/87.jpg)
@samnewman@flowconsf
Testing
![Page 88: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/88.jpg)
@samnewman@flowconsf
Testing
S/M TestsBuild Large Tests
![Page 89: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/89.jpg)
@samnewman@flowconsf
Testing
S/M TestsBuild Large Tests
![Page 90: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/90.jpg)
@samnewman@flowconsf
Testing
S/M TestsBuild Large Tests Production
![Page 91: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/91.jpg)
@samnewman@flowconsf
Testing
S/M TestsBuild Large Tests Production
Monitoring & Alerting
![Page 92: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/92.jpg)
@samnewman@flowconsf
Testing
S/M TestsBuild Large Tests Production
Monitoring & Alerting
Testers
![Page 93: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/93.jpg)
@samnewman@flowconsf
Testing
S/M TestsBuild Large Tests Production
Monitoring & Alerting
Testers Operations
![Page 94: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/94.jpg)
@samnewman@flowconsf
Monitoring & AlertingTesting
![Page 95: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/95.jpg)
@samnewman@flowconsf
Prod
Prod
Prod
Prod
![Page 96: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/96.jpg)
@samnewman@flowconsf
Prod
Prod
Prod
Prod
QA
![Page 97: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/97.jpg)
@samnewman@flowconsf
Monitoring & Alerting
Testing
![Page 98: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/98.jpg)
@samnewman@flowconsf
Monitoring & Alerting
Testing
![Page 99: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/99.jpg)
@samnewman@flowconsf
Monitoring & Alerting
Testing
![Page 100: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/100.jpg)
@samnewman@flowconsf
Monitoring & Alerting
Testing
![Page 101: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/101.jpg)
@samnewman@flowconsf
![Page 102: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/102.jpg)
@samnewman@flowconsf
![Page 103: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/103.jpg)
@samnewman@flowconsf
SEMANTIC MONITORING
![Page 104: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/104.jpg)
@samnewman@flowconsfhttps://www.flickr.com/photos/robdray/3138644233
![Page 105: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/105.jpg)
@samnewman@flowconsf
Testing
Deployment
![Page 106: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/106.jpg)
@samnewman@flowconsf
Testing
Deployment
One-server per host
![Page 107: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/107.jpg)
@samnewman@flowconsf
Testing
Deployment
One-server per host
Image/docker based artefacts
![Page 108: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/108.jpg)
@samnewman@flowconsf
Testing
Deployment
One-server per host Immutable ServersImage/docker
based artefacts
![Page 109: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/109.jpg)
@samnewman@flowconsf
Testing
Pre-Release Validation
Consumer-driven Contracts
Single-server Tests
Journey Tests
Deployment
One-server per host Immutable ServersImage/docker
based artefacts
![Page 110: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/110.jpg)
@samnewman@flowconsf
Testing
Post-Release Validation
Semantic Monitoring
Pre-Release Validation
Consumer-driven Contracts
Single-server Tests
Journey Tests
Deployment
One-server per host Immutable ServersImage/docker
based artefacts
![Page 111: Deploying and Testing Microservices](https://reader031.vdocuments.us/reader031/viewer/2022020105/545ccdb8af7959b9098b498e/html5/thumbnails/111.jpg)
37
Sam Newman
Building MicroservicesDESIGNING FINE-GRAINED SYSTEMS